summaryrefslogtreecommitdiff
path: root/data/caribou-autostart.desktop.in.in
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2013-06-24 08:21:22 +0100
committerDavid King <amigadave@amigadave.com>2014-09-01 11:03:25 +0100
commit147d3ecde3ec5f9153ce05208a043a802d320b3d (patch)
treecfc66bf278a5c34c6d25af96915bc8820bf80932 /data/caribou-autostart.desktop.in.in
parentc53fd1edbcb2b4bbe664c58dc25fa7877d62d1b4 (diff)
downloadcaribou-147d3ecde3ec5f9153ce05208a043a802d320b3d.tar.gz
daemon: Start with D-Bus activation
Install the daemon to libexecdir. Make the daemon own a name on the session bus, and install a D-Bus service file for it. Allow the name to be replaced by another process, so that a D-Bus activated daemon can be replaced by a GSettings-key autostarted daemon. Handle run() being called multiple times. https://bugzilla.gnome.org/show_bug.cgi?id=683712
Diffstat (limited to 'data/caribou-autostart.desktop.in.in')
-rw-r--r--data/caribou-autostart.desktop.in.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/caribou-autostart.desktop.in.in b/data/caribou-autostart.desktop.in.in
new file mode 100644
index 0000000..4bd1c03
--- /dev/null
+++ b/data/caribou-autostart.desktop.in.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=Caribou
+Exec=@libexecdir@/caribou
+AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
+X-GNOME-AutoRestart=true
+#X-GNOME-Autostart-Phase=Initialization
+OnlyShowIn=GNOME;Unity;