I'd like to run a bash script when I press caps lock in KDE5. I had this working just fine in KDE4. I can easily assign Caps Lock as the trigger to a command in system settings -> shortcuts -> custom shortcuts
, but it simply doesn't work.
There are some options in system settings -> input devices -> keyboard -> advanced
under "Caps lock key behaviour", but they're all pretty specific such as using caps as an additional modifier key. Disabling also actually disables it completely, rather than just disabling the caps functionality, which is a problem with this approach.
Is there a workaround to properly remap caps?