Re: [Tracker] tracker-preferences and config file behavior in 0.12.x



On 31/10/11 18:09, Ken Schmedding wrote:
Greetings,

Hi there,

I have been testing 0.12.x and I admit I am confused about preference
selection in Tracker.
My testing reveal the following behavior.

1.  tracker-miner-fs.cfg is no longer created  in $home/.config/tracker
although some documentation says it will be.

Which documentation? Most documentation is wiki based can be updated if it's wrong ;)

This highly depends on your Tracker version.

2.  If I copy my tracker-miner-fs.cfg in and restart tracker the
directories I specified will be indexed.  tracker-miner-fs.cfg is then
deleted by tracker.  However when I restart tracker, the default
configuration is back.  It appears my tracker-miner-fs.cfg is a single
use configuration and gets deleted.

What version exactly of Tracker are you using?

We migrate configurations from GKeyFile --> GSettings, but we don't delete configurations. Of course using tracker-preferences will change things.

3.  If I change directory to index in tracker-preferences and restart
tracker my directory is indexed.  However I cannot find where this
configuration is stored.  It apparently is not anywhere under $home or
/usr/local.

The wiki has information about this here:

  http://live.gnome.org/Tracker/Documentation/Debugging

I just noticed that this link is out of date though, any updates you want to make there would be appreciated:

  http://live.gnome.org/Tracker/Documentation/GettingStarted

4.  tracker-control -c which is advertised as removing config files
appears to have no effect.  The configuration in tracker-preferences is
not reset to default.

It won't remove config files used in 0.10 if you're using 0.12. It will of course set the config to the defaults though. You can use dconf-editor to see the tracker config visually (under /org/freedesktop/tracker/).

There was a bug about this not working properly and it was fixed in 0.12.2:

  Fixes: GB#659806, tracker-control -c seems broken

I use tracker via external control from a Python program.  This all
worked quite nicely in the past but there appears to be no way I can
control tracker configuration now except via the tracker-preferences
GUI.  It also appears to me that tracker is migrating from .cfg files to
GSettings but it seems only half implemented.  Anyone have any
information on these observations?

Hopefully the above can help to some extent. If you need any more information, just ask.

--
Regards,
Martyn

Founder and CEO of Lanedo GmbH.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]