From 83f4d6b7855edfa8db0951d22d429cbcec946c99 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 28 Oct 2013 17:15:33 -0700 Subject: Add in support for XDG Autostart --- data/Makefile.am | 13 +++++++++++++ data/indicator-datetime.desktop.in | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100644 data/indicator-datetime.desktop.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 1875716..daaac51 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -30,6 +30,19 @@ BUILT_SOURCES += $(upstart_jobs_DATA) CLEANFILES += $(upstart_jobs_DATA) EXTRA_DIST += $(upstart_jobs_in) +# +# the xdg autostart job file +# + +xdg_autostartdir = /etc/xdg/autostart +xdg_autostart_DATA = indicator-datetime.desktop +xdg_autostart_in = $(xdg_autostart_DATA:.desktop=.desktop.in) +$(xdg_autostart_DATA): $(xdg_autostart_in) + $(AM_V_GEN) $(SED) -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ +BUILT_SOURCES += $(xdg_autostart_DATA) +CLEANFILES += $(xdg_autostart_DATA) +EXTRA_DIST += $(xdg_autostart_in) + # # the gnome-control-center panel # diff --git a/data/indicator-datetime.desktop.in b/data/indicator-datetime.desktop.in new file mode 100644 index 0000000..90ea7f0 --- /dev/null +++ b/data/indicator-datetime.desktop.in @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Indicator Date & Time +Exec=@libexecdir@/indicator-datetime-service +NotShowIn=Unity; +NoDisplay=true +StartupNotify=false +Terminal=false + -- cgit v1.2.3