I have 2 monitors.
Primary is a PL2730H (center)
Secondary is a L227W (right)
I am using Plasma/KDE/kwin/Wayland
Code: Select all
xrandr | grep -w connected
HDMI-A-2 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm
DP-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mmBut at login with sddm the secondary monitor (L227W) is always the one I have to type my passwort in.
As explained on the wiki I created the file in /etc/sddm/scripts/Xsetup
https://wiki.gentoo.org/wiki/SDDM#Multi ... figuration
Code: Select all
#!/bin/sh
# Xsetup - run as root before the login dialog appears
# ...
# First, set DP-3 as primary
xrandr --output DP-3 --auto --primary
# Second, HDMI-A-2 will be placed on right of DP-3
xrandr --output HDMI-A-2 --right-of DP-3 --noprimary
Code: Select all
ls X*
-rw-r--r-- 1 root root 245 7. Feb 21:45 XsetupCode: Select all
lspci | grep GA102
2b:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1)
2b:00.1 Audio device: NVIDIA Corporation GA102 High Definition Audio Controller (rev a1)


