https://bugs.kde.org/show_bug.cgi?id=478208

--- Comment #2 from Akseli Lahtinen <akse...@akselmo.dev> ---
I think this needs to be reported to upstream, since the XKB system is missing
a rule for setting capslock non-toggling (acts like shift but doesnt remap to
shift). I can disable capslock, but then the key does not work at all.
Alternatively, XKB system could provide the "switch to last layout" option
completely, and we could just use that like with layout switching.

One can modify `/usr/share/X11/xkb/compat/caps` to make capslock work like
shift, but I think there should be easier way to do this provided by upstream,
and I don't feel comfortable making a special case for capslock that modifies
the aforementioned file. Besides, modifying this file requires root
permissions.

Current workaround for anyone wishing to use capslock without it toggling
capital letters:

1. Open `/usr/share/X11/xkb/compat/caps`
2. Change `LockMods` to `SetMods`
3. Log out and log back in

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to