How to restore baloo file indexer

Dear all,

on my pc I had problems with baloo using almost the entire physical memory. In the beginning I sued to kill baloo to prevent my PC from freezing. Then I decided to remove it altogether by running

sudo zypper rm baloo*

This turned to be a bad Idea. Now I don’t have background image, tray icons and I am getting the message ‘all shell packages missing’ in a dialog box.

My question is, whether and if yes, how this can be reverted. I tried to install baloo back via yast, but the same problem remains.

Thank you for your help.

Well, your problem is/was not that baloo is missing, but rather that the “zypper rm baloo*” command also removed a lot of other (necessary) packages…

To get back to a working system, reinstall “plasma5-session” (that should actually pull in all required packages).

sudo zypper in -f plasma5-session

Or maybe even better, reinstall the “kde_plasma” pattern:

sudo zypper in -f -t pattern kde_plasma

And as you noticed, you should not uninstall all packages with baloo in the name to get rid of Baloo.
Actually you can just disable file indexing in the settings.

But if you really want to get rid of it completely, just uninstall baloo5-file, that’s the actual file indexer.

I would still be interested how to trigger a re-indexing for baloo…

KDE System settings:–>> “Workspace” –>> “Search” –>> “Plasma search”
[INDENT=2]First: “Clear history”.
Then: deselect everything you consider to be unnecessary.
[/INDENT]

Then, select the “File search”.Either deselect the “File search” or, set up a list of places which should not be searched – for example, remote file systems . . .

And how is that related to this thread?


And as you noticed, you should *not* uninstall all packages with baloo in the name to get rid of Baloo.
Actually you can just disable file indexing in the settings.

But if you really want to get rid of it completely, just uninstall baloo5-file, that's the actual file indexer.

Thank you for your help. I am sorry for the late reply, but I didn’t have internet connection for the past few days and had to get along with icewm :’(.

I was able to restore the plasma desktop. Unfortunately, I the problems with baloo persist. Since I am not sure, what would be the drawback of removing baloo-5? I guess that disabling the file indexing is a better idea, but unfortunately I don’t know how to do that.
I usually do

balooctl disable

but this is not permanent.

If you mean you couldn’t connect in IceWM: there are other NetworkManager frontents available that work in IceWM too, nm-applet in particular (part of the package NetworkManager-gnome) or the text mode interface nmtui (which is installed by default).

They should even see your already configured connections, you may have to reenter passwords though if they are stored in KDE’s wallet.

Since I am not sure, what would be the drawback of removing baloo-5?

There should be no drawback (except that file indexing won’t work of course :wink: )

I guess that disabling the file indexing is a better idea, but unfortunately I don’t know how to do that.

Configure Desktop (systemsettings5)->Search->File Search

This has nothing at all to do with Baloo, it’s about KRunner (the Alt+F2 dialog).

And “Clear History” will not delete Baloo’s index nor will it force a re-index.
It just clears KRunner’s history.

PS: If baloo eats your whole memory, it’s likely caused by some specific file it tries to index.
So it may also help to just exclude a certain folder (in the same settings dialog)…

If you don’t want to use Baloo anyway, it’s definitely better to disable it completely though.