Bug 385747 - shortcut doesn't execute command verbatim but executes it in some file associated context
Summary: shortcut doesn't execute command verbatim but executes it in some file associ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_khotkeys (other bugs)
Version First Reported In: 5.20.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-14 16:04 UTC by johanna_mueller_57
Modified: 2024-03-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johanna_mueller_57 2017-10-14 16:04:57 UTC
I created a shortcut "Meta+T" to execute "konsole" in the shortcuts->own shortcuts settings. This worked as expected, until I changed the file associations for text/plain files in Dolphin to be executed by "konsole -e vim U%". Now "Meta+T" opens konsole with vim running, instead of normal "konsole" (which I still get with Alt+Space and "konsole" or running "konsole" from an already open terminal). 

If I remove the according .local/share/applications/konsole.desktop file, Meta+T does "konsole" again.

From my understanding, the "command to run" field in the shortcuts -> new shortcut dialog should just do "konsole", if i put "konsole" there. At least it should to the same as KRunner. Is my understanding wrong or is this indeed a bug?
Comment 1 Nate Graham 2024-03-04 19:42:06 UTC
As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now.

Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again.

Thanks for your understanding, everyone.