Created
February 5, 2014 20:59
-
-
Save munen/8832949 to your computer and use it in GitHub Desktop.
Make Apple CMD/Command key an additional CTRL/Control key in X11
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
! clear CMD of it's regular task, whatever that might be | |
clear mod4 | |
! configure CTRL and CMD to act as left Control | |
keycode 133 = Control_L NoSymbol Control_L | |
keycode 37 = Control_L NoSymbol Control_L | |
! use CTRL and CMD to act as left Control | |
add control = Control_L |
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
echo "exec xmodmap ~/.Xmodmap &" >> .i3/config |
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
➜ ~ xmodmap -pke | grep Super_L | |
keycode 133 = Super_L NoSymbol Super_L |
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
xmodmap ~/.Xmodmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment