Created
February 22, 2013 14:22
-
-
Save jandrewthompson/5013755 to your computer and use it in GitHub Desktop.
xrandr scripts for docking and undocking my Dell laptop. I mapped these to global keyboard shortcuts in KDE.
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/bash | |
xrandr --output HDMI3 --auto; | |
sleep 5; | |
xrandr --output LVDS1 --off; | |
sleep 5; | |
xrandr --output VGA1 --right-of HDMI3 --auto --primary; |
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/bash | |
xrandr --output HDMI3 --off; | |
sleep 5; | |
xrandr --output LVDS1 --auto; | |
sleep 5; | |
xrandr --output VGA1 --off; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment