-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.Xmodmap_HP2760_broken_left_arrow_key
More file actions
64 lines (49 loc) · 1.46 KB
/
.Xmodmap_HP2760_broken_left_arrow_key
File metadata and controls
64 lines (49 loc) · 1.46 KB
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
! https://unix.stackexchange.com/questions/348056/how-to-remap-keys-using-xkb-symbols-us-file-in-ubuntu#348057
! https://askubuntu.com/questions/24916/how-do-i-remap-certain-keys-or-devices/24930#24930
! variations on the 'us' layout
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
! left arrow key is dead
! make Control_R left
keycode 105 = Left
! make Caps_Lock backspace
keycode 66 = BackSpace
! make backspace delete
keycode 22 = Delete
! make Shift_R Control
! remove shift = Shift_R
add control = Shift_R
keycode 62 = Control_R
! cleaning killed Control_L !!
keycode 94 = Control_L
! swap insert and print keys, turn of insert
keycode 107 = NoSymbol NoSymbol NoSymbol NoSymbol
keycode 118 = Print Sys_Req Print Sys_Req
! easy fullscreen (F11), the F11 key is easy to miss / hard to find in the blind
! make delete key F11
keycode 119 = F11
! swap F11 (95) and F12 (96), kill F11
! keycode 95 = NoSymbol NoSymbol NoSymbol NoSymbol
! keycode 96 = F11
! make Alt_R Alt_Gr
! keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
! swap left super and alt for better i3 ergonomics
keycode 64 = Super_L
keycode 133 = Alt_L
! make Alt_Gr Alt_R
!remove mod5 = ISO_Level3_Shift'
keycode 108 = Alt_R
add shift = Shift_L Shift_R
add lock = Caps_Lock
add control = Control_L Control_R
add mod1 = Alt_L
!add mod2 = Num_Lock
!add mod3 = Scroll_Lock
add mod4 = Super_L Super_R
add mod5 = ISO_Level3_Shift Mode_switch