Skip to content

Instantly share code, notes, and snippets.

@munen
Created February 5, 2014 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munen/8832949 to your computer and use it in GitHub Desktop.
Save munen/8832949 to your computer and use it in GitHub Desktop.
Make Apple CMD/Command key an additional CTRL/Control key in X11
! 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
echo "exec xmodmap ~/.Xmodmap &" >> .i3/config
➜ ~ xmodmap -pke | grep Super_L
keycode 133 = Super_L NoSymbol Super_L
xmodmap ~/.Xmodmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment