Created
August 30, 2011 13:57
-
-
Save eschulte/1180949 to your computer and use it in GitHub Desktop.
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 | |
# | |
# Swap Caps lock and Control | |
# | |
xmodmap -e "remove Lock = Caps_Lock" | |
xmodmap -e "remove Control = Control_L" | |
xmodmap -e "keysym Control_L = Caps_Lock" | |
xmodmap -e "keysym Caps_Lock = Control_L" | |
xmodmap -e "add Lock = Caps_Lock" | |
xmodmap -e "add Control = Control_L" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment