User Tools

Site Tools


linux:x:monitororder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:x:monitororder [2023/03/04 08:42] olaflinux:x:monitororder [2025/08/31 13:11] (current) – Added difference X11 Wayland olaf
Line 1: Line 1:
 ===== Multiple monitor setup correct login screen order ===== ===== Multiple monitor setup correct login screen order =====
-In a multi-monitor configuration, the order of the monitors might be different on the logon screen and KDE Plasma (Wayland).+In a multi-monitor configuration, the order of the monitors might be different on the logon screen and KDE Plasma (Wayland).\\
  
-To correct this first find the configuration on the desktop: +The configuration in Debian 13 Trixie is even a little more tricky:\\ 
-<code bash>xrandr |grep connected</code> +while SDDM is running in a X11 session, you might want to run the desktop session in Wayland.\\ 
-<code>DisplayPort-0 connected primary 3840x1600+3840+177 (normal left inverted right x axis y axis) 880mm x 367mm +xrandr might use different output device names in X11 and Wayland.\\ 
-DisplayPort-1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 607mm x 345mm + 
-DisplayPort-2 disconnected (normal left inverted right x axis y axis) +== X11 ==
-HDMI-A-0 disconnected (normal left inverted right x axis y axis)</code>+
  
-DisplayPort-0 is the right monitor\\ 
-DisplayPort-1 is the left monitor\\ 
-DisplayPort-2 and HDMI-A-0 are not connected\\ 
-This information can be used to correct the SDDM configuration in ''/usr/share/sddm/scripts/Xsetup''. At the end of the script add: 
 <code bash> <code bash>
-xrandr --output DisplayPort-2 --off --output HDMI-A-0 --off +xrandr | grep -w connected
-xrandr --output DisplayPort-1 --mode 3840x2160 --pos 0x0 --rotate normal --output DisplayPort-0 --mode 3840x1600 --pos 3840x177 --rotate normal </code>+
  
 +DP-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
 +DP-4 connected primary 3440x1440+2560+0 (normal left inverted right x axis y axis) 797mm x 333mm
 +</code>
 +== Wayland ==
 +<code bash>
 +xrandr | grep -w connected
  
 +DP-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
 +DP-3 connected primary 3440x1440+2560+0 (normal left inverted right x axis y axis) 797mm x 333mm
 +
 +</code>
 +
 +To correct the monitor configuration first find the configuration on the desktop, but ensure you started the desktop session with Plasma (X11) not Plasma (Wayland).
 +Open a bash as user and run:
 +<code bash>
 +xrandr | grep -w connected
 +</code>
 +<code>
 +DP-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
 +DP-4 connected primary 3440x1440+2560+0 (normal left inverted right x axis y axis) 797mm x 333mm
 +</code>
 +
 +DP-2 is the left monitor\\
 +DP-4 is the right monitor\\
 +
 +This information can be used to correct the SDDM configuration in ''/usr/share/sddm/scripts/Xsetup''. At the end of the script add:
 +<code bash>
 +xrandr --output DP-2 --mode 2560x1440 --pos 0x0 --rotate normal --output DP-4 --mode 3440x1440 --pos 2560x0 --rotate normal
 +</code>
 +
 +Ensure /etc/sddm.conf.d/kde_settings.conf and /etc/sddm.conf contain:\\
 +<code bash>
 +[X11]
 +Xsetup=/usr/share/sddm/scripts/Xsetup
 +</code>
  
  
linux/x/monitororder.1677919327.txt.gz · Last modified: by olaf