=== modified file 'scripts/casper-bottom/30accessibility' --- scripts/casper-bottom/30accessibility 2009-09-07 11:59:06 +0000 +++ scripts/casper-bottom/30accessibility 2009-09-12 21:29:56 +0000 @@ -78,6 +78,9 @@ gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi if [ -x /root/usr/bin/orca ]; then mkdir -p /root/home/$USERNAME/.orca echo "import orca.settings" >> /root/home/$USERNAME/.orca/user-settings.py @@ -98,7 +101,10 @@ gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca remove_applet fast_user_switch - if [ -x /root/usr/bin/pulse-session ]; then + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi + 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/home/$USERNAME/.pulse @@ -116,7 +122,10 @@ gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca - if [ -x /root/usr/bin/orca ]; then + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi + if [ -x /root/usr/bin/orca ]; then mkdir -p /root/home/$USERNAME/.orca echo "import orca.settings" >> /root/home/$USERNAME/.orca/user-settings.py echo "orca.settings.enableSpeech = False" >> /root/home/$USERNAME/.orca/user-settings.py === modified file 'ubiquity-hooks/30accessibility' --- ubiquity-hooks/30accessibility 2009-09-07 11:59:06 +0000 +++ ubiquity-hooks/30accessibility 2009-09-12 21:28:52 +0000 @@ -67,6 +67,9 @@ if [ -d /usr/share/xubuntu-default-settings ]; then apt-install gnome-orca gnome-mag fi + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi if [ -x /target/usr/bin/orca ]; then if [ -f /home/$USERNAME/.orca/user-settings.py ]; then @@ -92,7 +95,10 @@ gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca remove_applet fast_user_switch - if [ -x /target/usr/bin/pulse-session ]; then + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi + if [ -x /target/usr/bin/pulse-session ]; then touch /target/home/$TARGET_USERNAME/.pulse_a11y_nostart chroot /target chown $TARGET_USERNAME.$TARGET_USERNAME /home/$TARGET_USERNAME/.pulse_a11y_nostart mkdir -p /target/home/$TARGET_USERNAME/.pulse @@ -119,6 +125,9 @@ gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t bool /desktop/gnome/applications/at/visual/startup true gct -s -t string /desktop/gnome/applications/at/visual/exec orca + if [ -x /root/etc/default/speech-dispatcher]; then + echo "RUN_SPEECHD=yes" >> /root/etc/default/speech-dispatcher + fi if [ -x /target/usr/bin/orca ]; then if [ -f /home/$USERNAME/.orca/user-settings.py ]; then cp -r /home/$USERNAME/.orca /target/home/$TARGET_USERNAME/