[tracker] Avoid starting tracker-store twice



commit 3ad3b79ef9f9e0ffbd6d00796007d70c6684a747
Author: Colin Walters <walters verbum org>
Date:   Fri Nov 22 15:45:53 2013 -0500

    Avoid starting tracker-store twice
    
    We install both of:
    
    /etc/xdg/autostart/tracker-store.desktop
    /usr/share/dbus-1/services/org.freedesktop.Tracker1
    
    If something else speaks to tracker via during login, what will happen
    is that dbus-daemon will spawn one, and gnome-session will also spawn
    one, and one of these will emit a critical message.
    
    To fix this, change the .desktop file merely use DBus (it'd be nice if
    there was an easier way to do this).
    
    Instead, maybe we could consider only dbus-activating tracker?  In
    other words, if nothing wants to talk to us, maybe we shouldn't be
    starting by default...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=715040

 data/tracker-store.desktop.in.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/tracker-store.desktop.in.in b/data/tracker-store.desktop.in.in
index 77ef451..309cbf1 100644
--- a/data/tracker-store.desktop.in.in
+++ b/data/tracker-store.desktop.in.in
@@ -2,7 +2,7 @@
 _Name=Tracker Store
 _Comment=Metadata database store and lookup manager
 Icon=
-Exec= libexecdir@/tracker-store
+Exec=gdbus call -e -d org.freedesktop.DBus -o /org/freedesktop/DBus -m 
org.freedesktop.DBus.StartServiceByName org.freedesktop.Tracker1
 Terminal=false
 Type=Application
 Categories=Utility;


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