The CommandURL actions for custom shortcuts do not handle file paths with spaces. The file chooser works well and a script with spaces in the filename can be stored for the shortcut. Unfortunately, the path is not stored in a way that can handle spaces in the file path. The following are excerpts from the ~/.config/khotkeysrc: This works: [Data_4Actions0] CommandURL=/home/username/this_is_a_script Type=COMMAND_URL This does not work: [Data_4Actions0] CommandURL=/home/username/this is a script Type=COMMAND_URL
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.