Global application shortcuts don't work and behave strange
In a freshly installed Plasma 5.19 (Arch Linux) global shortcuts' "Applications" section behaves strange.
Pre-defined shortcuts work fine and as expected (e.g. Dolphin). And those, set by the applications themselves work too (like Yakuake). You can change the shortcuts and they still will work. However, if you try to add new application shortcut two things happen:
- There are no desktop actions listed, only internal
- When you assign a
_launchshortcut, it simply doesn't work.
The behavior is the same on the live KDE Neon system (
If you, however, use the "Custom shortcuts" menu - everything works fine. You can even assign shortcuts to applications, not commands, via "KMenuEdit Global Shortcuts" group. Still, this workaround doesn't allow you to use desktop actions like "Open a Private Window" in Firefox.
The created entries in
kglobalshortcutsrc file also look strange. For example:
[firefox.desktop] _k_friendly_name=Firefox _launch=Meta+F,,
I'm not familiar with the format, but the
_launch action doesn't look like the predefined ones (e.g.
_launch=Meta+E,Meta+E,Dolphin). If you manually change the Firefox's
_launch action to look like Dolphin's - it still doesn't work. Maybe you have to restart something but anyway - it gets reset when you launch System Settings.
What's interesting is that my friend, who upgraded his Plasma from 5.18 (also on Arch Linux) doesn't have this problem. Even for newly added shortcuts. When i copied his
kglobalshortcutsrc, the desktop actions were visible, but still didn't work. So, nothing's changed for me.
I don't use that many application shortcuts so i just created them in "Custom Shortcuts", but still, it's inconvenient compared to setting shortcuts to applications and their desktop actions in "Global Shortctus" menu.