SDDM on multiple monitors, duplicated display, incorrect layout and incorrect focus issues

For anyone who wants what I wanted–SDDM to only appear on 1 monitor, here you go. It’s my current config:

/etc/sddm.conf

[Autologin]
Relogin=false
Session=
User=

[General]
DisplayServer=x11
GreeterEnvironment=
HaltCommand=/usr/bin/systemctl poweroff
InputMethod=qtvirtualkeyboard
Namespaces=
Numlock=on
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=Sweet
DisableAvatarsThreshold=7
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
ThemeDir=/usr/share/sddm/themes
CursorTheme=default
Font=Fira Sans,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1

[Users]
DefaultPath=/usr/local/bin:/usr/bin:/bin
HideShells=
HideUsers=
MaximumUid=60000
MinimumUid=1000
RememberLastSession=true
RememberLastUser=true
ReuseSession=true

[Wayland]
CompositorCommand=weston --shell=kiosk
EnableHiDPI=true
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions
SessionLogFile=.local/share/sddm/wayland-session.log

[X11]
DisplayCommand=/usr/share/sddm/scripts/Xsetup
DisplayStopCommand=/usr/share/sddm/scripts/Xstop
EnableHiDPI=true
ServerArguments=-dpi 120
ServerPath=/usr/bin/X
SessionCommand=/usr/share/sddm/scripts/Xsession
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions
SessionLogFile=.local/share/sddm/xorg-session.log
XephyrPath=/usr/bin/Xephyr

To configure SDDM to your liking, go to this link:
https://wiki.archlinux.org/title/SDDM

And here’s the other:
/usr/share/sddm/scripts/Xsetup

xrandr --output DisplayPort-0 --primary
xrandr --output DisplayPort-1 --off

To find your monitor name, log into an Xorg session and do the following command: xrandr | grep " connected " | awk '{ print$1 }'

If this isn’t to your liking, you can find how to configure your displays here:
https://wiki.archlinux.org/title/Xrandr

2 Likes