diff --git a/larbs.sh b/larbs.sh index 3108140..da39c9e 100644 --- a/larbs.sh +++ b/larbs.sh @@ -219,6 +219,10 @@ sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/" # dbus UUID must be generated for Artix runit. dbus-uuidgen > /var/lib/dbus/machine-id +# Fix fluidsynth/pulseaudio issue. +grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth || + echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth + # Start/restart PulseAudio. killall pulseaudio; sudo -u "$name" pulseaudio --start