From 96efd3b86974e72d1c23a328e6892cacefc79e8c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 28 Oct 2013 17:01:19 -0700 Subject: Adding an XDG Autostart file --- data/Makefile.am | 7 +++++++ data/indicator-application.desktop.in | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 data/indicator-application.desktop.in (limited to 'data') 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 + -- cgit v1.2.3