ffc74bf10b
We are currently using KDED only to start the daemon which makes little sense. The reason for this was so we can start/stop the service at will via KDED startup interface. This sucks, it is a horrible interface for starting/disabling kdeconnect and makes us depend on KDED for no good reason. So what this patch does is make use of XDG autostart which is supported in all major desktops (GNOME/UNITY/XFACE/KDE...). KDE has an interface to disable autostarted programs (although the interface sucks).
10 lines
No EOL
244 B
CMake
10 lines
No EOL
244 B
CMake
[Desktop Entry]
|
|
Type=Service
|
|
Exec=${CMAKE_INSTALL_PREFIX}/${LIBEXEC_INSTALL_DIR}/kdeconnectd
|
|
X-KDE-StartupNotify=false
|
|
X-KDE-autostart-phase=0
|
|
X-GNOME-Autostart-enabled=true
|
|
OnlyShowIn=KDE;GNOME;Unity;XFCE
|
|
NoDisplay=true
|
|
|
|
Name=KDEConnect daemon |