Last active
December 24, 2015 00:09
-
-
Save tylermenezes/6715129 to your computer and use it in GitHub Desktop.
Macbook air keybinding script for 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/bash | |
| echo "remove Mod1 = Alt_L | |
| remove Mod1 = Alt_R | |
| remove Control = Control_L | |
| remove Control = Control_R | |
| remove Mod4 = Super_L | |
| remove Mod4 = Super_R | |
| keysym Super_R = Control_R | |
| keysym Super_L = Control_L | |
| keysym Alt_L = Super_R | |
| keysym Control_L = Alt_L | |
| keysym Control_R = Alt_R | |
| add Mod1 = Alt_L | |
| add Mod1 = Alt_R | |
| add Control = Control_L | |
| add Control = Control_R | |
| add Mod4 = Super_L | |
| add Mod4 = Super_R | |
| pointer = 1 2 3 5 4 7 6 8 9 10 11 12 | |
| keycode 94 shift = grave asciitilde | |
| " > ~/.Xmodmap | |
| sudo xmodmap ~/.Xmodmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment