-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Xmodmap
70 lines (52 loc) · 1.59 KB
/
.Xmodmap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
! .Xmodmap for 106 key / Japanese keyboard
!
! Author: SATOH Fumiyasu
! Date: 2008-05-04, since 2000-??-??
! ======================================================================
! Initizalize
! ======================================================================
clear lock
clear shift
clear control
clear mod1
clear mod2
clear mod3
clear mod4
clear mod5
! Generic
! ======================================================================
! Henkan key
!remove mod3 = Henkan_Mode
!add shift = Henkan_Mode
! Muhenkan key
!keycode 131 = Control_L
!keycode 131 = Alt_L
!keycode 102 = Alt_L
! Hankaku/Zenkaku key
!keycode 49 = Alt_L
! Hiragana key
!remove mod1 = Alt_R
!keycode 120 = Shift_R
! backslash, underscore -> Control_R, underscore
keycode 211 = Control_R underscore
! Swap Ctrl key and Caps-Lock key
! ----------------------------------------------------------------------
! Swap(?) keysym names
!keysym Caps_Lock = Control_L
!keysym Control_L = Caps_Lock
! Add Caps_Lock keysym to lock modifier
!add lock = Caps_Lock
! Swap ESC key (keycode 9) and Hankaku/Zenkaku key (keycode 49)
! ----------------------------------------------------------------------
!keycode 9 = Zenkaku_Hankaku
!keycode 49 = Escape
! Add keysyms to modifiers
! ======================================================================
add lock = Caps_Lock
add shift = Shift_L Shift_R
add control = Control_L Control_R
add mod1 = Alt_L Alt_R
! Temp
! ======================================================================
keycode 132 = backslash bar backslash bar backslash bar
keycode 133 = backslash bar backslash bar backslash bar