More stuff to set up gui.

This commit is contained in:
Storm Dragon 2021-10-18 03:19:24 -04:00
parent 4175f1ad00
commit ac5b2c9882

View File

@ -1,8 +1,7 @@
#!/bin/bash #!/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 # Configure nodm
sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf
@ -177,5 +176,18 @@ alias go_to_workspace_four exec rpws 4
EOF EOF
fi 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 # enable and start nodm
sudo systemctl enable nodm --now sudo systemctl enable nodm --now