Created
September 27, 2013 14:49
-
-
Save wildlyinaccurate/6729796 to your computer and use it in GitHub Desktop.
Force X to use a certain screen 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
# Ad-hoc | |
xrandr --newmode 1920x1080 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
xrandr --addmode VBOX0 1920x1080 | |
xrandr --output VBOX0 --mode 1920x1080 | |
# Or in ~/.i3/config | |
# exec_always xrandr --newmode 1920x1080 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
# exec_always xrandr --addmode VBOX0 1920x1080 | |
# exec_always xrandr --output VBOX0 --mode 1920x1080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment