You are not logged in.
Pages: 1
Solved
As root
in /etc/default/nano grub
Append "fbcon=rotate:3" to GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=ext4 fbcon=rotate:3"
updated grub config.
grub-mkconfig -o /boot/grub/grub.cfg
reboot
Hello,
I've been running Hyprland in portrait mode but my login screen (Lemurs) and grub is still set to landscape mode. I was wondering if there is a convenient way to have the default screen orientation be set to portrait mode. I've seen people say to use xrandr, append fbcon to grub, or modify Xorg config but the posts I have found where never really clear exactly how to go about that.
I am also a bit confused about the difference between Wayland and Xorg. If I am running Hyprland, would I not therefore be running wayland instead of Xorg? I know Xorg was historically the standard and Wayland was designed to be a replacement. So would this configuration setting in a Wayland config file somewhere? Would this be a change I make somewhere in my Graphics card drivers(intel B580)? Would this be a change to the kernel(if I am using the term correctly)?
Please let me know what other information I need, or if I am just misunderstanding how displays work in linux.
I feel like I am missing or misunderstanding a base fundamental assumption here.
P.S. Any book/text recommendations for learning the fundamentals? Especially any that also dive into the historical origins of words/commands/abbreviations?
Last edited by Birdocalypse (2025-05-27 03:48:12)
Offline
Offline
What do you mean by this?
https://www.kernel.org/doc/Documentation/fb/modedb.rst
"video=rotate=90" or "video=rotate=270", depending on which side of your neck hurts more.
What is modedb.rst? is this something I need to install? Is this a file somewhere? where would I put the line "Video=rotate=90"? What does it mean by frame buffer? What is a frame buffer device? What is a video mode database? What is <bpp>?
Last edited by Birdocalypse (2025-05-22 17:12:39)
Offline
The link explains the underlying mechanism. The video=rotate=90 params would be added to your https://wiki.archlinux.org/title/Kernel_parameters by configuring your bootloader appropriately
As for the other questions in your opening post. Since you're worried about the Linux Console (and since lemurs is a TUI, it will inherit this config) You need to rotate the framebuffer of the linux console. When hyprland takes over, it will allocate it's own framebuffer and the config you set for the linux framebuffer largely irrelevant.
Last edited by V1del (2025-05-22 18:10:50)
Offline
The linked thread also points out that the particular parameter doesn't work and suggest to go w/ the fbcon rotation.
Offline
Okay, so I think I got it, However Grub is still sideways.
Here is what I did
As root
in /etc/default/
nano grub
Append "fbcon=rotate:3" to GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX="zswap.enabled=0 rootfstype=ext4 fbcon=rotate:3"
updated grub config.
grub-mkconfig -o /boot/grub/grub.cfg
reboot
Last edited by Birdocalypse (2025-05-22 20:54:14)
Offline
As pointed out in that thread: you'll have to patch grub to get it to rotate (completely unvetted and untested)
The simple config is eplained in https://www.gnu.org/software/grub/manua … figuration
Offline
So trying to rotate grub is a bit more involved. Rotating the cmd line and login screen was the important bit. Thanks for the help!
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1