I use this ~/.Xmodmap called by .xinitrc with "xmodmap ~/.Xmodmap": remove Lock = Caps_Lock add mod4 = Caps_Lock With xkeyboard-config 2.1 Caps Lock still acts like Caps lock after this. With all versions lower this works, from 1.7 to 2.0-r1. Reproducible: Always
My guess is that this was associated with https://bugs.freedesktop.org/show_bug.cgi?id=30898 And that commit 8cc4dd7aac9c386507052071d748f9d7b6b342e8 Author: Stephan Hilb <stephan@ecshi.net> Date: Sun Jan 2 17:22:30 2011 +0100 assign action for keysym Shift_L by default was the culprit, and the subsequent patch (included in version 2.2) commit 43b56494bed2e67a2a26266850cb9e0b28a056c0 Author: Stephan Hilb <stephan@ecshi.net> Date: Sat Feb 19 14:06:28 2011 +0100 Add option to bind Control modifier to <CAPS> key while preserving the Caps_Lock keysym resolved the issue.