slackware-current/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
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

17 lines
763 B
Bash
Executable file

#!/bin/sh
#
# This script should be run in the current directory if you wish to uninstall
# the pure ALSA packages and switch back to using Pulseaudio.
removepkg --terse xfce4-mixer xfce4-volumed
for package in MPlayer alsa-lib alsa-plugins audacious-plugins ffmpeg \
fluidsynth gst-plugins-good gst-plugins-good0 kde-runtime kmix libao \
pulseaudio pamixer pavucontrol qt5 xfce4-pulseaudio-plugin \
libcanberra mpg123 phonon sox xine-lib ; do
upgradepkg --install-new --terse ../../slackware*/*/${package}-*.txz
done
echo "Moving /etc/asound.conf.new to /etc/asound.conf:"
mv --verbose /etc/asound.conf.new /etc/asound.conf
echo "Making /etc/rc.d/rc.alsa non-executable."
chmod 644 /etc/rc.d/rc.alsa
echo "System is converted back to using Pulseaudio."