summaryrefslogtreecommitdiffstats
path: root/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
blob: 2bbf22f773ac98179a13f52fbaadb4409b36e792 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 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."