Favorits in App-starter

I tryed to import some KDE-Desktopsettings from an other PC.
Now i “destroyed” the Favorits Application-Menu in the App-starter.
Also if i add some new one, they are gone after the next Login

The most recently used programs are also no longer displayed

Can anyone tell me how to fix it?
where are the Fav-Apps list stored?

For the Favorites, it should be located in the file ~/.config/kactivitymanagerd-statsrc
I guess you could log out, open a TTY, delete the file or rename it, and log back in so it generates a new one.

Maybe just delete it from desktop session and reboot it could work too probably.

For the Recently it should be under ~/.local/share/ there are files user-places.xbel and recently-used.xbel same thing maybe delete and start over with fresh files.

2 Likes

I would first try @omano’s suggestions. As they mentioned, make sure you are logged out of Plasma before removing those files.

Also, maybe check System Settings → Recent Files to ensure that it is set to keep a history of opened apps and files. Clearing the recent history can also occasionally fix issues.

If the above steps don’t work, then you may have a corrupt kactivitymanagerd database (possibly caused by importing the database folder from the other PC).

The quickest/easiest fix is to just delete it (preferably from a logged in TTY session when logged out of Plasma):

rm -fr ~/.local/share/kactivitymanagerd/

A new kactivitymanagerd database will be created automatically the next time you log into Plasma.

Note that deleting the kactivitymanagerd database will remove your application favorites and recent files/apps history (and possibly some other settings - it has been a very long time since I last had to remove the kactivitymanagerd database).

2 Likes