Skip to content

Instantly share code, notes, and snippets.

@Kautenja
Last active June 27, 2020 05:37
Show Gist options
  • Save Kautenja/a27ea73ef1059124db54ab8eb38cbbe6 to your computer and use it in GitHub Desktop.
Save Kautenja/a27ea73ef1059124db54ab8eb38cbbe6 to your computer and use it in GitHub Desktop.
swap crtl and alt on ubuntu. place in home directory and execute: xmodmap ~/.Xmodmap
clear control
clear mod1
keycode 37 = Alt_L Meta_L
keycode 64 = Control_L
keycode 105 = Alt_R
keycode 108 = Control_R
add control = Control_L Control_R
add mod1 = Alt_L Meta_L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment