Created
November 16, 2011 04:45
-
-
Save vu3rdd/1369265 to your computer and use it in GitHub Desktop.
Add a new modeline to get native monitor resolution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
$ gtf 1920 1080 59.9 | |
# outputs | |
# Modeline "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync | |
$ xrandr --newmode "1920x1080_59.90" 172.51 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync | |
$ xrandr --addmode VGA-1 1920x1080_59.90 | |
$ xrandr --output VGA-1 --mode 1920x1080_59.90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment