Please consider adding a whitelist version of the blacklisting functionality in the baloo file indexer KCM. Rationale: it's possible to have lots of stuff dumped in $HOME that you don't particularly want baloo to index such as: - Virtual machines, disk images, config files. - Locally installed applications, related settings and resources - Object files and other results of some compiler transforming some source file. Still even in that case it would be useful to have baloo index *some* locations like ~/Documents or ~/Pictures In such situations it is much easier and quicker to whitelist things you do want baloo to index because you necessarily know that these places exist, but you may not necessarily know what cruft is generated by 3rd party software like a vendor IDE, SDK or remote desktop apps. Examples that spring to mind: repackaged versions of Eclipse such as LPCExpresso, Matlab, VHDL/Verilog tooling, Android SDKs, kdesrc-build and its output, stuff downloaded with GHNS (like 3rd party wallpapers, text editor snippets, plasma widgets). Reproducible: Always
As I mentioned in Bug 353193, the key here is to only index relevant folders (which makes searches return only relevant items) and allow the user to add additional folders.
*** Bug 354838 has been marked as a duplicate of this bug. ***
And then there is this problem: how to add a folder to the search and index of Baloo that is on an other partition? In this case a white-list option would be great!
I also think a whitelist should preceed a blacklist. The current blacklist aswell as the new whitelist functionality should be editable in the kde 'file search' control module as well. Basic functionality IMO.
After looking again, the whitelist is already there, isn't it? Basically the folders[$e]=/folder1,/folder2 Am I right?
I'm using kde Neon at the moment. I read that they made a whitelist option but on my system it is still not there. I guess I have to be a little patient.
The indexing code supports whitelisting, it's just not exposed in any UI (yet)
*** Bug 386775 has been marked as a duplicate of this bug. ***
The existing whitelist functionality is only for folders, as far as I can see. A related topic is also to whitelist file types. For example, baloo will not index text files with the extension .org (as explained here https://askubuntu.com/q/1130784/244753). It would be good if one could explicitly add file extensions to the list of files being indexed.
*** Bug 333743 has been marked as a duplicate of this bug. ***
I am using Neon KDE with plasma 5.19.4 and as far as I can see this bug is fixed. KDE became even more usable! Great! If I am not mistaking this bug could be marked as "fixed"...
Indeed, this was implemented in 5.19!