Registered Member
|
Hi, all.
I'm trying to disable the kdeconnectd (android service) from loading, but I'm having a hard time understanding how to interact with kded and background service daemons. https://userbase.kde.org/KDE_System_Adm ... d_Services Doesn't seem to be accurate. I don't see any .desktop file for kdeconnect and I don't see where the Service Manager is. https://docs.kde.org/trunk5/en/kde-work ... trol/kded/ How do I interact with the service manager? |
Registered Member
|
There's a Service Manager in System Settings under Startup and Shutdown where you can enable/disable various services from starting on startup.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Thank you, airdrik
Do you know how to do this from the command line? It's necessary for our project (Whonix). |
Registered Member
|
I don't know for sure, so I did a little bit of perusing of the dbus API, I dug up "qdbus org.kde.kde /modules/kdeconnect [start|stop]" which looks like it should start/stop the kdeconnect module (service?).
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
With kdeconnect 1.0.3 (which is the latest release currently) it's not there. Also I don't see start/stop methods on DBus with qdbusviewer nor on `org.kde.kdeconnect /modules/kdeconnect` neither on `org.kde.kdeconnectd /modules/kdeconnect` and `org.kde.kde /modules/kdeconnect` doesn't exist. |
Registered Member
|
I spent some time this morning trying to figure this out. I am not sure why KDEConnect is not used as a standard service so one could just...
What I did find was using pkill you can stop the service. Then using a find command, found where the actual kdeconnectd binary file was. I wrote this simple script to start stop and show status if running.
This was created on Kubuntu 18.04. Named the script "kdeconnect", made executable with "chmod +x kdeconnect", and moved it into usr/sbin "sudo cp kdeconnect /usr/sbin", so to stop the service I now type.
Hope this helps someone out in the future. |
Registered Member
|
thank you, this was easy to follow and the script really made it awesome
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]