| Summary: | Importing shortcuts don't import custom shortcuts and things like konsole shortcut | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Nigel <nigeljordannn> |
| Component: | kcm_khotkeys | Assignee: | Michael Jansen <kde> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | justin.zobel, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.20.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Pictures to explain | ||
I fixed the Konsole problem by adding Konsole through (Add Application) I fixed the launching Spotify (flatpak) through a hotkey by myself. So when you add the Spotify Flatpak through 'Add applications' it creates a entry in the shortcuts file in the .config folder kglobalshortcutsrc The entry is called: [com.spotify.client.desktop] _k_friendly_name=Spotify _launch=Meta+E,, The problem is that to run spotify trough flatpak you have to do flatpak run com.spotify.Client In the shortcuts file the entry is missing the capitical C. So when I changed the entry in the file to [com.spotify.Client.desktop] // See the capital C in client _k_friendly_name=Spotify _launch=Meta+E,, and rebooted, now the flatpak launches when I press Meta + E It is a quick fix, but not really user-friendly if a person want to start a flatpak through a keybinding Confirmed on Solus 4.1 with 5.20.4. Added Konsole in Applications Created Shortcut Exported Deleted Konsole Application item and it's associated shortcuts Imported Konsole shortcut does not work as the application isn't added back in. 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. |
Created attachment 134640 [details] Pictures to explain SUMMARY So, I like to backup all my settings. So when I saw the 'export scheme' feature, I was happy. But when I import my shortcuts in a new system, a shortcut I set launching Konsole with super + return won't be imported. I think it is because of the weird notation in the file? [khotkeys][Global Shortcuts] {18444b2a-bb16-498e-b64e-63db231031e0}=Meta+Return {d03619b6-9b3c-48cc-9d9c-a2aadb485550}= {f206f6da-e840-45a6-a0e7-a28afe273a7b}=Ctrl+Alt+S I had Meta+return for Konsole and Ctrl + Alt + S for a custom shortcut to run the command 'Flatpak run com.spotify.Client' It would work better if these things would also work on a new system. Because now you can't fully use the shortcut export thing. STEPS TO REPRODUCE 1. Create shortcut for Konsole 2. Export the scheme 3. Import the scheme on another computer 4. The custom shortcut for Konsole and other custom shortcut like lauching spotify won't work OBSERVED RESULT Most system wide shortcuts work, like changing the quick tile shortcuts. Those work after exporting and importing. But Konsole and a custom made Shortcut for Spotify won't work. EXPECTED RESULT When I import the scheme that Konsole can be launched with Meta + return and that the Spotify ctrl + alt + s which I set also works. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch (available in About System) KDE Plasma Version: 50.20.5 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION See attachments