GNOME Bugzilla – Bug 622288
Migrate to GSettings to make it easier to change default settings
Last modified: 2011-03-08 16:17:12 UTC
Right now, if I want to change a default setting for some part of tracker, I have to patch the code. Distributors really need a simple way to change the default by tweaking some file in /etc or /usr/share/tracker As an example, in openSUSE, we want to not index removable devices by default. And it means we have to patch src/miners/fs/tracker-config.c to change DEFAULT_INDEX_REMOVABLE_DEVICES to FALSE. That's horrible, especially as it means someone who would want to create a derivative will not have the chance to change the default enforced by openSUSE.
Hi Vincent, Yes, we patch the config for MeeGo too. It certainly makes sense. We will look into doing this.
Oh, btw, for this to work really well, it's important that the complete config does not get copied into the user dir: the user config should only consist of the changes the user explicitly made. This way, changing defaults at a later point will also work for users with a configuration. (so, hrm, actually, using GSettings would solve all this ;-))
Updating version
Oops, did this to the wrong bug :/ I meant to update the title.
There is now a "gsettings" branch implementing this
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. This won't be appearing in the tracker-0.10 releases.