I've discovered Akonadi, a KDE service. As far as I could understand, Akonadi provides "personal information management" and is responsible for some interaction between apps within the KDE ecosystem.
To me, it seems to be bloatware. Somebody may use the functions it provides, but I do not. It is just running in background all the time with no use.
How do I completely disable it forever?
Have you ever met something else in Linux or it's ecosystem, that appeared to be bloatware to you (and how did you disable it)?
A user that want a minimal environment installs a modern complete and featurefull entire desktop environment and then complains that it's too bloated, at five only on Lemmy.
What is this, reddit nowadays? /S
Anyway, you should uninstall plasma and switch to any of the many more basic Linux GUI environment that better suit you needs, that the magic of Linux after all, nobody forces you to use what you don't like or don't approve on your own machine
How exactly is it bloatware though? Not a KDE user myself, just had a look at the wiki. Seems it's just a convenience utility to allow you to not have to enter the same things into multiple applications?
This is VERY different from pre-installed apps in your start menu that collect and sell info about you...
Yeah, thinking more about it, I don't think the term "bloatware" (as it is commonly used) applies here at all.
How do I completely disable it forever?
To answer your question: sudo systemctl mask <servicename>.service
The much more common disable just disables autostart; masking will point the service file at /dev/null, which makes it impossible to load or start the service, even when other services or apps (like the clock widget someone mentioned in the comments) request it.
If you're using the digital clock widget, that uses Akonadi, and will launch it on startup. It's used to (optionally) sync calendar events between compatible apps. There are also a handful of KDE PIM Applications that use it (think Kontact, KMail, KAddressBook, KOrganizer). If you want it disabled, you will need to stop using any Akonadi-enabled app. More information can be found at the KDE userbase for Akonadi. In particular, stop using any KDE PIM Application, as they cannot function without it, and disable calendar syncing from the digital clock. That will ensure the service is never started.
To fix the digital clock problem:
To ensure that Akonadi is not started, check that no applications require it at login. In particular, open the Plasma clock applet preferences, go to Calendar and uncheck Show events to prevent Plasma from requesting information from Akonadi and thus allowing it to start.
You can disable it thru the command akonadictl. You can't remove it easily tho, as a lot of KDE components depend on it. One thing tho is you can make sure it pulls SQLite instead of MySQL or PostgreSQL as its dependency.
akonadi is a dependency of some applications that are bundled in a default kde desktop, such as is installed using the kde-standard metapackage in debian.
these applications include kmail, korganizer, kaddressbook, and akregator. removing those four items from a default debian trixie kde install also removes any installed packages with 'akonadi' in the name.
You can try just tracking down Akonadi's executable and removing its executable mark or renaming it, which may, however, break other stuff (in particular, make sure you're not running kmail—it seems to be the most substantial program with a non-optional dependency). Or you can ditch KDE and move to a lighter DE that doesn't have this stuff (TDE, Mate, XFCE . . .)
There are two ways to spin up a Linux machine: you can either use a desktop-ready distribution that includes everything you need to use it right away (including some stuff you don't want), or you can start with the bare bones and build it up to usability. If you want to take the second philosophy to the extreme, Gentoo will let you turn off all optional features you don't want before they're even built.
Secureblue is an interesting one. As far as I could understand from their FAQ, it lacks some cons of Atomic desktops while introducing their pros.
I'm more focused on resource usage reasonability, efficiency and control. But still, reducing attack surface is a good idea, it resonates with me.
But I still believe we could have fancy setups without obscure undesired services that do not actually drive the things I use. And my aspiration to decide and control what happens in my PC, even if it means disabling some parts of the holy KDE, is absolutely legit. But some people in this thread are downvoting me for this. It feels like if I were hated for trying to delete Edge from Windows.
One day I'll just come up with using DIY distros like Arch and Gentoo and building custom kernels, so I'll be responsible for any kind of bloat there. But the day hasn't come yet, I'm still new to Linux.
Atomic desktops enforce immutability, the core system is literally a ROM almost like stock Android. It's not always bad, I can easily imagine cases when it is perfect, but it's not what I'm currently seeking from Linux. As far as I could figure out, secureblue imposes slightly less restrictions.
Yeah well I knew about Arch circlejerk, but these KDE guys are something. I would probably get same reaction asking an Arch community about how to purge pacman.
NixOS is worth testing indeed. However, AFAIK it is not lightweight enough for my setup. Pretty same as Gentoo, I guess. It is kind of ironical that the most controllable and efficiency-oriented distros aren't actually good for mediocre setups (but well, I believe nothing stops from building a system on Gentoo with a powerful setup but with flags targeting a low-end device and then flashing the result to the latter). Unfortunately I have no experience with programming, so my learning curve will be fairly steep. But one day I'll just have the required skill level even for managing NixOS. And probably I will even learn programming, who knows.
This is a purely technical association. And in case with Atomic Desktops, it is just an option at last.
Yeah I probably would be able running NixOS, but I think it will take a lot of time to compile big packages in Gentoo. And if I don't compile the largest parts of the system by myself with appropriate flags for efficiency, Gentoo doesn't make that much sense compared to Arch or Artix. I have 5.7GB of RAM (the rest is reserved by system and GPU), and I've seen a guy with 128GB RAM on youtube, who still used a lot of binaries because of long compilation and the inefficiency (hah) of portage. He has been running Gentoo for more than a year. I wish I knew C so I could rewrite portage to C.
Oh, by the way
I've heard of CachyOS, it is Arch based to I'll have some of the advantages of Arch, and it is said to be optimized well. Have you ever heard of how Cachy performs?
Compiling Firefox alone for speed may not grant a big performance boost. But all together, all the self-compiled things with ~1-2% performance boost each result in a really serious benefit all together. I also don't know if the guy you mentioned used all the flags he could. I know there are some flags you're recommended to stick with, but I would learn to take the maximum benefit of them, even if it is tedious to learn, bcuz mistakes in use flags cause trouble.
That was not plenty for me when I was into music production. Really limiting tbf. I want to take away some reserved RAM from the GPU, cuz I'm not gaming or mining crypto anyway. And I really want to use VMs.
Compilation is of course taking some time always, but I believe that with my current skill level and hardware it is not worth it yet.
I actually want a system that is fast, optimized and controlled. I wish it also wasn't asking for extensive maintenance, but it is not trivial to accomplish that with Gentoo or Arch. But still possible, with some trade-offs, but those are not very relevant for me. And yeah, I want a system that I know and understand, that doesn't keep any secrets from me. And I want powerful hardware, yeah.
Alpine is a good one, but it doesn't seem to suit for casual usage. I would use it, but as a server. That's what it was actually made for, I believe.
Void is also great, but it has the problem of package availability. XBPS is not common, so one still runs into compiling things when using Void as a daily driver.
However, I recently consider installing a custom Void flavor on my low-end netbook, which isn't snappy even with Debian Xfce. I'm going to install a minimal Void, and then add XLibre and LXQt, that'd be perfect for my netbook, and almost all the software I'd need there, will highly likely be present in the repos.
And for the main laptop, I guess I'm staying on Fedora KDE, unless I need my FL Studio and flash Windows back. I'll be figuring out where performance sucks, some bottlenecks, and fix them.
Have you literally purged it out of the system? I've just disabled it from starting. Though, I may have broken Kontact or something. Never opened these.
really? usually KDE based distros have it preinstalled, in Kubuntu for example there's literally an app called "system services" or "background services" where you can do this. but i'm glad you figured it out
I actually have "background services", but again, haven't found Akonadi mentions there. Probably it was called some other way, and probably it was not present there. Anyway, thanks, this app will be useful with other tasks later.
It doesn't sound like you understand what personal information is. It includes things like contacts, calendar, and emails.
This back end service exists because, in the past, programs were all doing their own thing, but now KDE provides that information as a service. With a standard API. So you can have two programs installed that manage your contacts, and they're both using the same list of contacts. Same with your calendar. Back in the day, if you used two different programs to store contacts, you would have two databases of contacts.
Calling that bloatware is just stupid. It's literally a core service that a useful operating system should provide.
In addition, learn how to use a search engine instead of posting in the forum like this. It was trivial to find out how to disable it permanently. Trivial! Asking us to do your work for you and then tacking on a "conversation starter" at the end doesn't make your post any more palatable.
all 50 comments