Re: [Tracker] runtime checking for tracker availability
- From: "Edward Duffy" <eduffy gmail com>
- To: "Mikkel Kamstrup Erlandsen" <mikkel kamstrup gmail com>
- Cc: Tracker List <tracker-list gnome org>
- Subject: Re: [Tracker] runtime checking for tracker availability
- Date: Thu, 19 Oct 2006 18:13:35 -0400
Until dbus 0.9+ makes into most distros, you can check the lock file
# lsof ~/.Tracker/${USER}_tracker_lock
this'll return 0 if trackerd is running by ${USER}, 1 otherwise.
On 10/19/06, Mikkel Kamstrup Erlandsen <mikkel kamstrup gmail com> wrote:
Is there an easy *clean* way to check if tracker is installed at runtime? I
thinking here namely on the deskbar handler which needs to do this.
I have been playing around with some dbus stuff. I need a call to check
whether tracker is available without starting it (via dbus activation)!
dbus.bus.ListActivatableNames was added in dbus 0.91.0 but edgy only has
0.70.0...
Cheers,
Mikkel
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]