Skip to content

Instantly share code, notes, and snippets.

@hkoba
Created October 29, 2014 08:08
Show Gist options
  • Save hkoba/ddb66d8b5cd621f11f1f to your computer and use it in GitHub Desktop.
Save hkoba/ddb66d8b5cd621f11f1f to your computer and use it in GitHub Desktop.
Xmodmap for JP106 -> US, with better placed tilde, backslash, ESC, Control and ALT
!
! Xmodmap for JP106 -> US
!
remove Lock = Eisu_toggle
add Control = Eisu_toggle
keysym Eisu_toggle = Control_L
! add mod1 = Muhenkan
! keysym Muhenkan = Alt_L
keycode 34 = bracketleft braceleft
keycode 35 = bracketright braceright
keycode 51 = grave asciitilde
keycode 97 = backslash bar
keycode 47 = semicolon colon
keycode 48 = apostrophe quotedbl
keycode 49 = Escape
keycode 9 = Zenkaku_Hankaku
keycode 10 = 1 exclam
keycode 11 = 2 at
keycode 12 = 3 numbersign
keycode 13 = 4 dollar
keycode 14 = 5 percent
keycode 15 = 6 asciicircum
keycode 16 = 7 ampersand
keycode 17 = 8 asterisk
keycode 18 = 9 parenleft
keycode 19 = 0 parenright
keycode 20 = minus underscore
keycode 21 = equal plus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment