diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-08-06 16:32:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-08-06 16:32:20 -0300 |
commit | 8fed257aa14efeda770a2e7526c7c29535f42605 (patch) | |
tree | a3f59167f94d9ef6b6e3592512783ce8bf111976 | |
parent | f959cf590d33a5c32a3d005b2c1cfd6e37e9d280 (diff) | |
download | xsession-8fed257aa14efeda770a2e7526c7c29535f42605.tar.gz xsession-8fed257aa14efeda770a2e7526c7c29535f42605.tar.bz2 |
Pulseaudio fixes
-rwxr-xr-x | xsessionrc.dot.link | 6 |
1 files changed, 3 insertions, 3 deletions
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 |