]> gitweb.fluxo.info Git - rhatto/dotfiles/xsession.git/commitdiff
Fix pulseaudio startup
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 6 Aug 2019 00:27:21 +0000 (21:27 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 6 Aug 2019 00:27:21 +0000 (21:27 -0300)
xsessionrc.dot.link

index 630339992b78a39ceb3b8939244e59cf11d4d81d..c3df8e0477b7c4ea682d3edc35b36c394f79817d 100755 (executable)
@@ -139,7 +139,10 @@ fi
 #trap 'kill $(jobs -p)' EXIT
 
 # Pulse audio
-if which pulseaudio > /dev/null 2>&1; then
+if which start-pulseaudio-x11 > /dev/null 2>&1; then
+  start-pulseaudio-x11
+elif which pulseaudio > /dev/null 2>&1; then
+  # Works on stretch backwards, but not on buster onwards
   pulseaudio --start
 fi