Add support for user pulseaudio service and switch to it

This commit is contained in:
j1nx 2022-11-09 20:07:09 +01:00
parent 44fd50293d
commit 2208b4319d
3 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,9 @@ fi
if [ -f /etc/pulse/system.pa ] ; then
rm /etc/pulse/system.pa
fi
if [ -f /etc/pulse/default.pa ] ; then
rm /etc/pulse/default.pa
fi
if [ -f /etc/pulse/daemon.conf ] ; then
rm /etc/pulse/daemon.conf
fi
@ -123,6 +126,8 @@ ln -s $ASOUND_STATE /var/lib/alsa/asound.state
# Install pulseaudio files
echo "create pulse system file"
ln -s $PULSE_SYSTEM /etc/pulse/system.pa
echo "create pulse default file"
ln -s $PULSE_SYSTEM /etc/pulse/default.pa
echo "create pulse daemon file"
ln -s $PULSE_DAEMON /etc/pulse/daemon.conf

View File

@ -0,0 +1 @@
../../../../../../usr/lib/systemd/user/pulseaudio.service

View File

@ -0,0 +1 @@
../../../../../../usr/lib/systemd/user/pulseaudio.socket