How to change monitor layout and orientation in SDDM?

Edit these 2 files, if not exist create them. Note that DP-2 and DP-4 are examples. Find out which port your monitor connecting to by running xrandr. If rotate right is not right then change to left.

/usr/share/sddm/scripts/Xsetup

xrandr --output DP-2 --mode 3840x2160 --rotate right --auto --noprimary --output DP-4 --mode 2560x1440 --rotate normal --auto --primary

When you change to 2k Ultrawide

xrandr --output DP-2 --mode 3840x2160 --rotate right --auto --noprimary --output DP-4 --mode 3440x1440 --rotate normal --auto --primary

/etc/sddm.conf

[XDisplay]
# Xsetup script path
# A script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

For wallpaper open settings and search SDDM.

4 Likes