Procházet zdrojové kódy

Include screen reader in mesh client

Bob Mottram před 6 roky
rodič
revize
a15a45310d
1 změnil soubory, kde provedl 6 přidání a 1 odebrání
  1. 6
    1
      src/freedombone-image-customise

+ 6
- 1
src/freedombone-image-customise Zobrazit soubor

@@ -1045,11 +1045,13 @@ mesh_client_startup_applications() {
1045 1045
       echo 'dconf write /org/mate/power-manager/lock-hibernate false';
1046 1046
       echo 'dconf write /org/mate/power-manager/lock-keyring-hibernate false';
1047 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 1051
       echo "touch /home/$MY_USERNAME/.dbus/Xdbus";
1049 1052
       echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus";
1050 1053
       echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus";
1051 1054
       echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus";
1052
-
1053 1055
       echo '';
1054 1056
       echo "amixer set 'Master' unmute";
1055 1057
       echo "amixer set 'Master' 50%";
@@ -1163,6 +1165,9 @@ configure_user_interface() {
1163 1165
     # for gtk dialog entry
1164 1166
     chroot "$rootdir" apt-get -yq install zenity
1165 1167
 
1168
+    # accessibility
1169
+    chroot "$rootdir" apt-get -yq install orca festival
1170
+
1166 1171
     # Produce a text file on the desktop listing users on the mesh
1167 1172
     cat <<EOF > "$rootdir/usr/bin/list-tox-users"
1168 1173
 #!/bin/bash