From 20ef67d77138f70a0cd637189acf4c606da2773c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 Feb 2014 22:34:41 -0600 Subject: Add in the upstart xdg override --- data/Makefile.am | 16 +++++++++++++++- data/indicator-keyboard.desktop.in | 8 ++++++++ data/upstart/indicator-keyboard.desktop.in | 9 +++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 data/indicator-keyboard.desktop.in create mode 100644 data/upstart/indicator-keyboard.desktop.in (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 9c42ccf0..91c94dfb 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,6 @@ + +SUBDIRS = upstart + ########################### # Icon Generator ########################### @@ -46,6 +49,16 @@ upstart_jobs_DATA = indicator-keyboard.conf %.conf: %.conf.in $(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ +########################### +# XDG Autostart File +########################### + +xdg_autostartdir = /etc/xdg/autostart +xdg_autostart_DATA = indicator-keyboard.desktop + +%.desktop: %.desktop.in + $(AM_V_GEN) sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + ########################### # Indicator Config ########################### @@ -85,5 +98,6 @@ gschemas.compiled: $(gsettings_SCHEMAS) EXTRA_DIST = $(dist_service_DATA) \ $(dist_indicator_DATA) \ $(gsettings_SCHEMAS) \ - indicator-keyboard.conf.in + indicator-keyboard.conf.in \ + indicator-keyboard.desktop.in diff --git a/data/indicator-keyboard.desktop.in b/data/indicator-keyboard.desktop.in new file mode 100644 index 00000000..9c611160 --- /dev/null +++ b/data/indicator-keyboard.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Indicator Keyboard +Exec=@libexecdir@/indicator-keyboard-service +OnlyShowIn=Unity; +NoDisplay=true +StartupNotify=false +Terminal=false diff --git a/data/upstart/indicator-keyboard.desktop.in b/data/upstart/indicator-keyboard.desktop.in new file mode 100644 index 00000000..229199f1 --- /dev/null +++ b/data/upstart/indicator-keyboard.desktop.in @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Indicator Keyboard +Exec=@libexecdir@/indicator-keyboard-service +OnlyShowIn=Unity; +NoDisplay=true +StartupNotify=false +Terminal=false +Hidden=true -- cgit v1.2.3