diff options
author | Ted Gould <ted@gould.cx> | 2014-02-19 23:09:50 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-02-19 23:09:50 -0600 |
commit | 98b1efd83f290d796c7f86a60f98495b9ee69290 (patch) | |
tree | 1bdf603697ae260f854188473ba908786af0a101 | |
parent | f77b257981d4b9951f7214bbc80b9ca2e212f26e (diff) | |
download | ayatana-indicator-messages-98b1efd83f290d796c7f86a60f98495b9ee69290.tar.gz ayatana-indicator-messages-98b1efd83f290d796c7f86a60f98495b9ee69290.tar.bz2 ayatana-indicator-messages-98b1efd83f290d796c7f86a60f98495b9ee69290.zip |
Add an XDG autostart config file
-rw-r--r-- | data/Makefile.am | 8 | ||||
-rw-r--r-- | data/indicator-messages.desktop.in | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index b89fa51..8752076 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,5 +1,11 @@ SUBDIRS = icons +xdg_autostartdir = /etc/xdg/autostart +xdg_autostart_DATA = indicator-messages.desktop + +%.desktop: %.desktop.in + $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@ + upstart_jobsdir = $(datadir)/upstart/sessions/ upstart_jobs_DATA = indicator-messages.conf @@ -13,8 +19,10 @@ indicatordir = $(INDICATOR_DIR) dist_indicator_DATA = com.canonical.indicator.messages EXTRA_DIST = \ + indicator-messages.desktop.in \ indicator-messages.conf.in \ $(gsettings_SCHEMAS) CLEANFILES = \ + $(xdg_autostart_DATA) \ $(upstart_jobs_DATA) diff --git a/data/indicator-messages.desktop.in b/data/indicator-messages.desktop.in new file mode 100644 index 0000000..aac7d7e --- /dev/null +++ b/data/indicator-messages.desktop.in @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Indicator Messages +Exec=@pkglibexecdir@/indicator-messages-service +StartupNotify=false +Terminal=false +OnlyShowIn=Unity; |