aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-28 17:01:19 -0700
committerTed Gould <ted@gould.cx>2013-10-28 17:01:19 -0700
commit96efd3b86974e72d1c23a328e6892cacefc79e8c (patch)
tree76335695257cf5128fcfdd2a86543c657a8c1a84
parent66236504d51b7659b32307bdd36ab5a83200a158 (diff)
downloadayatana-indicator-application-96efd3b86974e72d1c23a328e6892cacefc79e8c.tar.gz
ayatana-indicator-application-96efd3b86974e72d1c23a328e6892cacefc79e8c.tar.bz2
ayatana-indicator-application-96efd3b86974e72d1c23a328e6892cacefc79e8c.zip
Adding an XDG Autostart file
-rw-r--r--.bzrignore1
-rw-r--r--data/Makefile.am7
-rw-r--r--data/indicator-application.desktop.in9
3 files changed, 17 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 618ca76..317a187 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -111,3 +111,4 @@ bindings/mono/policy.0.0.appindicator-sharp.dll
src/libapplication_la-generate-id.lo
src/libappindicator_la-generate-id.lo
indicator-application.conf
+indicator-application.desktop
diff --git a/data/Makefile.am b/data/Makefile.am
index c6e82b2..77ec71d 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,10 +5,17 @@ upstart_jobs_DATA = indicator-application.conf
%.conf: %.conf.in
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+xdg_autostartdir = /etc/xdg/autostart
+xdg_autostart_DATA = indicator-application.desktop
+
+%.desktop: %.desktop.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
overridedir = $(pkgdatadir)
override_DATA = ordering-override.keyfile
EXTRA_DIST = \
+ indicator-application.desktop.in \
indicator-application.conf.in \
ordering-override.keyfile
diff --git a/data/indicator-application.desktop.in b/data/indicator-application.desktop.in
new file mode 100644
index 0000000..61d3c4d
--- /dev/null
+++ b/data/indicator-application.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Indicator Application
+Exec=@libexecdir@/indicator-application-service
+NotShowIn=Unity;
+NoDisplay=true
+StartupNotify=false
+Terminal=false
+