New answers tagged

0

Your script doesn't set the DISPLAY environment variable. It should look like this: #!/bin/sh export DISPLAY=:0 xrandr --output LVDS-1 --auto --output DP-5.8 --off



Top 50 recent answers are included