Current problems with baloos config and open subtask:
- Investigate why balooctl config add still writes ~/.config/baloorc and not only baloofilerc. See also T1562. Review: D16392
- Deduplicate logic from Baloo KCM and balooctl
- Allow adding of includeFolders in the KCM
- Correctly show excludeFolders below explicit (non-$HOME) includeFolders in KCM
- Correlctly show excludeFolders below explicit (non-$HOME) includeFolders in balooctl config list
Some of the problems stem from the fact the listed folders are based on e.g. BalooConfig::excludeFolders(), which only provides the cleaned up folder list, after e.g. considering accessible mountpoints.
Related Bugs: https://bugs.kde.org/show_bug.cgi?id=399849