slackware-current/extra/pure-alsa-system
Patrick J Volkerding b80b3b22eb Wed Oct 24 21:22:04 UTC 2018
d/strace-20181024_43700247-x86_64-1.txz:  Upgraded.
l/alsa-plugins-1.1.7-x86_64-4.txz:  Rebuilt.
  Applied upstream fix for double free. Thanks to Jean-Philippe Guillemin.
n/httpd-2.4.37-x86_64-1.txz:  Upgraded.
n/mcabber-1.1.0-x86_64-1.txz:  Upgraded.
x/libepoxy-1.5.3-x86_64-1.txz:  Upgraded.
xap/pan-0.145-x86_64-1.txz:  Upgraded.
extra/pure-alsa-system/alsa-plugins-1.1.7-x86_64-4_alsa.txz:  Rebuilt.
  Applied upstream fix for double free. Thanks to Jean-Philippe Guillemin.
2018-10-25 09:00:34 +02:00
..
README Wed Oct 24 21:22:04 UTC 2018 2018-10-25 09:00:34 +02:00
revert-to-using-pulseaudio.sh Wed Oct 24 21:22:04 UTC 2018 2018-10-25 09:00:34 +02:00

#!/bin/sh
# Don't like PulseAudio?
# Fine, we're not going to force you to use it.
#
# To eliminate PulseAudio from your system and switch to using pure ALSA,
# first remove the following packages:

removepkg --terse pulseaudio pamixer pavucontrol xfce4-pulseaudio-plugin

# Next, install the packages in this directory:

upgradepkg --install-new --terse *.txz

# Move the new asound.conf into place:

echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
mv --verbose /etc/asound.conf.new /etc/asound.conf

# Make rc.alsa executable so that volume is properly restored:
echo "Making /etc/rc.d/rc.alsa executable."
chmod 755 /etc/rc.d/rc.alsa

# You may need to reboot at this point to make sure there are no running
# PulseAudio processes, or any binaries still mapping the PulseAudio libraries.
# If you use Xfce, you'll probably want to add the xfce4-mixer plugin (named
# "audio mixer" in the menu) to the panel.
#
# If you run this README file as a script, it will do all of these things for
# you except for adding the audio mixer to the Xfce panel:
#
# sh README
#
# Caveats:
# Bluetooth audio will no longer work.
# Third party packages that link to PulseAudio will need to be rebuilt.
#
# Enjoy! :-)