# HG changeset patch # User Oleksandr Gavenko # Date 1485560734 -7200 # Node ID 7bfa94a26cdef07b564814c779a8b0e63c5f66f4 # Parent 6ec465d43861ad00420e4b007e243906bb9a2465 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. diff -r 6ec465d43861 -r 7bfa94a26cde .xmodmaprc --- a/.xmodmaprc Fri Jan 27 22:47:14 2017 +0200 +++ b/.xmodmaprc Sat Jan 28 01:45:34 2017 +0200 @@ -6,13 +6,13 @@ ! keycode 135 = Menu clear mod3 clear mod4 -add mod3 = Hyper_L -add mod4 = Super_L +add mod3 = Super_L +add mod4 = Hyper_L ! Delete CapsLock (map to Ctrl). clear Lock clear Control -add Control = Control_L -add Control = Control_R -add Control = Caps_Lock +keycode 66 = Caps_Lock +keysym Caps_Lock = Control_L +add Control = Control_L Control_R