Bug 477653 - Add "Caps Lock (while pressed)" option to switch keyboard layouts
Summary: Add "Caps Lock (while pressed)" option to switch keyboard layouts
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-28 07:38 UTC by alphabitserial
Modified: 2023-11-29 21:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alphabitserial 2023-11-28 07:38:51 UTC
Under System Settings → Keyboard → Advanced there's currently an option "Caps Lock (while pressed); Alt+Caps Lock for the original Caps Lock action." I would love if there were an option that functions just like this without the Alt+Caps Lock bind. Basically, just a "Caps Lock (while pressed)" option with no extra behavior from the Alt key.

I use a non-Qwerty keyboard layout but a number of applications that support Vim motions. I've configured my system so that I'm always in my preferred layout, but while holding Caps Lock, it temporarily switches to Qwerty so I can easily use the home row for movement without rebinding my editor, terminal, etc.  In some applications, for example, Zellij (a terminal multiplexer), includes default keybinds Alt+[hjkl] to navigate between panes. However, I can't make use of it because Alt+Caps Lock will toggle capitalization instead.
Comment 1 Nate Graham 2023-11-29 21:43:23 UTC
These options all come from https://github.com/xkbcommon/libxkbcommon; I'm afraid you'll need to request it there. Good luck!