Sunsetting khotkeys?

Martin Graesslin mgraesslin at kde.org
Tue Mar 29 06:57:28 UTC 2016


Hi,

I want to propose to not release KHotKeys with Plasma 5.7 anymore.

The reasons are:
* it's unmaintained (e.g. Ben sent us a mail about failing build)
* it never got properly ported to Qt5 (xcb port partially missing)
* many features need to be moved to KWin in order to support it in Wayland
* UI is extremely complicated

Of course there are useful features in KHotKeys and removing them will not be 
something some of our users will appreciate. Thus we need to make sure we 
transit properly.

* starting applications on global shortcuts can be provided directly by 
KGlobalAccel
* invoking DBus commands directly can be provided by KGlobalAccel
* setting a global shortcut for an application can be done in KMenuEdit
* sending fake input or a dbus command is nothing different to starting an 
application
* window actions can nowadays be done with KWin scripts

Required actions will be:
* add support to start applications in KGlobalAccel
* migrate the existing KHotKey shortcuts to KGlobalAccel without the user 
noticing
* migrate the dbus command/fake input to shell scripts with a desktop file and 
register them in KGlobalAccel
* generate kwin scripts from the window actions

An idea can also be to improve the global shortcuts configuration module to 
make it easier to set global shortcuts from there.

What do you think?

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160329/c37b17c5/attachment.sig>


More information about the Plasma-devel mailing list