alias lcd='xrandr --addmode VGA 1280x1024 && xrandr --output LVDS --auto && xrandr --output VGA --mode 1280x1024 --left-of LVDS'
alias internal='xrandr --output VGA --off && xrandr --output TMDS-1 --off && xrandr --output LVDS --auto'
alias dual_lcd='xrandr --output LVDS --off && xrandr --output VGA --mode 1280x1024 && xrandr --output TMDS-1 --mode 1280x1024 --left-of VGA'
LVDS: internal screen
VGA: DSUB (blue) (on left of laptop or a dock)
TMDS-1: DVI (white) (on a dock)
lcd: one external monitor (the DSUB slot on the left)
dual_lcd: two external monitors (via a dock)
internal: just the internal screen
Note: Only two screens can be active at once (you'll get an error if you try to add a third; that's why the shortcuts are so complicated)
No comments:
Post a Comment