diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/30accessibility | 12 |
1 files changed, 8 insertions, 4 deletions
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 ;; |
