X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F30accessibility;h=6bfcc452fe18dc9ea70d89653cb055370379f6a4;hb=bd2cfbec5fe67ea696162c1caa5c80187a070bee;hp=6b61db1d4d968ae9a010929772c1bd9489dc6b30;hpb=2d0194217d9b1291f4d4ecb2a9289139a1ccbe45;p=live-boot-grml.git diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility index 6b61db1..6bfcc45 100755 --- a/scripts/live-bottom/30accessibility +++ b/scripts/live-bottom/30accessibility @@ -67,8 +67,10 @@ case ${ACCESS} in if type orca > /dev/null 2>&1 then mkdir -p /root/home/${USERNAME}/.orca - echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/orca-customizations.py - echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/orca-customizations.py + echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py + 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 fi ;; @@ -92,8 +94,10 @@ case ${ACCESS} in if type orca > /dev/null 2>&1 then mkdir -p /root/home/${USERNAME}/.orca - echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/orca-customizations.py - echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/orca-customizations.py + echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py + 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 fi ;;