I have my caps lock key as control and my left control key as my compose key, and I accomplish this by: setxkbmap -option ctrl:swapcaps -option compose:lctrl After upgrading to 2.22, this command started having a different effect: my left control key is now *both* a compose key and a caps lock key. As a result, caps lock toggles on and off every time I use the compose key. Is this expected behavior? If yes, is there an alternative way to achieve the keyboard layout I desire? I am using the `us` layout, no variant, and no options other than those described above.
Can you try reverting this patch: https://cgit.freedesktop.org/xkeyboard-config/commit/?id=a67513655bfaa0bb0b5bdb536eea1de367b84194 I guess that broke your config: xkb_symbols "swapcaps" { replace key <CAPS> { [ Control_L ] }; replace key <LCTL> { [ Caps_Lock ] }; + modifier_map Control { <CAPS> }; + modifier_map Lock { <LCTL> }; }; If so, please contact Michal Suchanek (email is on the commit page)
Yes, that works, I've contacted Michal.
Great. Once you have the solution that makes you both happy - please submit a patch!
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/89.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.