DualMonitor

From campisano.org
Jump to navigation Jump to search

Set up additional monitor

TODO

  • get names
xrandr --current | grep ' connected' | sed -n 's#\(w*\) .*#\1#p'
  • get resolutions
xrandr --current | sed -n 's#.* connected \(primary \)\([0-9]*\)x\([0-9]*\)+.*#\2x\3#p'
  • set
xrandr --output LVDS1 --primary
xrandr --output VGA1 --right-of LVDS1

Additional display modes

  • search
apt-get install edid-decode
xrandr --verbose | edid-decode
  • define
cvt -v 1600 926
xrandr --newmode "1600x926" 121.50  1600 1696 1856 2112  926 929
xrandr --addmode LVDS-1 1600x926
  • use
xrandr --output LVDS-1 --mode 1600x926

References