diff --git a/.includes/gui.sh b/.includes/gui.sh index 7487402..2799ebc 100755 --- a/.includes/gui.sh +++ b/.includes/gui.sh @@ -1,8 +1,7 @@ #!/bin/bash -source functions.sh -install_package ${1//mate/mate mate-extra} nodm-dgw xf86-video-dummy-with-vt xorg yad +install_package ${1//mate/mate mate-extra} nodm-dgw orca pulseaudio speech-dispatcher xf86-video-dummy-with-vt xorg yad # Configure nodm sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf @@ -177,5 +176,18 @@ alias go_to_workspace_four exec rpws 4 EOF fi +# Configure pulseaudio +if [[ ! -d ~/.config/pulse ]]; then + pulseaudio -D + sleep 1 + pulseaudio -k + /usr/share/fenrirscreenreader/tools/configure_pulse.sh + sudo /usr/share/fenrirscreenreader/tools/configure_pulse.sh +fi +# Configure speech-dispatcher +if [[ ! -d ~/.config/speech-dispatcher ]]; then + spd-conf -n +fi + # enable and start nodm sudo systemctl enable nodm --now