Open jeremyjjbrown opened 7 months ago
I'm having the exact same problem. What is arandr doing that xrandr is unable to do?
After a little experimenting, The difference that arandr does that the saved xrandr scripts do not is xrandr -q
Apparently that command must be performed before any modes are available to xrandr
If you edit the saved scripts and place xrandr -q >/dev/null
before the xrandr commend arandr produces it worked for me,
#!/bin/sh
xrandr -q > /dev/null # <= Add this
xrandr --output eDP-1 --off --output DP-1 --off --output HDMI-1 --off --output HDMI-2 --mode 3440x1440 --pos 0x0 --rotate normal --output DP-2 --off --output DP-3 --off --output DP-4 --off --output DP-1-0 --off --output DP-1-1 --off
OS: Ubuntu 22.04 DE: XFCE with i3 as WM arandr: 0.1.10 xrandr program version 1.5.1 Server reports RandR version 1.6
Screens can be set with arandr but the screenlayout sh script errors