Skip to content

Instantly share code, notes, and snippets.

@hidsh
Created February 1, 2014 00:05
Show Gist options
  • Save hidsh/8745885 to your computer and use it in GitHub Desktop.
Save hidsh/8745885 to your computer and use it in GitHub Desktop.
~/.Xmodmap で 右ALTと右CTRLを入れ替え
!Swap right control and right alt
remove Control = Control_R
remove Mod1 = Alt_R
keycode 105 = Alt_R
keycode 108 = Control_R
add Control = Control_R
add Mod1 = Alt_R
!$ xmodmap ~/.Xmodmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment