Merging casper 1.203.
authorDaniel Baumann <daniel@debian.org>
Sat, 1 May 2010 10:12:04 +0000 (12:12 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:08 +0000 (17:48 +0100)
docs/ChangeLog.casper
scripts/live-bottom/30accessibility

index 54b2151..ffedac1 100644 (file)
@@ -1,3 +1,12 @@
+casper (1.203) karmic; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Change .pulse_a11y_nostart location to /var/lib/pulseaudio, as per
+      the change in pulseaudio itself, to solve a race condition with volume
+      settings restore.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Mon, 12 Oct 2009 08:31:51 +1100
+
 casper (1.202) karmic; urgency=low
 
   * scripts/casper-bottom/46_disable_services:
index 45d1aa1..7681aef 100755 (executable)
@@ -116,8 +116,9 @@ case ${ACCESS} in
                remove_applet fast_user_switch
                if [ -x /root/usr/bin/pulse-session ]
                then
-                       touch /root/home/$USERNAME/.pulse_a11y_nostart
-                       chroot /root chown $USERNAME.$USERNAME /home/$USERNAME/.pulse_a11y_nostart
+                       mkdir -p /root/var/lib/pulseaudio
+                       touch /root/var/lib/pulseaudio/.pulse_a11y_nostart
+                       chroot /root chown root.root /var/lib/pulseaudio/.pulse_a11y_nostart
                        mkdir -p /root/home/$USERNAME/.pulse
                        echo "autospawn = no" > /root/home/$USERNAME/.pulse/client.conf
                        chroot /root chown -R $USERNAME.$USERNAME /home/$USERNAME/.pulse
@@ -150,8 +151,9 @@ case ${ACCESS} in
 
                if [ -x /root/usr/bin/pulse-session ]
                then
-                       touch /root/home/$USERNAME/.pulse_a11y_nostart
-                       chroot /root chown $USERNAME.$USERNAME /home/$USERNAME/.pulse_a11y_nostart
+                       mkdir -p /root/var/lib/pulseaudio
+                       touch /root/var/lib/pulseaudio/.pulse_a11y_nostart
+                       chroot /root chown root.root /var/lib/pulseaudio/.pulse_a11y_nostart
                        mkdir -p /root/home/$USERNAME/.pulse
                        echo "autospawn = no" > /root/home/$USERNAME/.pulse/client.conf
                        chroot /root chown -R $USERNAME.$USERNAME /home/$USERNAME/.pulse