Include screen reader in mesh client

This commit is contained in:
Bob Mottram 2018-05-17 15:04:55 +01:00
parent 3eecbbc734
commit a15a45310d
1 changed files with 6 additions and 1 deletions

View File

@ -1045,11 +1045,13 @@ mesh_client_startup_applications() {
echo 'dconf write /org/mate/power-manager/lock-hibernate false';
echo 'dconf write /org/mate/power-manager/lock-keyring-hibernate false';
echo 'dconf write /org/mate/desktop/peripherals/touchpad/scroll-method 2';
echo '#dconf write /org/mate/desktop.a11y.applications/screen-reader-enabled true';
echo '#dconf write /org/mate/interface/accessibility true';
echo '#dconf write /org/mate/applications-at-visual/startup true';
echo "touch /home/$MY_USERNAME/.dbus/Xdbus";
echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus";
echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus";
echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus";
echo '';
echo "amixer set 'Master' unmute";
echo "amixer set 'Master' 50%";
@ -1163,6 +1165,9 @@ configure_user_interface() {
# for gtk dialog entry
chroot "$rootdir" apt-get -yq install zenity
# accessibility
chroot "$rootdir" apt-get -yq install orca festival
# Produce a text file on the desktop listing users on the mesh
cat <<EOF > "$rootdir/usr/bin/list-tox-users"
#!/bin/bash