Gnome Tracker
What Is Gnome Tracker?¶
The Gnome Tracker indexes content from the file system (home directory) and metadata. This provides an ability to do full-text searches to locate data or better interaction within various applications.
Tracker is made up of several components.
Component | Description |
---|---|
tracker-store | Database indexer and query daemon. |
tracker-miner-fs | A daemon responsible for crawling the file system for data. |
tracker-miner-rss | Populate Tracker with RSS feed data. |
tracker-extract | Extracts metadata from files. |
tracker-writeback | Write metadata set in Tracker back to physical files. |
How To Disable Gnome Tracker¶
Use one of the following solutions.
Gnome Settings¶
- Open Gnome Settings.
- In the vertical navigation bar on the left, left mouse click on "Search".
-
At the top right, left mouse click on the toggle switch to disable.
Note
The toggle switch position should be on the left to indicate it is disabled.
Note
Some users have reported that this does not truly disable the Tracker as of Gnome v3.34. See another solution.
Systemd¶
Current User¶
- Open the terminal.
-
Mask Tracker's services.
$ systemctl --user mask tracker-store.service tracker-miner-fs.service tracker-miner-rss.service tracker-extract.service tracker-miner-apps.service tracker-writeback.service
Note
A warning may occur for some of these services due to not existing. You can safely ignore this warning as some systems do not include all of these services.
-
Kill all Tracker processes and remove all databases.
$ tracker reset -r
CAUTION: This process may irreversibly delete data. Although most content indexed by Tracker can be safely reindexed, it can’t be assured that this is the case for all data. Be aware that you may be incurring in a data loss situation, proceed at your own risk. Are you sure you want to proceed? [y|N]: y
- Reboot the system.
$ systemctl reboot
- Verify all services are disabled.
$ tracker daemon -p
Found 0 PIDs...
System Wide¶
- Open the terminal.
-
Mask Tracker's services.
# systemctl mask tracker-store.service tracker-miner-fs.service tracker-miner-rss.service tracker-extract.service tracker-miner-apps.service tracker-writeback.service
Note
A warning may occur for some of these services due to not existing. You can safely ignore this warning as some systems do not include all of these services.
-
Kill all Tracker processes and remove all databases.
# tracker reset -r
CAUTION: This process may irreversibly delete data. Although most content indexed by Tracker can be safely reindexed, it can’t be assured that this is the case for all data. Be aware that you may be incurring in a data loss situation, proceed at your own risk. Are you sure you want to proceed? [y|N]: y
- Reboot the system.
$ systemctl reboot
Disable Autostart¶
The X Window autostart processes are started by the following files.
/etc/xdg/autostart/tracker-extract.desktop
/etc/xdg/autostart/tracker-miner-apps.desktop
/etc/xdg/autostart/tracker-miner-fs.desktop
/etc/xdg/autostart/tracker-miner-rss.desktop
/etc/xdg/autostart/tracker-store.desktop
Note
Some of the autostart files may not exist due to system configuration.
Current User¶
- Open terminal.
- Create autostart directory.
$ mkdir ~/.config/autostart
- Copy X Window autostart files.
$ cp -v /etc/xdg/autostart/tracker-* ~/.config/autostart/
'/etc/xdg/autostart/tracker-extract.desktop' -> '/home/username-here/.config/autostart/tracker-extract.desktop' '/etc/xdg/autostart/tracker-miner-fs.desktop' -> '/home/username-here/.config/autostart/tracker-miner-fs.desktop' '/etc/xdg/autostart/tracker-miner-rss.desktop' -> '/home/username-here/.config/autostart/tracker-miner-rss.desktop' '/etc/xdg/autostart/tracker-store.desktop' -> '/home/username-here/.config/autostart/tracker-store.desktop'
- Disable each X Window autostart file.
$ for FILE in $(ls ~/.config/autostart/tracker-*); do echo "Hidden=true" >> $FILE; done
- Kill all Tracker processes and remove all databases.
$ tracker reset -r
CAUTION: This process may irreversibly delete data. Although most content indexed by Tracker can be safely reindexed, it can’t be assured that this is the case for all data. Be aware that you may be incurring in a data loss situation, proceed at your own risk. Are you sure you want to proceed? [y|N]: y
- Reboot the system.
$ systemctl reboot
- Verify there is no Tracker processes running.
$ tracker daemon -p
Found 0 PIDs...
How To Enable Gnome Tracker¶
Systemd¶
Current User¶
- Open the terminal.
-
Mask Tracker's services.
$ systemctl --user unmask tracker-store.service tracker-miner-fs.service tracker-miner-rss.service tracker-extract.service tracker-miner-apps.service tracker-writeback.service
Note
A warning may occur for some of these services due to not existing. You can safely ignore this warning as some systems do not include all of these services.
-
Kill all Tracker processes and remove all databases.
$ tracker reset -r
- Reboot the system.
$ systemctl reboot
System Wide¶
- Open the terminal.
-
Mask Tracker's services.
# systemctl unmask tracker-store.service tracker-miner-fs.service tracker-miner-rss.service tracker-extract.service tracker-miner-apps.service tracker-writeback.service
Note
A warning may occur for some of these services due to not existing. You can safely ignore this warning as some systems do not include all of these services.
-
Kill all Tracker processes and remove all databases.
# tracker reset -r
- Reboot the system.
$ systemctl reboot
How To Remove Gnome Tracker¶
In most situations Gnome Tracker cannot be removed as it is a dependency of another desired application. For this reason it is recommended to Disable Gnome Tracker instead.
External Links¶
- Projects/Tracker - GNOME Wiki
- List of applications - ArchWiki
- How To Completely Disable Tracker, GNOME's File indexing And Search Tool
- Disable Tracker on Fedora 29, CentOS 7 and Red Hat 7
- tracker-store and tracker-miner-fs eating up my CPU on every startup
- Desktop entries - ArchWiki
- Desktop Entry Specification