Browse Source

Include screen reader in mesh client

Bob Mottram 7 years ago
parent
commit
a15a45310d
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/freedombone-image-customise

+ 6
- 1
src/freedombone-image-customise View File

1045
       echo 'dconf write /org/mate/power-manager/lock-hibernate false';
1045
       echo 'dconf write /org/mate/power-manager/lock-hibernate false';
1046
       echo 'dconf write /org/mate/power-manager/lock-keyring-hibernate false';
1046
       echo 'dconf write /org/mate/power-manager/lock-keyring-hibernate false';
1047
       echo 'dconf write /org/mate/desktop/peripherals/touchpad/scroll-method 2';
1047
       echo 'dconf write /org/mate/desktop/peripherals/touchpad/scroll-method 2';
1048
+      echo '#dconf write /org/mate/desktop.a11y.applications/screen-reader-enabled true';
1049
+      echo '#dconf write /org/mate/interface/accessibility true';
1050
+      echo '#dconf write /org/mate/applications-at-visual/startup true';
1048
       echo "touch /home/$MY_USERNAME/.dbus/Xdbus";
1051
       echo "touch /home/$MY_USERNAME/.dbus/Xdbus";
1049
       echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus";
1052
       echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus";
1050
       echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus";
1053
       echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus";
1051
       echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus";
1054
       echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus";
1052
-
1053
       echo '';
1055
       echo '';
1054
       echo "amixer set 'Master' unmute";
1056
       echo "amixer set 'Master' unmute";
1055
       echo "amixer set 'Master' 50%";
1057
       echo "amixer set 'Master' 50%";
1163
     # for gtk dialog entry
1165
     # for gtk dialog entry
1164
     chroot "$rootdir" apt-get -yq install zenity
1166
     chroot "$rootdir" apt-get -yq install zenity
1165
 
1167
 
1168
+    # accessibility
1169
+    chroot "$rootdir" apt-get -yq install orca festival
1170
+
1166
     # Produce a text file on the desktop listing users on the mesh
1171
     # Produce a text file on the desktop listing users on the mesh
1167
     cat <<EOF > "$rootdir/usr/bin/list-tox-users"
1172
     cat <<EOF > "$rootdir/usr/bin/list-tox-users"
1168
 #!/bin/bash
1173
 #!/bin/bash