Created
January 11, 2013 20:07
-
-
Save spscream/4513574 to your computer and use it in GitHub Desktop.
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/bash | |
| # RESOLUTION SETTINGS | |
| # This sets your VGA1 monitor to its best resolution. | |
| xrandr --output VGA1 --mode 1920x1080 --rate 60 | |
| # This sets your laptop monitor to its best resolution. | |
| xrandr --output LVDS1 --mode 1366x768--rate 60 | |
| # MONITOR ORDER | |
| # Put the Laptop right, VGA1 monitor left | |
| # xrandr --output VGA1 --left-of LVDS1 | |
| # Put the Laptop left, VGA1 monitor right | |
| xrandr --output LVDS1 --left-of VGA1 | |
| # PRIMARY MONITOR | |
| # This sets your laptop monitor as your primary monitor. | |
| xrandr --output LVDS1 --primary | |
| # This sets your VGA monitor as your primary monitor. | |
| # xrandr --output VGA1 --primary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment