[SCM] live-initramfs branch, master, updated. 1.157.4-1-14-gc1cb808

Daniel Baumann daniel at debian.org
Mon Oct 26 12:20:52 UTC 2009


The following commit has been merged in the master branch:
commit c1cb808665429a7faac9a30adeecb7cceb9ee757
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Oct 26 13:19:44 2009 +0100

    Merging casper 1.160.

diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index 1b181ae..6517de6 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,13 @@
+casper (1.160) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Adjust sudoers file to allow ORBIT_SOCKET_DIR, XDG_SESSION_COOKIE and
+      GTK_MODULES environment variables through to root, for v2, v3, and
+      braille profiles. This allows users to use administrative GTK/GNOME
+      applications executed by gksudo with accessibility tools like orca.
+
+ -- Luke Yelavich <themuso at ubuntu.com>  Tue, 10 Mar 2009 15:38:17 +1100
+
 casper (1.159) jaunty; urgency=low
 
   * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
index 1799e0e..27ddb3c 100755
--- a/scripts/live-bottom/30accessibility
+++ b/scripts/live-bottom/30accessibility
@@ -102,6 +102,7 @@ case ${ACCESS} in
 		gct -s -t string /desktop/gnome/applications/at/visual/exec orca
 		gct -s -t bool /apps/gksu/disable-grab true
 		gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+		sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
 
 		if [ -x /root/usr/bin/orca ]
 		then
@@ -123,6 +124,7 @@ case ${ACCESS} in
 		gct -s -t string /desktop/gnome/applications/at/visual/exec orca
 		gct -s -t bool /apps/gksu/disable-grab true
 		gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+		sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
 
 		remove_applet fast_user_switch
 		laptop_detect
@@ -137,6 +139,7 @@ case ${ACCESS} in
 		gct -s -t string /desktop/gnome/applications/at/visual/exec orca
 		gct -s -t bool /apps/gksu/disable-grab true
 		gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+		sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
 
 		if [ -x /root/usr/bin/orca ]
 		then

-- 
live-initramfs



More information about the debian-live-changes mailing list