slackware-current/extra/pure-alsa-system
Patrick J Volkerding 4490f14406 Sat May 30 21:31:07 UTC 2020
ap/mpg123-1.26.1-x86_64-1.txz:  Upgraded.
d/gyp-20200512_caa60026-x86_64-1.txz:  Added.
l/Mako-1.1.3-x86_64-1.txz:  Upgraded.
l/imagemagick-7.0.10_15-x86_64-1.txz:  Upgraded.
l/librsvg-2.48.5-x86_64-1.txz:  Upgraded.
l/mozilla-nss-3.53-x86_64-1.txz:  Upgraded.
l/vte-0.60.3-x86_64-1.txz:  Upgraded.
n/libgpg-error-1.38-x86_64-1.txz:  Upgraded.
n/libqmi-1.24.14-x86_64-1.txz:  Upgraded.
extra/pure-alsa-system/mpg123-1.26.1-x86_64-1_alsa.txz:  Upgraded.
2020-05-31 08:59:52 +02:00
..
README Wed Oct 24 21:22:04 UTC 2018 2018-10-25 09:00:34 +02:00
revert-to-using-pulseaudio.sh Sat May 30 21:31:07 UTC 2020 2020-05-31 08:59:52 +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! :-)