.xmodmaprc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Jan 2017 01:45:34 +0200
changeset 821 7bfa94a26cde
parent 820 6ec465d43861
child 822 7621d94eba35
permissions -rw-r--r--
Swap modifiers to previous assignment because I don't want to fix them in ~/.fvwm. Assign keycode to Caps_Lock before aliasing to LCtrl so ~/.xmodmaprc script can be re-evaluated without errors.

! To load this config run:
!   $ xmodmap .xmodmaprc

keycode 133 = Super_L
keycode 134 = Hyper_L
! keycode 135 = Menu
clear mod3
clear mod4
add mod3 = Super_L
add mod4 = Hyper_L

! Delete CapsLock (map to Ctrl).
clear Lock
clear Control
keycode 66 = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L Control_R