Paste number 1995: .Xmodmap excerpt for using windows keys as super/hyper, and caps-lock as control

Paste number 1995: .Xmodmap excerpt for using windows keys as super/hyper, and caps-lock as control
Pasted by: hober
When:15 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+1JF
Channel:#emacs
Paste contents:
Raw Source | XML | Display As
! .Xmodmap

clear lock
clear control
clear mod1
clear mod3
clear mod4
clear mod5

! Make Caps Lock be an additional Control key
add Control = Caps_Lock Control_L Control_R

! left Windows be Super
keycode 115 = Super_L
add Mod3 = Super_L

! left alt be Meta
keycode 64 = Meta_L
add Mod1 = Meta_L

! right alt be Alt
keycode 113 = Alt_R
add Mod4 = Alt_R

! right windows be Hyper
keycode 116 = Hyper_R
add Mod5 = Hyper_R

! .Xmodmap ends here

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.