[gdm] Add an autostart file for orca



commit 62a649de9513506eaebf09fcb30be445d6162614
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Sep 22 15:50:36 2012 -0400

    Add an autostart file for orca
    
    Add an autostart file for orca, and install it in
    /usr/share/gdm/greeter/autostart.
    
    This is necessary to make the screen reader switch in
    the a11y menu work in the login screen.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684474

 configure.ac                                    |    1 +
 data/Makefile.am                                |    1 +
 data/applications/Makefile.am                   |    1 -
 data/applications/orca-screen-reader.desktop.in |   15 ---------------
 data/autostart/Makefile.am                      |   13 +++++++++++++
 data/autostart/orca-autostart.desktop           |    7 +++++++
 6 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 79aad20..b39f3ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1544,6 +1544,7 @@ utils/Makefile
 data/gdm.conf
 data/Makefile
 data/applications/Makefile
+data/autostart/Makefile
 data/pixmaps/Makefile
 data/pixmaps/16x16/Makefile
 data/pixmaps/32x32/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 52d4a7d..794cd45 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,6 +3,7 @@ EXTRA_DIST =
 
 SUBDIRS =			\
 	applications		\
+	autostart		\
 	pixmaps			\
 	$(NULL)
 
diff --git a/data/applications/Makefile.am b/data/applications/Makefile.am
index cf4ecfa..1c81e05 100644
--- a/data/applications/Makefile.am
+++ b/data/applications/Makefile.am
@@ -18,7 +18,6 @@ desktop_in_files = 							\
 	gnome-shell.desktop.in						\
 	gnome-mag.desktop.in						\
 	gok.desktop.in							\
-	orca-screen-reader.desktop.in					\
 	polkit-gnome-authentication-agent-1.desktop.in			\
 	$(NULL)
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)			\
diff --git a/data/autostart/Makefile.am b/data/autostart/Makefile.am
new file mode 100644
index 0000000..fa7d1e8
--- /dev/null
+++ b/data/autostart/Makefile.am
@@ -0,0 +1,13 @@
+NULL =
+
+desktopdir = $(pkgdatadir)/greeter/autostart
+desktop_DATA = orca-autostart.desktop					\
+	       $(NULL)
+
+EXTRA_DIST =								\
+	$(desktop_DATA)							\
+	$(NULL)
+
+MAINTAINERCLEANFILES =                  				\
+        *~                              				\
+        Makefile.in
diff --git a/data/autostart/orca-autostart.desktop b/data/autostart/orca-autostart.desktop
new file mode 100644
index 0000000..944cfd7
--- /dev/null
+++ b/data/autostart/orca-autostart.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Orca screen reader
+Exec=orca --disable main-window,splash-window --enable speech,braille
+NoDisplay=true
+AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-reader-enabled
+X-GNOME-AutoRestart=true



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