Skip to content

Instantly share code, notes, and snippets.

@yassersouri
Created February 13, 2015 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yassersouri/a0b565d8092a3421b902 to your computer and use it in GitHub Desktop.
Save yassersouri/a0b565d8092a3421b902 to your computer and use it in GitHub Desktop.
Add new monitor resolution to ubuntu
# change 1280*768 to what ever your monitor and computer must support but does not!
cvt 1280 768 60
# 1280x768 59.87 Hz (CVT) hsync: 47.78 kHz; pclk: 79.50 MHz
# Modeline "1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
# change based on what was printed after the previous command
xrandr --newmode "1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
xrandr --addmode VGA1 "1280x768_60.00"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment