Hello,
Im not a fan from applications permanently running in background that im not really need and since im daily close them. Every time i load my Desktop i asked myself why are this Applications are not listed in Background Service and why are they hidden to get rid of them and prevent them to run all the time in background?
Is there a easy way to disable this two apps from autostarting?
It’s less about being hidden and more about only providing a tray icon, which is only shown when relevant, e.g. when they notify the user. You can also configure them to always show in the tray.
Beware: it’s not because clicking on them opens a GUI application that the latter is actually in the background. Those two tray icons are actually not part of the GUI application opening, they “merely” launch it. You can check that in your favorite process manager.
Also, speaking of applications “in the background”, you’ll be surprised how many Services are currently running on your system without showing anything on screen:
Although if you don’t intent to use them, you can outright remove them as @stasadev first suggested.
But i think you’ll still want to keep them running…
I have already done this, but this doesn’t prevent both from running on startup.
I also tried what @maycne.sonahoz suggestion by disabling the services, but it’s not found. I guess it has a different service name now, or I’m not doing it correctly, I don’t know.
EDIT:
❯ systemctl list-unit-files --user | grep pamac
app-pamac\x2dtray@autostart.service generated -
app-pamac\x2dtray\x2dbudgie@autostart.service generated -
app-pamac\x2dtray\x2dplasma@autostart.service generated -
❯ systemctl list-unit-files --user disable app-pamac\x2dtray\x2dplasma@autostart.service
UNIT FILE STATE PRESET
0 unit files listed.
❯ systemctl --user disable app-pamac\x2dtray\x2dplasma@autostart.service
Failed to disable unit: Unit file app-pamacx2dtrayx2dplasma@autostart.service does not exist.
Either may be installed - remove whichever you have.
(or both if for some reason thats the case)
…oh well, considering this is a plasma thread … knotifier would probably be the one.
You can remove this if you don’t need it — I’ve removed it too — but I would keep the update notifier if I were you. It only periodically polls the mirrors for updates — I think it’s every 6 hours or so — and it will then let you know whether there’s an update.
Myself, I use the octopi-notifier-frameworks — which was the default on Plasma when I installed this system in April 2019 — instead of the pamac notifier, but it boils down to the same thing, i.e. at least you’ll get a notification when there are updates waiting.
Because that may not be desirable. Imagine you’re already on the fastest mirror because you used pacman-mirrors, but the fastest mirror isn’t necessarily the one that got synced first, and you may want to wait until it has synced.
This command selects the mirrors that have already synced and then orders them according to their speed.
So you need to do this from time to time, because you never know which mirrors have already synced or not, and the mirror list also varies — new mirrors get added, other mirrors may become unavailable, and so on.