Re: [Tracker] Tracker command-line



Le Thu, 01 Jul 2010 17:24:39 +0200,
Simon Hintermann <hintermann simon gmail com> a écrit :

Hi all,

I use Tracker on my Ubuntu, and I am very happy with it!

I want now to get on the next level and try some indexing on my
servers... but I can't, I apparently need at least an X11 running.

Is that true? I can't use tracker in a full command-line mode? I tried
to compile it manually, searched for some hard-to-find-under-the-hood
parameter of "configure", but no luck with it.

Before I spend too much time on it, I'm asking you if it is possible
or not.

Thanks
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list

Hello Simon,

to run, tracker only needs a DBus session. You can run a DBus session
without X, that would be something like:
dbus-daemon --session --print-adress (that will print the dbus address
on stdout)
then
export DBUS_SESSION_BUS_ADDRESS=the_address_outputed_by_dbus
then
tracker-store

that would start tracker store then you'd need to start
tracker-miner-fs, where DBUS_SESSION_BUS_ADDRESS is also set to the
right value. From there, you can run Sparql queries either by using
tracker-search, tracker-sparql or the DBus interface of tracker-store.

Cheers

Adrien



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