Summary: | By default cannot be used with Elisa for music files outside of $HOME | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Martin Steigerwald <Martin> |
Component: | general | Assignee: | Stefan Brüns <stefan.bruens> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | bugseforuns, heri+kde, nate, tagwerk19, zyzzyxdonta |
Priority: | NOR | ||
Version First Reported In: | 5.62.0 | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=427455 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | System Settings > Search [Screenshot of 2022/02] |
Description
Martin Steigerwald
2019-12-15 15:20:58 UTC
All reasonable enough UI suggestions. I just tested it more closely on adding some other folders outside of $HOME to Baloo indexing, it cannot be done with balooctl config: % LANG=en balooctl config set The following configuration options may be modified: hidden Controls if Baloo indexes hidden files and folders contentIndexing Controls if Baloo indexes file content balooctl does not give more options than the KCM. So the user really has to edit ~/.config/baloofilerc in order to use Elisa with Baloo file indexer on a folder outside of $HOME. (In reply to Martin Steigerwald from comment #2) > I just tested it more closely on adding some other folders outside of $HOME > to Baloo indexing, it cannot be done with balooctl config: > > % LANG=en balooctl config set > The following configuration options may be modified: > > hidden Controls if Baloo indexes hidden files and folders > contentIndexing Controls if Baloo indexes file content > > balooctl does not give more options than the KCM. > > So the user really has to edit ~/.config/baloofilerc in order to use Elisa > with Baloo file indexer on a folder outside of $HOME. $> balooctl config add The following configuration options may be modified: includeFolders The list of folders which Baloo indexes excludeFolders The list of folders which Baloo will never index excludeFilters The list of filters which are used to exclude files excludeMimetypes The list of mimetypes which are used to exclude files Created attachment 146210 [details]
System Settings > Search [Screenshot of 2022/02]
(In reply to Stefan Brüns from comment #3) > $> balooctl config add > The following configuration options may be modified: > > includeFolders The list of folders which Baloo indexes > excludeFolders The list of folders which Baloo will never index > excludeFilters The list of filters which are used to exclude files > excludeMimetypes The list of mimetypes which are used to exclude files Somewhere along the line, the functionality has been added to the GUI: https://bugs.kde.org/attachment.cgi?id=146210 ... Screenshot from a Fedora system, set up to index some extra space. Unfortunately, this still doesn't help with symlinks though. I have a setup similar to this: - /home/david is indexed - /mnt/media/david is indexed - Music directory in Elisa is set to /home/david/Musik - /home/david/Musik --> /mnt/media/david/Musik - /mnt/media/david/Musik/other --> /mnt/media/david/other-music But the music from /mnt/media/david/other-music does not appear in Elisa. Even if I change the music directory in Elisa to /mnt/media/david/Musik, it doesn't work. But that might be because Elisa considers the two directories to be the same. I'm not sure. Fedora configures Baloo to (only) index the music, pictures, movies, documents directories by default: https://src.fedoraproject.org/rpms/kf5-baloo/blob/f37/f/baloo-5.67.0-baloofile_config.patch Maybe this would be a good default config for everyone? (In reply to Dennis Schridde from comment #7) > Maybe this would be a good default config for everyone? Fedora users, I'd hope and suspect, have got used to Fedora's behaviour. However it introduces a bundle of eccentricities as Dolphin "falls back" to a more basic search (a "there and then" recursive scan down into your folders) if you move the an unindexed folder in Dolphin and then do a "From Here" search - and as in Fedora your $HOME is not indexed, you will normally end up with the slower/basic search. You can go down quite a rabbit hole if you want to work out whether a Dolphin search makes use of baloo and when not https://bugs.kde.org/show_bug.cgi?id=424871#c4 gives a breakdown of the complications (symlinks have their own summary in bug 447119) |