Baloo/Configuration

From KDE Community Wiki
Revision as of 11:12, 12 May 2015 by Greenrd (talk | contribs) (new config file location)

This page documents all of the values that can be used to configure Baloo File Indexing. The config file is generally present in ~/.kde4/share/apps/config/baloofilerc in KDE 4, and ~/.config/baloofilerc in KDE 5.

Many of these changes will only take place on restarting the baloo_file process.

Enable / Disable

   [Basic Settings]
   Indexing-Enabled=true

This can be changed to true / false.

First Run

   [General]
   first run=false

This `first run` config value determines if Baloo has run through the entire file system and checked every file for indexing. If you ever delete the baloo db manually, this should be set to false so that baloo scans the entire file system tree again on startup.

Exclude Filters

   [General]
   exclude filters=autom4te,*.rcore,CTestTestfile.cmake,*.o,*.omf,.hg,*.m4,*.orig,.obj,moc_*.cpp,conftest,.pch,.xsession-errors*,CMakeTmpQmake,*.tmp,qrc_*.cpp,po,.svn,.histfile.*,lzo,.bzr,.git,litmain.sh,cmake_install.cmake,CMakeFiles,*.pc,*.nvram,*.elc,*.la,.moc,CMakeCache.txt,confdefs.h,*.gmo,*.csproj,*.rej,config.status,lost+found,confstat,*.pyc,_darcs,CVS,.uic,*.part,libtool,*.aux,*.po,CMakeTmp,Makefile.am,*.lo,ui_*.h,*.loT,*~,*.moc,*.vm*,*.class,core-dumps

This list of patterns is run against each file in order to determine if the file should be indexed.

Exclude Mimetypes

   [General]
   exclude mimetypes=text/plain, image/jpeg

By default a lot of source code is not indexed

Exclude Folders

   [General]
   exclude folders[$e]=$HOME/FolderA/,$HOME/FolderB/

This list is comma separated and is used to check which directories should never be indexed. By default this list is empty.

Include Folders

   [General]
   folders[$e]=$HOME/

This list governs which folders Baloo should index recursively. By default, it will index your $HOME directory.

Only index Files Names

   [General]
   only basic indexing=true

This will trigger Baloo to only index the filename.

Hidden Folders

   [General]
   index hidden folders=true