Fixed!
All I had to do was to use startx instead of starting Xorg in the script. startx must do some magic in the background as xrandr works properly now. Here's the complete script:
All I had to do was to use startx instead of starting Xorg in the script. startx must do some magic in the background as xrandr works properly now. Here's the complete script:
Code:
#!/bin/bash##startx &#/usr/bin/Xorg vt7 -s 0 -retro &sleep 2export DISPLAY=:0xrandr --verbose --output DSI-1 --crtc 2 --primary --dpi 212 --rotate rightsleep 1/usr/bin/feh -rzZFVdD 15 --min-dimension 640x480 -B black --edit /home/jeh/Pictures & Statistics: Posted by MrPorcine — Thu Jan 08, 2026 12:44 am