https://bugs.kde.org/show_bug.cgi?id=521101
Bug ID: 521101
Summary: Change default indexed folders in Baloo to specific
xdg-user-dirs (instead of whole home directory)
Classification: Frameworks and Libraries
Product: frameworks-baloo
Version First unspecified
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
I propose to change the _default_ settings for Baloo, so by default is indexes
only the following
[xdg-user-dirs](https://www.freedesktop.org/wiki/Software/xdg-user-dirs):
- Documents
- Video
- Pictures
- Music
- Templates – I’m torn on this one
- Projects – I’m torn on this one
- Desktop – I don’t use it, but I can see how most people do; and since it’s
probably empty if you don’t, it should cause no issues
- Public – I don’t use it, but I can see how it could be useful, if you do; and
since it’s probably empty if you don’t, it should cause no issues
personally, I also index the following, but would not expect these to be part
of a default setting:
- `~/Notes` – zettlekasten-ish MarkDown notes
- `~/Blog` – MarkDown sources for my blog
- `~/Library` – ebooks (Calibre)
- `~/Podcasts and audiobooks` – because they are ephemeral I separate them from
Music (and don’t back them up)
If we rely on the xdg-user-dirs, that should account also for the localized
versions of those folders, which is a plus. Those are also listed in _System
Settings ↦ Places_
STEPS TO REPRODUCE
1. Install KDE Plasma
2. Log in
3. Notice Baloo consuming resources and wonder why
4. Search for something, notice Baloo showing files you don’t care about
5. Complain about Baloo being crap (j/k)
OBSERVED RESULT
Baloo, by default, indexes the whole home folder, which can cause unexpected
behaviour like indexed files that you did not want to (download, cache,
configs, random code …) and spending more time/resources indexing than desired.
EXPECTED RESULT
Baloo should, by defaul, index only folders that are most commonly relevant.
While letting the user change the settings to include more (or less), if
desired.
SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 32 GiB of RAM (30.7 GiB usable)
Graphics Processor: AMD Radeon Graphics
ADDITIONAL INFORMATION
Baloo is great, but the meme persists that one should disable it, because it
consumes too much resources and is too trigger happy etc.
I think the main issue is that by default Baloo scans way too much, and that
causes most of the issue people have with it. This is why I propose to change
the defaults. Power users can then still change the defaults as they wish.
In addition, I would propose to provide also UI for more fine-grained
inclusions/exclusions, so people can decide themselves if (and where) they want
to include or exclude certain types of files. IMHO the defaults for the file
exclusions are pretty good for an average user, but the lack of documentation
and discoverablility seems to have led to several bug reports and ire online.
So making these easier to find and edit, would IMHO go a long way.
Simple by default, powerful when needed :)
This potentially fixes (or at least mitigates):
https://bugs.kde.org/show_bug.cgi?id=487145
https://bugs.kde.org/show_bug.cgi?id=472004
https://bugs.kde.org/show_bug.cgi?id=425282
https://bugs.kde.org/show_bug.cgi?id=442453
https://bugs.kde.org/show_bug.cgi?id=474973 (Downloads folder is hard-coded
ignored, which confuses people; would be fixed if it was just not indexed by
default instead)
https://bugs.kde.org/show_bug.cgi?id=472525 (mitigates by default)
https://bugs.kde.org/show_bug.cgi?id=494525 (possibly mitigates, by default)
https://bugs.kde.org/show_bug.cgi?id=333433 (mitigates by default, but is still
a different relevant bug)
https://bugs.kde.org/show_bug.cgi?id=385802 (mitigates, but is an edge case)
https://bugs.kde.org/show_bug.cgi?id=489922 (relevant)
https://bugs.kde.org/show_bug.cgi?id=437189 (somewhat relevant/synergistic)
https://bugs.kde.org/show_bug.cgi?id=380893 (somewhat relevant/synergistic)
https://bugs.kde.org/show_bug.cgi?id=493378 (somewhat relevant)
https://bugs.kde.org/show_bug.cgi?id=458925 (somewhat relevant)
https://bugs.kde.org/show_bug.cgi?id=510479 (somewhat relevant)
https://bugs.kde.org/show_bug.cgi?id=388967 (a different approach to fixing
this issue)
--
You are receiving this mail because:
You are watching all bug changes.