Am 22.06.2017 um 05:13 schrieb Michael Biebl:
> Am 22.06.2017 um 05:02 schrieb Jeremy Bicha:
>> Package: tracker
>> Version: 1.12.0-1
>>
>> Ubuntu does not install tracker by default. When I install an app that
>> needs tracker like gnome-photos, tracker is installed. It does not
>> start indexing until after I log out and log back in. That presents a
>> poor experience to users who have no idea why the newly-installed
>> GNOME apps appears to be useless.
>>
>> It would be great if tracker would start indexing as soon as it is installed.
> 
> tracker-store is indeed started via /etc/xdg/autostart, like many other
> service.
> IIRC a long time ago we actually had D-Bus activation for tracker-store,
> but people were unhappy because this made it harder to disable tracker
> if a start was not desired.

Ok, I guess I did not remember correctly, tracker-store is still D-Bus
activatable, but a start of tracker-store via D-Bus activation does not
automatically trigger the start of the miners.
It does have the necessary mechanisms to do that though, see
"tracker daemon --start".

Tbh, I don't know the reasoning behind having
/etc/xdg/autostart/tracker-* autostart instead of letting tracker-store
control the start/stop of the services.

A nice side effect of not using xdg autostart files but using D-Bus
activation for the miners would be, that the miners could be started as
systemd user services.

See https://bugzilla.gnome.org/show_bug.cgi?id=770786 which seems
related to your issue, especially
https://bugzilla.gnome.org/show_bug.cgi?id=770786#c2

Maybe follow up there?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to