Skip to content

Instantly share code, notes, and snippets.

@mapopa
Created October 26, 2012 09:34
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 mapopa/3957849 to your computer and use it in GitHub Desktop.
Save mapopa/3957849 to your computer and use it in GitHub Desktop.
force monitor resoltion when is not recognized
# force monitor resolution folowing this guide https://wiki.ubuntu.com/X/Config/Resolution#Adding_undetected_resolutions
# first calculate the modeline
cvt 1920 1080 60
# 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
# next add the new modeline , copy paste the above line
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DVI-1 1920x1080
#you can now use a graphic tool to choose the new mode i recommend arandr it can setup dual monitor nicely and easy
arandr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment