Last active
August 21, 2016 12:44
-
-
Save tylermenezes/3119050 to your computer and use it in GitHub Desktop.
Add natural scroll for horizontal scrolling
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 | |
echo "remove Mod1 = Alt_L | |
remove Mod1 = Alt_R | |
remove Control = Control_L | |
remove Control = Control_R | |
keycode 135 = Super_R | |
keysym Control_L = Alt_L | |
keysym Alt_L = Control_L | |
keysym Control_R = Alt_R | |
keysym Alt_R = Control_R | |
add Mod4 = Super_R | |
add Mod1 = Alt_L | |
add Mod1 = Alt_R | |
add Control = Control_L | |
add Control = Control_R | |
pointer = 1 2 3 5 4 7 6 8 9 10 11 12 | |
" > ~/.Xmodmap | |
sudo xmodmap ~/.Xmodmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment