[opensuse-kde] akonadi startup
![](https://seccdn.libravatar.org/avatar/b20ed73dd4d92d768c7c5b164b809680.jpg?s=120&d=mm&r=g)
Hi, does anybody know how to disable akonadi in 11.4? I know, I know, it is necessary in order to run: KAddressBook, Kalarm, Kmail, Knotes, Korganizer, etc. but there are cases were I really don't need it: like on some old laptop or system were I know I'm not going to run kmail/kaddress etc. On such systems there are several disadvantages in having akonadi started: 1) at each login at least 10 unuseful processes (mysqld between them) must be started increasing the time to login (3/4 seconds) 2) also such processes are staying around until logout 3) there are 140MiB of wasted disk space in each user's HOME for the mysql database which contains NO data. So far I was able to address only point 2) by creating a script in ~/.kde4/Autostart which runs: sleep 8 akonadictl stop But I really would like to have the possibility to not start at all akonadi. How can I do it? Giacomo -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/4ef1931b96646ad3e0276974cb033333.jpg?s=120&d=mm&r=g)
Tirsdag den 10. maj 2011 02:23:35 skrev Giacomo Comes:
does anybody know how to disable akonadi in 11.4?
If you don't want Akonadi to start, which probably 2/3 users never have any use for (non-kdepim users), here's what you have to do in KDE SC 4.6: 1) Do not use Kopete, Konversation, KMail/KAdressbook 2) Disable the following KRunners: Contacts, Calendar Events, Kopete Contacts (press alt+f2 -> click on "wrench" to uncheck the runners) 3) Remove the digital clock from the panel. And don't add any other plasma clocks either (analog, fuzzy etc.). The calendar pop-up of the plasma clocks will start Akonadi. It is rumoured you can disable the Akonadi integration for the clocks via a hidden option in plasma-desktop-appletsrc, but I was personally not able to make that work. I believe KDE 4.7 should have a gui option for it. If do/don't do the above, Akonadi, (empty) mysql etc. shouldn't start. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b20ed73dd4d92d768c7c5b164b809680.jpg?s=120&d=mm&r=g)
On Tue, May 10, 2011 at 07:20:04AM +0200, Martin Schlander wrote:
Tirsdag den 10. maj 2011 02:23:35 skrev Giacomo Comes:
does anybody know how to disable akonadi in 11.4?
If you don't want Akonadi to start, which probably 2/3 users never have any use for (non-kdepim users), here's what you have to do in KDE SC 4.6:
1) Do not use Kopete, Konversation, KMail/KAdressbook
2) Disable the following KRunners: Contacts, Calendar Events, Kopete Contacts (press alt+f2 -> click on "wrench" to uncheck the runners)
The only KRunners enabled by default is Calendar Events, so disabling it is enough to not start Akonadi. Also enabling Kopete Contacts does not start Akonadi. The two that must be disabled are Contacts and Calendar Events.
3) Remove the digital clock from the panel. And don't add any other plasma clocks either (analog, fuzzy etc.). The calendar pop-up of the plasma clocks will start Akonadi. It is rumoured you can disable the Akonadi integration for the clocks via a hidden option in plasma-desktop-appletsrc, but I was personally not able to make that work. I believe KDE 4.7 should have a gui option for it.
I kept the digital clock and continued to use the calendar pop-up. Akonadi did not start. So I guess it's safe not to remove the digital clock from the panel.
If do/don't do the above, Akonadi, (empty) mysql etc. shouldn't start.
To resume: just create the file /etc/kde4/share/config/krunnerrc containing: [Plugins] org.kde.events_runnerEnabled=false kabccontactsEnabled=false and you have disabled akonadi's automatic startup system wide. Thanks Martin. Giacomo -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b20ed73dd4d92d768c7c5b164b809680.jpg?s=120&d=mm&r=g)
On Tue, May 10, 2011 at 09:43:06AM -0400, Giacomo Comes wrote:
On Tue, May 10, 2011 at 07:20:04AM +0200, Martin Schlander wrote:
Tirsdag den 10. maj 2011 02:23:35 skrev Giacomo Comes:
does anybody know how to disable akonadi in 11.4?
If you don't want Akonadi to start, which probably 2/3 users never have any use for (non-kdepim users), here's what you have to do in KDE SC 4.6:
1) Do not use Kopete, Konversation, KMail/KAdressbook
2) Disable the following KRunners: Contacts, Calendar Events, Kopete Contacts (press alt+f2 -> click on "wrench" to uncheck the runners)
The only KRunners enabled by default is Calendar Events, so disabling it is enough to not start Akonadi. Also enabling Kopete Contacts does not start Akonadi. The two that must be disabled are Contacts and Calendar Events.
3) Remove the digital clock from the panel. And don't add any other plasma clocks either (analog, fuzzy etc.). The calendar pop-up of the plasma clocks will start Akonadi. It is rumoured you can disable the Akonadi integration for the clocks via a hidden option in plasma-desktop-appletsrc, but I was personally not able to make that work. I believe KDE 4.7 should have a gui option for it.
I kept the digital clock and continued to use the calendar pop-up. Akonadi did not start. So I guess it's safe not to remove the digital clock from the panel.
It turns out that the digital clock doesn't start akonadi only in kde 4.6.0. I have installed recently 4.6.3 and indeed now akonadi is started. The hidden option in plasma-desktop-appletsrc that disable it is displayEvents=false To have it set system wide edit: /usr/share/kde4/apps/plasma/layout-templates/org.kde.plasma-desktop.defaultPanel/contents/layout.js and replace the line: panel.addWidget("digital-clock") with: var widget = panel.addWidget("digital-clock") widget.writeConfig("displayEvents", "false") Giacomo
If do/don't do the above, Akonadi, (empty) mysql etc. shouldn't start.
To resume: just create the file /etc/kde4/share/config/krunnerrc containing:
[Plugins] org.kde.events_runnerEnabled=false kabccontactsEnabled=false
and you have disabled akonadi's automatic startup system wide.
Thanks Martin. Giacomo -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
-- -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org
participants (2)
-
Giacomo Comes
-
Martin Schlander