Skip to content

Instantly share code, notes, and snippets.

Created September 25, 2011 22:36
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 anonymous/1241265 to your computer and use it in GitHub Desktop.
Save anonymous/1241265 to your computer and use it in GitHub Desktop.
$ cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
$ xrandr --newmode clever_name 173.00 1920 2048 2248 2576 1080 1083 1088 1120
$ xrandr -q
Screen 0: minimum 640 x 480, current 800 x 600, maximum 800 x 600
default connected 800x600+0+0 0mm x 0mm
800x600 61.0*
640x480 60.0
clever_name (0x11d) 173.0MHz
h: width 1920 start 2048 end 2248 total 2576 skew 0 clock 67.2KHz
v: height 1080 start 1083 end 1088 total 1120 clock 60.0Hz
$ xrandr --addmode default clever_name
$ xrandr --output default --mode clever_name
xrandr: Configure crtc 0 failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment