Skip to content

Instantly share code, notes, and snippets.

@bernardobarreto
Created November 9, 2011 14:08
Show Gist options
  • Save bernardobarreto/1351531 to your computer and use it in GitHub Desktop.
Save bernardobarreto/1351531 to your computer and use it in GitHub Desktop.
how to create a monitor resolution (ubuntu)
I have a monitor that its larger standard resolution is 1280x1024, but I wanted something like 1600x1100:
(In terminal)
1- To see your video exits type:
xrandr
in the exit I have VGA-1 and HDMI-0, I want to change the resolution of the HDMI
2- $ cvt 1600 1100
# 1600x1100 59.89 Hz (CVT) hsync: 68.33 kHz; pclk: 146.50 MHz
Modeline "1600x1100_60.00" 146.50 1600 1704 1872 2144 1100 1103 1113 1141 -hsync +vsync
3- $ xrandr --newmode "1600x1100_60.00" 146.50 1600 1704 1872 2144 1100 1103 1113 1141 -hsync +vsync
4- $ xrandr --addmode HDMI-0 1600x1100_60.00
5- $ xrandr --output HDMI-0 --mode 1600x1100_60.00
DONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment