For some months now, when fully restarting my PC and logging into manjaro it takes about 3-5 minutes for it to finish. It is just stuck in the “Enter password” screen once I enter it correctly and works just fine after.
The most common culprit is a no longer compatible theme or widget. On the other hand, you may also want to check your Autostart settings, as well as the Baloo indexing.
Worst case scenario, your Plasma configuration files have gotten corrupted. You can try debugging that by first deleting your cache while not logged into Plasma yet — you have to do it from a tty.
rm -rf ~/.cache/*
If this does not improve the situation, then you may have to nuke your entire Plasma configuration and start all over again with the default setup, and then take it from there. (Been there, done that, have the T-shirt…)
Yup, next step try mv ~/.config ~/.configBK then log out and in again, desktop should be a little more vanilla - then open side by side and move stuff back bit by bit logging out/in again as you do (most config folders for software shouldn’t have any effect - but it can).
I just ran rm -rf ~/.cache/* from a tty, have baloo indexing disabled afaik. because it was pretty slow and took up a lot of memory and only have “matray” in Autostart
In that case, it could be an incompatible theme and/or widget, or simply spurious config file corruption, and in that case, I will point at @Ben’s advice of renaming your ~/.config and ~/.local directories, starting from a vanilla setup again — or from a working backup copy — and then comparing your Plasma-related files against the ones in the renamed directories.
You can probably put back the application-specific configuration directories — e.g. for your browser(s), email, multimedia player(s), et al — without much trouble, but Plasma itself does tend to, um, soil itself from time to time, and I’ve had that happening to myself several times in a row now since we moved to 5.27.8 a couple of months ago. Luckily I’ve got backups.
Hopefully 5.27.9 — currently freshly entering the Manjaro Testing branch as of today — will reintroduce the stability 5.27 was known for earlier.
Instead of starting with changing things in your current profile, you might want to simply create a new test user. You should login to that user twice as the first login might need some initialization steps. If the second login procedure runs faster than with your current login, you have proof that it is caused by your current configuration.
If you’re using an SSD, then baloo shouldn’t make much impact… but there’s no harm in trimming/deleting db/restarting it to see if it improves things. There were a lot of folks talking about it in the past, but I haven’t had a problem with it for several years. Those text files and dot files are another matter - and sometimes just clearing them fixes - as @Aragorn puts it so eloquently, KDE sometimes poops it’s own nappy.
I have it set to my home directory, plus directories across 3 hard drives for Audio/Music/Books/TV folders/Movie folders - so my menu pulls up just about anything I’m looking for.
As suggested - I always log in to my TEST desktop first of all, and then do the re-import of my .config and .local and other hidden gremlins.
It’s surprising how much you can leave behind, and as long as you have some snapshots/backups there’s no fear of losing stuff.
I don’t really see anything out of the ordinary there, other than that it could be mildly optimized, but there’s nothing there to account for the enormous delays you say you experience.
This shouldnt exist.
It arguably should have never existed … but it was finally removed from manjaro sometime last year?
It doesnt exist in the repos anymore … and should not be on your system.
systemctl status pkgfile-update
I honestly forget what package(s) it would be tied to … so more info might be helpful.
So there it is.
But what I said about it previously being included and since being replaced is still true.
As is the idea that it is unnecessary overhead for a providing an inferior version of functions already provided* - meaning pkgfile and its related services are worse than useless.
As well as being at the top of systemd-analyze blame for OP here.
(* pkgfile creates its own database and checks that against commands in terminal to see about ‘command not found’ - introducing noticeable lag in general use. And thats not counting the bakcround service and timers. pacman already provides a package database, as well as a timer for updating it. There are multiple approaches for using this to provide a ‘command not found’ feature if that is desirable.)
Systemd-analyze measures until the graphical.target but your delay comes afterwards.
You might be more successful checking the journal with journalctl to see what’s happening.
From experience, these delays come from mounted network volumes that are unreachable and it waits for the timeout to continue.
The login seems to work just fine when choosing wayland instead of x11 (sadly this doesn’t solve the issue because I can’t use wayland due to multiple issues with it)