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.
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
(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