/usr/local/bin/xrandr_TV_dual.sh:
Code:
xrandr \
--output LVDS1 --mode 1280x800 --primary \
--output TV1 --mode 640x480 --rate 25 --right-of LVDS1 --set mode PAL
/usr/local/bin/xrandr_VGA_dual.sh:
Code:
#If command fails, readd mode and try again
xrandr \
--output LVDS1 --mode 1280x800 \
--output VGA1 --mode 1280x1024 --rate 75 --above LVDS1 --primary ||
(
xrandr --newmode 1280x1024 138.75 1280 1368 1504 1728 1024 1027 1034
...