Bug 458051 - Add ability to create global shortcut for DBUS commands in kcm_keys UI
Summary: Add ability to create global shortcut for DBUS commands in kcm_keys UI
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-08-18 22:31 UTC by Zhanibek Adilbekov
Modified: 2022-08-18 23:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhanibek Adilbekov 2022-08-18 22:31:33 UTC
In KHotKeys we could add custom shortcuts to execute user defined dbus commands.

As pointed out by Nate Graham in https://bugs.kde.org/show_bug.cgi?id=455444 KHotKeys module is going to retire and already disabled in Wayland session.

It would be great to have something similar in kcm_keys module's UI instead of using script files.
Comment 1 Nicolas Fella 2022-08-18 22:51:02 UTC
I do not think we need a special way to add DBus commands. If we had the ability to add arbitrary commands (we kind of do but it's very hidden) then adding DBus calls would be trivial to do using qdbus or dbus-send.

See also https://bugs.kde.org/show_bug.cgi?id=456951
Comment 2 Zhanibek Adilbekov 2022-08-18 23:11:56 UTC
(In reply to Nicolas Fella from comment #1)
> I do not think we need a special way to add DBus commands. If we had the
> ability to add arbitrary commands (we kind of do but it's very hidden) then
> adding DBus calls would be trivial to do using qdbus or dbus-send.
> 
> See also https://bugs.kde.org/show_bug.cgi?id=456951

I was thinking of an UI something between an app selection dialog and a DBus browser. but that involves a lot of labor.

So I agree https://bugs.kde.org/show_bug.cgi?id=456951 is quite a solution. In any case, only advanced users add DBus commands. And they will certainly be able to add them using arbitrary commands.

I will close this ticket. Thanks