summaryrefslogtreecommitdiffstats
path: root/Xmodmap
blob: 3a3b6ad1b6409ee27ed6e42c3fe0dca1fdf0394d (plain) (blame)
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
! reset state
clear control
clear mod1
clear mod4

! swap alt and control
keycode 37 = Alt_L Meta_L
keycode 64 = Control_L
keycode 105 = Alt_R Meta_R
keycode 108 = Control_R

! map prtsc to super, because the thinkpad layout puts it in that location
keycode 107 = Super_R

! set the values for control, mod1 (meta), and mod4 (super) now that they have
! been assigned to keycodes
add control = Control_L Control_R
add mod1 = Alt_L Alt_R Meta_L Meta_R
add mod4 = Super_L Super_R

! map home and end to insert, because the thinkpad layout puts them where
! insert should be
keycode 110 = Insert
keycode 115 = Insert

! map function keys to their appropriate values (thinkpad does this in
! hardware, but other keyboards don't)
keycode 67 = XF86AudioMute F1 XF86AudioMute F1 F1 F1 XF86Switch_VT_1
keycode 68 = XF86AudioLowerVolume F2 XF86AudioLowerVolume F2 F2 F2 XF86Switch_VT_2
keycode 69 = XF86AudioRaiseVolume F3 XF86AudioRaiseVolume F3 F3 F3 XF86Switch_VT_3
keycode 70 = XF86AudioMicMute F4 XF86AudioMicMute F4 F4 F4 XF86Switch_VT_4
keycode 71 = XF86MonBrightnessDown F5 XF86MonBrightnessDown F5 F5 F5 XF86Switch_VT_5
keycode 72 = XF86MonBrightnessUp F6 XF86MonBrightnessUp F6 F6 F6 XF86Switch_VT_6
keycode 73 = XF86Display F7 XF86Display F7 F7 F7 XF86Switch_VT_7
keycode 74 = XF86WLAN F8 XF86WLAN F8 F8 F8 XF86Switch_VT_8
keycode 75 = XF86Tools F9 XF86Tools F9 F9 F9 XF86Switch_VT_9
keycode 76 = XF86Search F10 XF86Search F10 F10 F10 XF86Switch_VT_10
keycode 95 = XF86LaunchA F11 XF86LaunchA F11 F11 F11 XF86Switch_VT_11
keycode 96 = XF86Explorer F12 XF86Explorer F12 F12 F12 XF86Switch_VT_12