The Blog is Hot

Disable Akonadi in KDE SC 4.7

Posted in kde, opensuse by mschlander on 18/08/2011

How to avoid the Akonadi PIM framework of KDE is a very frequently asked question. Akonadi is started when logging into a default KDE session – and includes a mysql server – this is a bit of a waste of system resources since (in my personal estimation) the majority of KDE users won’t use Akonadi for anything at all.

So here’s how to make Akonadi not start in KDE SC 4.7.

Step 1
Disable KRunner runners that will start Akonadi. Press Alt+F2, click on the “wrench”, uncheck “Calendar Events” and “Contacts” runners, click on “Apply”.

Step 2
Tell the digital clock not to display calendar events. Right click the digital clock (in your panel), Digital Clock Settings, Calendar, uncheck “Display Events”, click “Apply”.

Step 3
Don’t use applications that need/start Akonadi, such as Kontact/KMail/KOrganizer, Konversation and Kopete.

That’s it. Next time you boot Akonadi won’t start anymore – at least not until needed.

PS
Personally I’m a huge user of Akonadi and the applications mentioned above, so this post should not be seen as any kind of vendetta against Akonadi or KDEPIM developers or anyone else. The purpose is solely to help KDE users who – unlike me – don’t need Akonadi get a leaner and cleaner system.

About these ads

20 Responses

Subscribe to comments with RSS.

  1. […] – and includes a mysql server – this is a bit of a waste of system resources … More: Disable Akonadi in KDE SC 4.7 « The Blog is Hot This entry was posted in Uncategorized and tagged akonadi, avoid-the-akonadi, kde, mysql-server, […]

  2. R.F. Pels (@ruurd) said, on 18/08/2011 at 21:44

    Not use kontact konversation kopete? Then i would as well throw out KDE if I would like to turn off akonadi. All said and done I think it’s a huge and unnecessarily hard dependency for KDE. You basically want a DE and get the largest part of PIM all for free. Why not work on a KDE that has a soft dependency on akonadi while still being able to use kontact and konversation and kopete…

    • Kevin Krammer said, on 19/08/2011 at 14:51

      Akonadi is a soft dependency at runtime, as it is only started on demand, i.e. when an application wants to interact with it.

      When PIM data provides added value but is not crucial for the main functionality, e.g. the clock’s calendar, then it makes sense to have an option to do without these additional features (e.g. the clock’s calendar event integration)

      • R.F. Pels (@ruurd) said, on 19/08/2011 at 15:31

        Nice try but no cigar. It is not soft in terms of ‘not necessary to install’ without major function loss. I mean come on. KDE without kontact, kopete and konversation + restrictions on how things need to be configured… get real. Akonadi is a hard dep in this respect. No akonadi means severe loss of function.

      • Kevin Krammer said, on 19/08/2011 at 15:48

        It is easier to package as a base dependency, but nevertheless a soft dependency at runtime due to not running when not needed.

        Making the use configurable for add-on functionality is one option, these apps could also check if it is running.
        When it provides the core functionality, e.g. in Kontact, neither of these option would make sense, since the application would be totally useless (empty, no data to work on) without.

      • Roman Z. said, on 12/06/2012 at 17:22

        @ruurd : akonadi didn’t work at all for me up to now. Not work means: I’ve reported / found the first few bugs on bugs.kde.org. But there were to many showstoppers. To continue my daily work I had to switch to thunderbird.

        This week I gave kdepim-4.8.3 another shot. It worked out quite well – until akonadi began truncating my emails. It just deleted the body of all incoming emails on the server.

        To users like me your comment sounds a lot like cynicism.

        I’m glad I can avoid crippling mail mailbox for now by stopping akonadi. Thanks for the blogpost!

    • mschlander said, on 19/08/2011 at 19:48

      The whole point of this post is that:

      Most KDE users, use either Thunderbird or web based solutions for mail and calendaring. And add a few people using text based clients or even Evolution.

      I’m guessing at least 98% never use IRC. Those who do will often use Xchat or irssi or other clients.

      I don’t know how many people use instant messaging. Maybe 20%? A substantial amount of those will use browser based stuff or pidgin or psi etc.

      While it might seem inconceivable to you, for most regular users, not using kontact+kopete+konversation is completely normal.

  3. mth said, on 18/08/2011 at 22:00

    I like the idea of Akonadi, but the current implementation is not very efficient. On my system, akonadi_mixedmaildir_resource is taking over 1GB of memory and opening my inbox (~10k mails) for the first time takes several seconds. Before Akonadi, Kontact with KMail+Akregator active took about 150MB of memory and displayed my inbox within a second.

  4. […] Schlander has put up a great post on how to disable Akonadi and I haven’t had any messages pop up after following the steps he […]

  5. Dmitri said, on 06/09/2011 at 2:27

    Translated to Russian http://www.gentoo.ru/node/23678

  6. Mhol said, on 16/09/2011 at 12:27

    You could simply change
    StartServer=true to StartServer=False
    in
    ~/.config/akonadi/akonadiserverrc

    • dvk said, on 18/01/2012 at 22:29

      I notice on my system that In this case akonadi still tries to start itself several times during KDE startup until it reaches some number of tries or timeout. The result is a delay in KDE startup. You _need_ to configure Krunner and clock as shown in this post to prevent Akonadi from starting.

  7. Messaging Clients said, on 26/12/2011 at 17:19

    […] and Kopete installed: I can't remember why I stopped using Pidgin; but in a desperate attempt to get away from the whole Akonadi/Nepomuk mess, I stopped Kopete and searched for an alternative, which I found […]

  8. Kent said, on 01/06/2012 at 20:18

    akonadi had 50 processes running preventing anything else from running.

  9. […] is another post in the common complaints about kde […]

  10. ray ray said, on 19/08/2012 at 13:30

    I simply removed akonadi and nepomuk with my Mageia 2.0 software removal panel, and kopete still works! my entire system FLIES now! It is like I was towing an airstream trailer, and it is gone now!

  11. Roland Wolf said, on 03/01/2013 at 18:07

    I tried to keep my beloved KDE and get rid of Akonadi and Nepomuk in various ways (breaking package dependencies / removing executables) but at one point this was simply not maintainable anymore. Now I migrated to XFCE4. I hoped to be able to keep KDE various KDE applications. Unfortunately more and more KDE apps have a dependency on the “social desktop” machinery. A fork of KDE will remain a dream.
    However I hope that people will step up to fork KDE apps to remove all server dependencies. Moving apps over to Razor-qt might be a viable way.

  12. Ian said, on 18/10/2013 at 7:26

    # pkill akonadi
    is what I do, and to all trolls in my gnu/linux system.

    And the # is real – how dare other people limit my privileges on my my own computer?
    $ sudo passwd root is all you have to do on this disabled molly coddling version of gnu/linux
    to get the beloved # prompt.

    Ian


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: