Created
April 7, 2014 21:10
-
-
Save lhuet/10057019 to your computer and use it in GitHub Desktop.
Script for DevoxxFr 2014 - Force 1280x720 resolution even if not detected (tested on Dell / Ubuntu)
This file contains hidden or 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 | |
xrandr --newmode "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync | |
xrandr --addmode VGA1 1280x720_60.00 | |
xrandr --addmode LVDS1 1280x720_60.00 | |
xrandr | |
xrandr --output VIRTUAL1 --off --output LVDS1 --mode 1280x720_60.00 --pos 0x0 --rotate normal --output VGA1 --mode 1280x720_60.00 --pos 0x0 --rotate normal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment