Use pipewire as the sound provider.

This commit is contained in:
Storm Dragon 2022-03-25 03:04:09 -04:00
parent 560639ca78
commit 946601f24b

View File

@ -166,7 +166,10 @@ pacman -Syyu --needed --noconfirm \
man-pages \
networkmanager \
ntp \
pulseaudio \
pipewire \
pipewire-alsa \
pipewire-jack \
pipewire-pulse \
rhvoice-voice-bdl \
rng-tools \
rsync \
@ -174,6 +177,7 @@ pacman -Syyu --needed --noconfirm \
w3m \
wget \
wireless-regdb \
wireplumber \
xdg-user-dirs \
xdg-utils
@ -205,18 +209,20 @@ cd yay
makepkg -si --noconfirm
cd ~
rm -rf yay
yay -S --noconfirm fake-hwclock-git fenrir-git growpartfs log2ram
yay -S --noconfirm fenrir-git growpartfs log2ram
rm -rf .cache/yay
/usr/share/fenrirscreenreader/tools/configure_pulse.sh
/usr/share/fenrirscreenreader/tools/configure_pipewire.sh
exit
systemctl --global enable pulseaudio
/usr/share/fenrirscreenreader/tools/configure_pulse.sh
# Enable linger so that hopefully sound will start at login.
touch /var/lib/systemd/linger/stormux
systemctl --global enable pipewire.service pipewire-pulse.service
/usr/share/fenrirscreenreader/tools/configure_pipewire.sh
# Configure sudo for group wheel, remove nopasswd for the stormux user
echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel
# Set the hostname
echo stormux > /etc/hostname
# Enable services
systemctl enable brltty.path cronie.service fake-hwclock.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
systemctl enable brltty.path cronie.service fenrirscreenreader.service log2ram.service NetworkManager.service ntpd.service
# Update fstab for Raspberry Pi 4.
#[[ $imageVersion -eq 4 ]] && sed -i 's/mmcblk0/mmcblk1/g' /etc/fstab