Skip to content

Instantly share code, notes, and snippets.

@rkmax
Created February 21, 2012 23:25
Show Gist options
  • Select an option

  • Save rkmax/1879773 to your computer and use it in GitHub Desktop.

Select an option

Save rkmax/1879773 to your computer and use it in GitHub Desktop.
Set mode Video
#/bin/bash
OUTPUT=VGA1
MODE="1920x1200"
xrandr --newmode $MODE 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
xrandr --addmode $OUTPUT $MODE
xrandr --output OUTPUT --mode $MODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment