The login screen has the wrong rotation(portrait). After I log in the rotation is like it should be (landscape).
Where/how do I change the screen rotation of the login screen for kubuntu sddm?
I am using ubuntu 20.04.
The login screen has the wrong rotation(portrait). After I log in the rotation is like it should be (landscape).
Where/how do I change the screen rotation of the login screen for kubuntu sddm?
I am using ubuntu 20.04.
xrandr --output screen --rotate rotation
to /usr/share/sddm/scripts/Xsetup
file where:
xrandr
command to find your screen name)/etc/sddm.conf.d
, create a file ended with .conf (e.g. login-screen.conf). Add following lines to the config file:[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
xrandr
on the system? Pure Wayland as example.
Open the file at /usr/share/sddm/scripts/Xsetup and add
xrandr -o left
or xrandr -o right
, depending on how your screen is oriented.
Now open the file at /var/lib/sddm/state.conf
and add these lines:
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
Log out and enjoy your now correctly rotated login screen.
Building on top of @DevShot's response
This is the same:
Open the file at /usr/share/sddm/scripts/Xsetup
and add one of these lines depending on how your screen is rotated:
xrandr -o left
or
xrandr -o right
Then add the lines below to the end of /var/lib/sddm/state.conf
:
[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
/var/lib/sddm/state.conf
path. I noticed just now that this was completely missing from my original answer. I've added this to my old response as well to not mislead any potential readers of the original post.
Commented
Aug 3, 2022 at 13:58