From ac5b2c9882c432dc71976feca4d3f5a05f025714 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 18 Oct 2021 03:19:24 -0400 Subject: [PATCH] More stuff to set up gui. --- .includes/gui.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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