English

# How do I disable tracker in GNOME?

I was having performance problems, and I discovered that tracker was churning through my filesystem. This is an infeasible task for it, as it contains an extremely large number of files.

How do I disable it?

edit retag close merge delete

Sort by » oldest newest most voted

as of 2014, try command:

tracker-preferences


a gui pops up and you can uncheck anything you like

more

2

On a normal installation of Fedora 22, you have to install tracker-preferences prior to starting it. ( dnf install tracker-preferences )

( 2015-08-31 18:32:34 +0000 )edit

tracker-control is also handy in a session .. kill and remove the databases with:

tracker-control -r


then check the status

tracker-control -S

more

1

With tracker-preferences you can change, when tracker is started. Best idea is to start it only, when the computer is idle. See this guide http://www.putorius.net/2014/12/disable-tracker-on-fedora-21-fedora-20.html

( 2015-03-04 16:48:42 +0000 )edit

Please edit your reply because tracker-control command has been removed and now tracker tool has these options.

tracker reset
tracker status

( 2016-06-22 06:54:10 +0000 )edit

In GNOME 3.2 there was no user interface so the only way was to copy the following files

/etc/xdg/autostart/tracker-miner-flickr.desktop
/etc/xdg/autostart/tracker-miner-fs.desktop
/etc/xdg/autostart/tracker-store.desktop


to your .config/autostart directory and edit all of them setting this value to false:

X-GNOME-Autostart-enabled=false


You can also delete .cache/tracker directory - this is where Tracker stores the index. It can be quite huge (1 GiG for me). Then kill all tracker processes or restart your computer.

Newer GNOME 3 version support that.

more

You can do the same using UI - run gnome-session-properties in a terminal and unclick all three items there. Restart.

( 2011-11-19 22:08:54 +0000 )edit

There is an interface: gnome-session-properties Just run it in disable unneeded services

more

[See my Post Script at the bottom if you have read this before.] First of all, I am running Fedora 20 on a desktop system with the development features and gnome 3. It wasn't long after I began that I noticed lack of keyboard response bordering on no keyboard at all so I looked and found that my disk light was on continuously. Realizing from past experience that this is the tracker-miner, I looked for it and found it in the system monitor.

I haven't seen any disadvantage to simply (as root) removing permissions from the executables in /bin/track* and /usr/libexec/track* but a subsequent update did reverse my actions. That does not mean that there were or are disadvantages although all the applications I used (Firefox, Thunderbird, Libre Office and a vew utilities) don't seem to suffer. YMMV.

Recently I decided to try another tactic and apparently I have succeeded in reducing the hold on my system. I used several changes and then restored the correct permissions to the executables.

(1.) I ran "gnome-session-properties" from a terminal which did not show tracker and so was dismissed. No help there.

(2.) I ran "tracker-preferences" from a terminal which is more helpful, but after a trial with my mods, went back to the defaults. See the Post Script. **

(3.) I also changed these files: ~/.config/autostart/tracker* but primarily tracker-miner-fs.desktop and tracker-store.desktop: In tracker-miner-fs.desktop, I removed the foreign language names and added some options to the executable line:

  Exec="/usr/libexec/tracker-miner-fs --no-daemon --disable-miner=Applications --disable-miner=Userguides"

In tracker-store.desktop, I also removed the foreign language names and added an option to the executable:

Exec="/usr/libexec/tracker-store --low-memory"

It should not matter how much memory I actually have (2GB) or if I add more.


(4.) Finally, I needed to do a hard-reset of tracker and restart it as root which went like this:

 sudo tracker-control -t  # properly terminates tracker processes without damaging any data (hopefully)

sudo tracker-control -r  # kills any remaining processes and removes the databases

sudo tracker-control --start # starts miner processes and tracker-store


Perhaps not all of #4 needs to be run as root, but it's better to be safe.

So far, (just a few hours) I'm quite pleased again have control of my computer!

Please, if you try this, post here if it does not work for you. Remember, this is for a gnome (3) system. If you favor kde, there's a different path for you to follow.

**Post Script: I did have a problem with yumex for some reason and I could not remove it. Except for telling tracker that I have low memory - which seems to help considerably, by the way - I went back to the defaults in tracker-preferences. Rebooting seems to have helped with not being able to use yumex - I also removed and re-installed yumex. Tracker seems to behave now with the "low memory" option per above. There is one tracker-childtask, tracker-store is ...

more

You can go ahead and uninstall tracker, but the only issue is that gnome-documents uses this library and expects the tracker deamon to run on the background. So via uninstalling tracker you will loose gnome-documents. (at least)

You can take a look at below command output, if u can do some good -

# tracker-preferences


Also searching about tracker I like to point you to below link -

Above bug if you notice the last comment it states

See \$HOME/.config/tracker/tracker-miner-fs.cfg and the key CrawlingInterval. If set to -1 crawling is disabled entirely.

more

Ya , checking in later I found many of the applications are using tracker totem is one of them.

( 2011-11-10 13:56:18 +0000 )edit

in the end, after ahving tried all this I just got rid of it by disabling the dbus scripts that launch tracker in /usr/share/dbus-1/services. Just remove or rename the files in there with tracker1 in it.

more

[hide preview]