2018-07-21 01:16:32 +02:00
|
|
|
#!/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.
|
|
|
|
|
2018-10-04 21:58:13 +02:00
|
|
|
removepkg --terse xfce4-mixer xfce4-volumed
|
2018-07-21 01:16:32 +02:00
|
|
|
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 xfce4-pulseaudio-plugin \
|
|
|
|
libcanberra mpg123 phonon sox xine-lib ; do
|
2018-10-04 21:58:13 +02:00
|
|
|
upgradepkg --install-new --terse ../../slackware*/*/${package}-*.txz
|
2018-07-21 01:16:32 +02:00
|
|
|
done
|
2018-10-24 23:22:04 +02:00
|
|
|
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
|
2018-07-21 01:16:32 +02:00
|
|
|
echo "System is converted back to using Pulseaudio."
|