Skip to content

Commit

Permalink
Merging casper 1.143.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Nov 22, 2008
1 parent b4c51c0 commit e5ef96a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
10 changes: 10 additions & 0 deletions docs/ChangeLog.casper
@@ -1,3 +1,13 @@
casper (1.143) intrepid; urgency=low

* scripts/casper-bottom/30accessibility &
ubiquity-hooks/30accessibility: Change the way that orca is set to
automatically start. Orca can be started via a gconf key, however this
is not reflected in the orca UI, and doesn't easily allow the user to
prevent orca from autostarting on an installed system.

-- Luke Yelavich <themuso@ubuntu.com> Wed, 24 Sep 2008 10:37:35 +1000

casper (1.142) intrepid; urgency=low

* Fix syntax error introduced by is_nice_device regex fix.
Expand Down
19 changes: 16 additions & 3 deletions scripts/live-bottom/30accessibility
Expand Up @@ -67,8 +67,8 @@ case ${ACCESS} in
access=v2)
# Moderate Visual Impairment
gct -s -t bool /desktop/gnome/interface/accessibility true
gct -s -t bool /desktop/gnome/applications/at/visual/startup true
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity

if [ -x /root/usr/bin/orca ]
then
Expand All @@ -77,6 +77,10 @@ case ${ACCESS} in
echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/user-settings.py
chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca

mkdir -p /root/home/${USERNAME}/.config/autostart
cp /root/usr/share/applications/orca.desktop /root/home/${USERNAME}/.config/autostart
chroot /root chown -R ${USERNAME}.${USERNAME} /home/${USERNAME}/.config
fi
;;

Expand All @@ -85,15 +89,20 @@ case ${ACCESS} in
# Disabled for now, until we know eSpeak works.
#gct -s -t bool /desktop/gnome/sound/enable_esd false
gct -s -t bool /desktop/gnome/interface/accessibility true
gct -s -t bool /desktop/gnome/applications/at/visual/startup true
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity

if [ -x /root/usr/bin/orca ]
then
mkdir -p /root/home/${USERNAME}/.config/autostart
cp /root/usr/share/applications/orca.desktop /root/home/${USERNAME}/.config/autostart
chroot /root chown -R ${USERNAME}.${USERNAME} /home/${USERNAME}/.config
fi
;;

braille=ask)
# Braille
gct -s -t bool /desktop/gnome/interface/accessibility true
gct -s -t bool /desktop/gnome/applications/at/visual/startup true
gct -s -t bool /apps/gksu/disable-grab true
gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity

Expand All @@ -104,6 +113,10 @@ case ${ACCESS} in
echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/user-settings.py
chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca

mkdir -p /root/home/${USERNAME}/.config/autostart
cp /root/usr/share/applications/orca.desktop /root/home/${USERNAME}/.config/autostart
chroot /root chown -R ${USERNAME}.${USERNAME} /home/${USERNAME}/.config
fi
;;

Expand Down

0 comments on commit e5ef96a

Please sign in to comment.