This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Disabling a "load on demand" service?

Tags: None
(comma "," separated)
User avatar
danniken
Registered Member
Posts
91
Karma
0
Hello, I am working with KDR 4.10.4 under Fedora 19, and it seems that a "load on demand" service called "Instant Messaging Approver" is running (as shown in System Settings > System Administration -> Startup and Shutdown).

Unfortunately, there is no control on this page to stop this service. I did see an image (on the web) of an older "System Settings" page in which there were two tabs, "General" and "Advanced", but mine lacks these.

Where do I go to disable this (or any) "load on demand" service?

Thanks!
User avatar
google01103
Manager
Posts
6668
Karma
25
from docs.kde.org/stable/en/kde-runtime/kcontrol/kded/kded.pdf
Load-on-Demand Services
This is a list of available KDE services which will be started on demand. They are only listed for convenience, as you cannot manipulate these services.


To disable a service's ability to be loaded on demand you need to id the app and edit it's .desktop file, specifically the X-KDE-Kded-load-on-demand=true line and obviously understand the ramifications of disabling it as it could adversely affect the effectiveness of any process that attempts to use it


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
danniken
Registered Member
Posts
91
Karma
0
google01103 wrote:from docs.kde.org/stable/en/kde-runtime/kcontrol/kded/kded.pdf
Load-on-Demand Services
This is a list of available KDE services which will be started on demand. They are only listed for convenience, as you cannot manipulate these services.


To disable a service's ability to be loaded on demand you need to id the app and edit it's .desktop file, specifically the X-KDE-Kded-load-on-demand=true line and obviously understand the ramifications of disabling it as it could adversely affect the effectiveness of any process that attempts to use it


Okay, thanks google. So then, how do I ID the app responsible for "Instant Messaging Presence", and where to I find it's .desktop file?

Perhaps it would be to find out what is starting this service in the first place, and stop it from running, but the "Autostart" menu under "Settings > Startup and Shutdown" is empty, other than two entries (desktop file and script file) for which there is no information. Likewise, ~/.kde/Autostart is empty.
User avatar
google01103
Manager
Posts
6668
Karma
25
are you running Telepathy or other messaging app or widget?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
danniken
Registered Member
Posts
91
Karma
0
Not to my knowledge; this is a fresh install of Fedora19 and I don't have anything running.

I looked through running processes and nothing jumps out at me, but my knowledge is limited; maybe something here is the culprit?

From pstree:
systemd-+-NetworkManager-+-dhclient
| `-3*[{NetworkManager}]
|-alsactl
|-anacron
|-atd
|-auditd-+-audispd-+-sedispatch
| | `-{audispd}
| `-{auditd}
|-avahi-daemon---avahi-daemon
|-bluetoothd
|-cagibid
|-chronyd
|-crond
|-cupsd
|-2*[dbus-daemon---{dbus-daemon}]
|-dbus-launch
|-firewalld---{firewalld}
|-gam_server
|-kactivitymanage---6*[{kactivitymanage}]
|-kded4---4*[{kded4}]
|-kdeinit4-+-dolphin---{dolphin}
| |-klauncher
| |-ksmserver-+-kwin---{kwin}
| | `-{ksmserver}
| |-ksysguard-+-ksysguardd
| | `-{ksysguard}
| |-kwrite---{kwrite}
| |-seapplet
| `-xsettings-kde---{xsettings-kde}
|-kdm-+-X
| `-kdm---startkde-+-kwrapper4
| `-ssh-agent
|-kglobalaccel
|-kmix---{kmix}
|-knotify4---{knotify4}
|-konsole-+-bash---su---bash-+-pstree
| | `-3*[top]
| `-{konsole}
|-krunner---{krunner}
|-kuiserver
|-kwalletd
|-lvmetad
|-mcelog
|-mission-control
|-modem-manager---{modem-manager}
|-nepomukcontroll
|-plasma-desktop-+-ksysguardd
| `-4*[{plasma-desktop}]
|-polkit-kde-auth---{polkit-kde-auth}
|-polkitd---5*[{polkitd}]
|-pulseaudio---2*[{pulseaudio}]
|-rpcbind
|-rsyslogd---3*[{rsyslogd}]
|-rtkit-daemon---2*[{rtkit-daemon}]
|-2*[sendmail]
|-start_kdeinit
|-systemd-journal
|-systemd-logind
|-systemd-udevd
|-udisksd---4*[{udisksd}]
|-upowerd---2*[{upowerd}]
`-vmtoolsd
User avatar
google01103
Manager
Posts
6668
Karma
25
no real knowledge here, all I can tell you is appears to be telepathy related from my Google'ing and that it appears to be part of a package called ktp-approver (at least in openSUSE)


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
danniken
Registered Member
Posts
91
Karma
0
Okay, well thanks for trying anyway.
User avatar
google01103
Manager
Posts
6668
Karma
25
do you have telepathy installed? any ktp packages? something called kde-telepathy-approver?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
danniken
Registered Member
Posts
91
Karma
0
Aha! I found a bunch of ktp-* entries in apper, and after removing them and rebooting the box, the unneeded service went away.

Thanks man, I appreciate it!
User avatar
hermantowawan
Registered Member
Posts
70
Karma
0
Folder:
/usr/share/services/kded/

open up the desktop files of the ones u want with kate or another editor as root, and find the following:

Code: Select all
X-KDE-Kded-load-on-demand=true


and change it to

Code: Select all
X-KDE-Kded-load-on-demand=false


Now logout & back-in - if u want of which i recommended is a full reboot to make sure. Now if u go into the services manager they should be gone from view from the main/top load-on-demand services box except for the ones you kept. I also suggest going to the kcontrol settings of konqueror and disabling cookies, etc.. beforehand so u won't have any troubles - even if u remove konqueror from kde.


I Am Still Learning About KDE
User avatar
amirkhan
Registered Member
Posts
10
Karma
0
this threat maybe can help you :
https://www.kubuntuforums.net/archive/index.php/t-32475.html


What's KDE? Poles Marmer KDE


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]