Skip to content

Add a kded module to start/stop kdeconnectd

Jin Liu requested to merge genericity/kdeconnect-kde:kded_module into master

Compared to the current xdg autostart + dbus activation approach, this allows the user to manually stop kdeconnectd, or prevent it from autostarting, via the kded module in systemsettings.

The autostart desktop file is kept, but with NotShowIn=KDE, so that it still autostarts in GNOME and other DEs. The dbus service file is removed.

The kdeconnect applet/app could also start/stop the daemon via kded's dbus interface.

We can instead just run kdeconnectd inside kded. But I guess it was not done that way on day 1 for a reason.

TODO: the module probably should automatically restart kdeconnectd on failure.

Merge request reports