Code: Select all
xrandr --output VGA-0 --primary
Is there somewhere to put this in a boot sequence, or somewhere to record this as a preference?
Code: Select all
xrandr --output VGA-0 --primary
Code: Select all
mkdir ~/Scripts
gedit ~/Scripts/setoutput.sh
Code: Select all
#!/usr/bin/env sh
xrandr --output VGA-0 --primary
Code: Select all
chmod +x ~/Scripts/setoutput.sh
sudo ln -s ~/Scripts/setoutput.sh /etc/X11/Xsession.d/45setoutput
Code: Select all
#!/usr/bin/env sh
xrandr --newmode "1280x800_60.00" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
xrandr --addmode VGA-0 1280x800_60.00
xrandr --output VGA-0 --mode 1280x800_60.00
xrandr --newmode "800x500_60.00" 30.75 800 824 896 992 500 503 509 521 -hsync +vsync
xrandr --addmode LVDS 800x500_60.00
xrandr --output LVDS --mode 800x500_60.00
Code: Select all
#!/usr/bin/env sh
xrandr --output DP-0 --primary