Re: [Tracker] pausing/throttling/etc trackerd from command line?
- From: Martyn Russell <martyn imendio com>
- To: wayne <wayne jawnee org>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] pausing/throttling/etc trackerd from command line?
- Date: Thu, 19 Mar 2009 09:04:03 +0000
wayne wrote:
On Wed, 2009-03-18 at 12:46 +0000, Martyn Russell wrote:
Philip Van Hoof wrote:
> We're making it possible to pause the indexer using DBus, so using
> dbus-send it'll be possible to do this (for example).
>
> Martyn is (or has) implementing this. Added Martyn in CC.
>
Philip is right, you can use DBus (or d-feet the application to use the
interfaces we expose). We also watch for changes to tracker.cfg so if
you change the throttle there, it should be picked up and changed in
real time without any restarts needed.
thanks for the info. is there a place one can find the "spec" for the
messages the Tracker listens for. at least besides the source code?
thanks for a very useful piece of software.
The DBus interfaces are the best place to start for this I would say. If
you use d-feet:
https://fedorahosted.org/d-feet/
You can see all the interfaces Tracker makes public and use the API that
way. In particular you are probably interested in the service:
org.freedesktop.Tracker
and the interface:
/org/freedesktop/Tracker/
using the method:
SetBoolOption
If you use the string:
Pause
You can control if the whole stack is paused or not.
The tracker-applet also does this using the context menu in the
notification area.
For a list of all DBus interface signals and methods, see the
introspection XML files in:
data/dbus/*.xml
--
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]