[caribou] Made seperate desktop file for autostart



commit ec6dc5c429300109339659550ff394bbd7c2af21
Author: Eitan Isaacson <eitan monotonous org>
Date:   Sun Mar 20 23:00:55 2011 -0700

    Made seperate desktop file for autostart

 data/Makefile.am                  |    5 +++++
 data/caribou-autostart.desktop.in |    7 +++++++
 data/caribou.desktop.in           |    1 -
 3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index afe1950..969eeaa 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,6 +8,11 @@ gsettings_SCHEMAS = $(gsettings_schemas_in_files:.gschema.xml.in=.gschema.xml)
 desktopdir = $(datadir)/applications
 desktop_in_files = caribou.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
+autostartdir	 = $(sysconfdir)/xdg/autostart
+autostart_in_files = caribou-autostart.desktop.in
+autostart_DATA   = $(autostart_in_files:.desktop.in=.desktop)
+
 @INTLTOOL_DESKTOP_RULE@
 
 EXTRA_DIST = $(desktop_in_files)
diff --git a/data/caribou-autostart.desktop.in b/data/caribou-autostart.desktop.in
new file mode 100644
index 0000000..da16726
--- /dev/null
+++ b/data/caribou-autostart.desktop.in
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Caribou
+Exec=caribou
+AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
+X-GNOME-AutoRestart=true
+#X-GNOME-Autostart-Phase=Initialization
diff --git a/data/caribou.desktop.in b/data/caribou.desktop.in
index 3083a75..312d766 100644
--- a/data/caribou.desktop.in
+++ b/data/caribou.desktop.in
@@ -8,7 +8,6 @@ Terminal=false
 Type=Application
 StartupNotify=true
 Categories=GNOME;GTK;Utility;Accessibility;
-AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Product=caribou
 X-GNOME-Bugzilla-Component=default



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]