xrandr multi
/usr/local/bin/xrandr_TV_dual.sh:
/usr/local/bin/xrandr_VGA_dual.sh:
/usr/local/bin/xrandr_VGA_only.sh:
Icons are in /usr/local/share/icons/hicolor/
Get modeline with "cvt h-resolution v-resolution refresh"
Code:
xrandr \ --output LVDS1 --mode 1280x800 --primary \ --output TV1 --mode 640x480 --rate 25 --right-of LVDS1 --set mode PAL
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 1072 -hsync +vsync xrandr --addmode VGA1 1280x1024 xrandr \ --output LVDS1 --mode 1280x800 \ --output VGA1 --mode 1280x1024 --rate 75 --above LVDS1 --primary )
Code:
#If command fails, readd mode and try again xrandr \ --output LVDS1 --off --output VGA1 --mode 1280x1024 --rate 75 || ( xrandr --newmode 1280x1024 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync xrandr --addmode VGA1 1280x1024 xrandr \ --output LVDS1 --off --output VGA1 --mode 1280x1024 --rate 75 )
Get modeline with "cvt h-resolution v-resolution refresh"
Code:
cvt 1280 1024 75
Total Comments 0