The project page mentions tracker-preferences but I don't have this command with version 2.0.3.

enter image description here


3 Answers 3


Ubuntu 20.04

Folders to include in scan can be specified in:

Settings → SearchSearch Locations (button on top bar)

Settings - Search - Search Location

Also you can exclude a specific folder and its subfolders by creating an empty .trackerignore file in the folder.


Update for Ubuntu 20.04

In Ubuntu 20.04 and 19.10, the package tracker-preferences is not available. To configure what folders and files Tracker indexes, as well as other settings such as indexing while on battery:

  • Install dconf Editor, either in Terminal via sudo apt install -y dconf-editor or in Ubuntu Software.
  • Run dconf Editor (search for it in the desktop search).
  • In dconf Editor, browse to org > freedesktop > Tracker > Miner > Files
  • Carefully modify the settings for Tracker
  • When you are done, simply close dconf Editor

Here is a screenshot of dconf Editor: enter image description here

This can all me done via the command line as well via gsettings. To view the available settings, use:

gsettings list-recursively org.freedesktop.Tracker.Miner.Files

For more information on Tracker, read the useful but hard-to-find Tracker FAQ.

  • 1
    For the record, this also applies to Ubuntu 22.04 "Jammy Jellyfish". May 3 at 19:47

The command tracker-preferences is from the tracker-gui package, but the package is not available for Ubuntu 17.10 Artful Aardvark. In fact in Artful, tracker is not installed by default.

For other supported versions (Trust and Xenial) You may have to install the tracker-gui package first in order to run tracker-preferences.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.