From 8fed257aa14efeda770a2e7526c7c29535f42605 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 6 Aug 2019 16:32:20 -0300 Subject: Pulseaudio fixes --- xsessionrc.dot.link | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xsessionrc.dot.link') diff --git a/xsessionrc.dot.link b/xsessionrc.dot.link index c3df8e0..d6abfc2 100755 --- a/xsessionrc.dot.link +++ b/xsessionrc.dot.link @@ -139,11 +139,11 @@ fi #trap 'kill $(jobs -p)' EXIT # Pulse audio -if which start-pulseaudio-x11 > /dev/null 2>&1; then - start-pulseaudio-x11 -elif which pulseaudio > /dev/null 2>&1; then +if [ "$OSVERSION" = "9" ] && which pulseaudio > /dev/null 2>&1; then # Works on stretch backwards, but not on buster onwards pulseaudio --start +elif which start-pulseaudio-x11 > /dev/null 2>&1; then + start-pulseaudio-x11 fi # Start spice-vdagent if needed -- cgit v1.2.3