aboutsummaryrefslogtreecommitdiff
path: root/data/upstart
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-06-20 09:58:28 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-06-20 09:58:28 +0000
commit867013a6f1e04f9db1e5bdd6719d9a545fdd2d27 (patch)
tree8cf9d8fc17003b8fca83c74ee85d96767a093f65 /data/upstart
parent910a4108c6cc47b2f139a490d22fd1a8dfaef3c3 (diff)
parente17991a23d176b7ab26e786d01819df24f529cff (diff)
downloadayatana-indicator-keyboard-867013a6f1e04f9db1e5bdd6719d9a545fdd2d27.tar.gz
ayatana-indicator-keyboard-867013a6f1e04f9db1e5bdd6719d9a545fdd2d27.tar.bz2
ayatana-indicator-keyboard-867013a6f1e04f9db1e5bdd6719d9a545fdd2d27.zip
Synchronize process management across indicators
Diffstat (limited to 'data/upstart')
-rw-r--r--data/upstart/Makefile.am12
-rw-r--r--data/upstart/indicator-keyboard.desktop.in9
2 files changed, 21 insertions, 0 deletions
diff --git a/data/upstart/Makefile.am b/data/upstart/Makefile.am
new file mode 100644
index 00000000..c0b6a2eb
--- /dev/null
+++ b/data/upstart/Makefile.am
@@ -0,0 +1,12 @@
+###########################
+# Upstart XDG Override
+###########################
+
+xdg_autostartdir = $(datadir)/upstart/xdg/autostart
+xdg_autostart_DATA = indicator-keyboard.desktop
+
+%.desktop: %.desktop.in
+ $(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
+
+EXTRA_DIST = indicator-keyboard.desktop.in
+
diff --git a/data/upstart/indicator-keyboard.desktop.in b/data/upstart/indicator-keyboard.desktop.in
new file mode 100644
index 00000000..ec7e565c
--- /dev/null
+++ b/data/upstart/indicator-keyboard.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=Indicator Keyboard
+Exec=@pkglibexecdir@/indicator-keyboard-service
+OnlyShowIn=Unity;
+NoDisplay=true
+StartupNotify=false
+Terminal=false
+Hidden=true