Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save xterat/dbab9d997c2ab1adc68a1d0ea66aa7ef to your computer and use it in GitHub Desktop.

Select an option

Save xterat/dbab9d997c2ab1adc68a1d0ea66aa7ef to your computer and use it in GitHub Desktop.
  1. edit file ~/.Xmodmap
clear control
clear mod4

keycode 105 =
keycode 206 =

keycode 133 = Control_L NoSymbol Control_L
keycode 134 = Control_R NoSymbol Control_R
keycode 37 = Super_L NoSymbol Super_L
keycode 169 = Delete

add control = Control_L
add control = Control_R
add mod4 = Super_L
  1. disable "Eject" in Shortcuts in keyboard setting

  2. execute xmodmap ~/.Xmodmap

  3. add this command to startup application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment