time dolphin
kf.xmlgui: KActionCollection::setComponentName does not work on a KActionCollection containing actions! "dolphin"
kf.dbusaddons: 'kdeinit5' is taking more than 30 seconds to start.
^C
real 0m33,896s
user 0m0,917s
sys 0m0,179s
In emacs, the command M-x dired fires dired up in split seconds with all file names in the current directory.
Any ideas why dolphin and all other file manager windows take so long to open? Same for okular, C-o needs more than 30 seconds to open the file window. Nautilus opens really quickly.
Oh, funny, just noticed: opening Yast takes as well about 30 seconds until the demand for the root password appears.
That “kf.xmlgui:” message I see also on Tumbleweed so that is very likely not related to the problem.
As multiple applications have the problem it has likely something to do with file/network access.
You can run:
strace -t -f -o /tmp/dolphin.strace dolphin
That will create a huge text file containing all OS calls including file/network access. Have a look at the time stamps and check if you see large gaps. If so, try to see what is the root cause for these gaps.
You can consider sharing the part file via https://susepaste.org/, keep in mind it contains all files/network locations that you might want to keep private.
For your reference dolphin takes about 3 seconds for me and closing it immediately gives my (only things > 5%):
I searched the file dolphin.strace for »something new« in the lines shortly before one second only consisted of some dozen of lines, instead of hundreds or thousands. Found:
But /tmp/startkdeinitlock belonged to another user! After deleting it, everything is back to normal. It seems that kde tried to write something into that file, but because had no ownership, it failed.
Let’s see whether it works after the next reboot. If yes, I’ll write a bug report.