Re: [Tracker] pausing/throttling/etc trackerd from command line?
- From: wayne <wayne jawnee org>
- To: Martyn Russell <martyn imendio com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] pausing/throttling/etc trackerd from command line?
- Date: Thu, 19 Mar 2009 13:35:35 +0000
On Thu, 2009-03-19 at 09:04 +0000, Martyn Russell wrote:
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.
thanks again. i have installed d-feet. unfortunately, the "Object Paths" for org.freedesktop.Tracker are empty. other interfaces in d-feet have Object Paths (e.g. Gnome Do, HAL), though some like Tracker are empty. i do not know enough about DBus to know why :) thanks.
For a list of all DBus interface signals and methods, see the
introspection XML files in:
data/dbus/*.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]