dada


xrandr

xrandr ("X resize and rotate") is a tool for setting up and arranging display(s).

$ cvt 1280 1024
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
$ xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
$ xrandr --addmode VGA-0 "1280x1024_60.00"
$ xrandr --output VGA-0 --mode "1280x1024_60.00"
$ xrandr --output VGA-0 --right-of LVDS

See also the vga script in my github repository for an example of how I use it on my laptop.