After updating to kde plasma 6.0 the keyboard custom shortcuts are gone.
I used to have a group and in that group all my shortcuts.
I’ve tried to click on the “import” top right option and selected “personal scheme” and remove the “filter” to be able to see all files and them select the backup file of my shortcuts.
It ended up with an entry in the “system preference” section.
But it still doesn’t work as it appears to only have the labels/text/title of my shortcuts and the keyboard shortcut to activate them, but no action assign to it.
Any way to import my old group of keyboard shortcuts?
This happens to me too and I’ve posted on bugs kde org about it as well. How they didn’t consider this a critical issue is beyond me, and there’s no recommended solution.
In Plasma 6, System Settings has no more a “Custom Shortcuts” section.
I have read that khotkeys (Plasma 5) was deprecated and would not be maintained in Plasma 6, months ago, when I was trying Plasma 6 alpha / beta / RC in KDE Neon Unstable.
So, I had to replace my Custom Shortcuts (commands) with the shortcut options that still exist.
I couldn’t get it to work. I tried using the dialog box you show in the screenshot with simple bash scripts, direct commands like “echo hello”, but nothing happened.
I’m trying to replace khotkeys functionality (sending different key combinations with specific custom shortcuts) using xdotool. There’s a bunch of automations I set up using khotkeys that’s useless now that they removed it, and it’s a deal-breaker for me.
I’m not sure what I’m doing wrong and there’s no documentation on this part yet.
If you or someone else could provide an example of how to use this feature (especially using xdotool or an equivalent Wayland tool) it would be highly appreciated.
Yeah, shortly after our exchange I managed to get it to work with this sort of command. It seems to be very unreliable, though, which is why I didn’t think it was working. I press the shortcut defined but only one in three or four presses seem to register.
I’ll see whether this is fixed in Plasma 6.1 and then post a bug report.
I generally use the shortcuts’ functionality to create alternative key bindings for various keyboard keys (e.g. using ctrl+key to navigate with the keyboard instead of the arrow keys).
Espanso seems really cool though - I will definitely give it a go!
xdotool works only for x11 and it’s a bit complicated for remapping.
The solution I found to remap my keyboard the way I had it with plasma5 (unified for consistency with emacs) is Input Remapper. It’s on github and AUR.
It works fantastic, crazy feature complete. The non GUI alternative is Hawck, but I didn’t test it.
I have tried Input Remapper good gui and very complete but if the goal is a to have a reliable to remap keyboard key everywhere (console or gui) and if configuring trough a config file over a gui isn’t a problem I couldn’t recommand enough keyd. It is a low level daemon that remap keycode at kernel level so it is not to send macro but you can use it to remap your keyboard like zmk/qmk with layer and all.
Really powerful! I use it to transform my laptop keyboard in a custom qmk keyboard with multiple layer including a navigation layer like suggested above but with a more reliable way : it is real keycode that or send to programs independent of the DE or the program interpretation.
It is on github https://github.com/rvaiya/keyd
it is also in Arch extra repo (more recent than AUR)