You are not logged in.
I know that i need to have the xrandr command in /usr/share/sddm/scripts/xsetup
My desired outcome is to set my HDMI-A1 to be mirrored to my DVI-D-1 when the SDDM Login screen is shown i have put this command in the Xstartup script but it didn't work so I tried to run the command normally and get and error message Ive tried searching reddit and google as well as looking at the wiki for the xrandr command but cant find a way to stop the error from throwing or get my desired outcome.
Command put inside the Xsetup:
xrandr --output HDMI-A-1 --auto --primary --output DVI-D-1 --auto --same-as HDMI-A-1
Output when run in normal terminal:
xrandr --output HDMI-A-1 --auto --primary --output DVI-D-1 --auto --same-as HDMI-A-1
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 28
Current serial number in output stream: 29
xrandr settings for my 2 monitors showing both are connected:
Screen 0: minimum 16 x 16, current 2726 x 768, maximum 32767 x 32767
DVI-D-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
1366x768 59.62*+
1024x768 59.68
800x600 59.47
640x480 59.38
320x240 59.52
1152x720 59.75
960x600 59.63
928x580 59.53
800x500 59.50
768x480 59.38
720x480 59.71
640x400 59.20
320x200 58.96
1280x720 59.65
1024x576 59.58
864x486 59.45
720x400 59.55
640x350 58.91
HDMI-A-1 connected 1360x768+1366+0 (normal left inverted right x axis y axis) 720mm x 420mm
1360x768 59.80*+
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
1152x720 59.97
960x600 59.96
928x580 59.88
800x500 59.50
768x480 59.90
720x480 59.71
640x400 59.95
320x200 58.96
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77
Offline