diff options
Diffstat (limited to 'xorg/.Xmodmap')
-rw-r--r-- | xorg/.Xmodmap | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/xorg/.Xmodmap b/xorg/.Xmodmap new file mode 100644 index 0000000..8225271 --- /dev/null +++ b/xorg/.Xmodmap @@ -0,0 +1,38 @@ +! 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 + +! use media keys instead of function keys +keycode 67 = XF86AudioMute +keycode 68 = XF86AudioLowerVolume +keycode 69 = XF86AudioRaiseVolume +keycode 70 = XF86AudioMicMute +keycode 71 = XF86MonBrightnessDown +keycode 72 = XF86MonBrightnessUp +keycode 73 = XF86Display +keycode 74 = XF86WLAN +keycode 75 = XF86Tools +keycode 76 = XF86Search +keycode 95 = XF86LaunchA +keycode 96 = XF86Explorer |