LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE takes longer and longer to load (https://www.linuxquestions.org/questions/slackware-14/kde-takes-longer-and-longer-to-load-833168/)

vbisis 09-19-2010 04:23 AM

KDE takes longer and longer to load
 
I experience this since kde 4, but it never really was that bad because once in a while on updating kde I also deleted the .kde folder in my home-folder and everything was fast again.

But I haven't done this for a while now and kde take really long to load.
Is there any folder to clean up there without deleting the whole .kde-folder and loosing all my settings again?

Thanks in advance and best regards

brixtoncalling 09-19-2010 07:05 AM

Try disabling Strigi and Nepomuk in sytemsettings. Or at least check to see how much of your hard drive you are trying to index.

vbisis 09-20-2010 04:54 AM

It is only indexing my /home-folder.
Anyway,it is enabled from the beginning when I set up my profile, so I don't think it should be the reason why kde takes longer the older it is?

It is a kind of windows-like behaviour which kde 3.x didn't show....

willysr 09-20-2010 03:48 PM

the indexing process took so many CPU resources. That's why your system becomes slower and slower

brixtoncalling 09-20-2010 06:48 PM

Quote:

Originally Posted by vbisis (Post 4103170)
It is only indexing my /home-folder.
Anyway,it is enabled from the beginning when I set up my profile, so I don't think it should be the reason why kde takes longer the older it is?

It is a kind of windows-like behaviour which kde 3.x didn't show....

No, it shouldn't be indexing in this case. Try checking your .xsession-errors to see if it is getting filled up. Also you could have problems if your /home or /tmp partitions fill up.

vbisis 09-21-2010 01:23 AM

Quote:

Originally Posted by willysr (Post 4103744)
the indexing process took so many CPU resources. That's why your system becomes slower and slower

Can't be that, PC is a real desktop computer and is rebootet at least once a day. Anyway problem occurs on startup ( the kde-splash screen with the 5 icons - they all appear and then it just takes awful long )


Quote:

Originally Posted by brixtoncalling
No, it shouldn't be indexing in this case. Try checking your .xsession-errors to see if it is getting filled up. Also you could have problems if your /home or /tmp partitions fill up.

I tried cleaning up both ( well /tmp was quite full, but it were actuelly some sbopkg-builds just forgotten there :) ) and tried again, unfortunately it didn't help.

brixtoncalling 09-21-2010 01:56 AM

Hmmm really not sure. Perhaps it is an X problem. Does Xfce also load in a reasonable time? You could look in /var/log/Xorg.0.log or another log.

willysr 09-21-2010 08:54 AM

Quote:

Originally Posted by vbisis (Post 4104095)
Can't be that, PC is a real desktop computer and is rebootet at least once a day. Anyway problem occurs on startup ( the kde-splash screen with the 5 icons - they all appear and then it just takes awful long )

Probably because it wasn't finished when you restarted or turned off your computer, so the process will be resumed again. The initial indexing does take some time to complete depending on your disk space

brixtoncalling 09-21-2010 09:36 AM

Quote:

Originally Posted by willysr (Post 4104495)
Probably because it wasn't finished when you restarted or turned off your computer, so the process will be resumed again. The initial indexing does take some time to complete depending on your disk space

I don't think it is indexing because the slowdown occurs before he gets to the KDE desktop (after the 5 icons appear). Strigi starts after the desktop is running.

vbisis 09-22-2010 04:46 AM

The problem just gets worse. when I delete my .kde-folder and start with a completely new KDE-desktop everything is fine, kde starts fast within maybe a second or so.
By now, my desktop is setup for about 2 months in takes about half a minute to start kde.
Well deleting my profile and setting up my desktop from the start is a solution just not a good one :)

I ran into this problem on two different pcs by now, so I just thought it might be a kind of common problem.

brixtoncalling 09-22-2010 06:12 AM

When you log in, try going to a terminal and run top to see what is slowing you down. Also check your .xsession-errors to see if something is there.

cosminadrianpopescu 09-28-2010 08:53 AM

The problem is in the ~/.kde/share/config/plasma-desktop-appletsrc file. This file is loading at the KDE start automatically (it contains all the widgets from the desktop). The problem with it is that it also contains all the history of what you did on your desktop and it gets bigger and bigger. But unfortunately it contains what you have now on the desktop. So you cannot just delete it. You have to edit it and remove all the garbage (the previous widgets, that you don't have on your desktop anymore).

Cosmin.

vbisis 09-30-2010 06:44 AM

@brisxtoncalling: there is nothing special in .xsession-errors and the file isn't really big.

@cosmin: Didn't really do the trick, but I think the trouble is in this folder. Maybe it is relevant to say, that I start with a "previous saved session".

Finally I deleted the whole .kde-folder and reconfigured my desktop. Now I have backed up the folder to restore this point when kde is loading slow again and maybe have a closer look at the files and how they have change since configuring the desktop.
Thanks a lot you all!

brixtoncalling 09-30-2010 09:44 AM

I don't really use many widgets (just the normal ones on the taskbar) so perhaps this is why I've not experienced this problem. Good luck -- and let us know if you find a solution.

cosminadrianpopescu 10-01-2010 04:10 AM

It's not a question of how many widgets. That file keeps the history of all the widgets. Meaning that if you took one widget from one place to another place on the desktop, that file grows bigger. Or if you modify a text on a widget, that file grows bigger. Or if just added an widget, didn't liked it and then deleted it, that file grows bigger. And so on. Anything you do on your desktop, that file grows bigger.

From my point of view, this is a major bug in KDE desktop.

Try the following and you will see that I am right: rename your .kde folder (let's say into .kde.old), log out, log in again. You will notice that your kde starts again very fast. Then copy the ~/.kde.old/share/config/plasma-desktop-appletsrc into ~/.kde/share/config/plasma-desktop-appletsrc. Now log out, and log in again. You will notice that again your kde will take forever to start.

That file is your problem.

Cosmin.


All times are GMT -5. The time now is 01:09 PM.