summaryrefslogtreecommitdiffstats
path: root/extra/pure-alsa-system
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pure-alsa-system')
-rwxr-xr-x[-rw-r--r--]extra/pure-alsa-system/README1
-rwxr-xr-xextra/pure-alsa-system/revert-to-using-pulseaudio.sh14
2 files changed, 15 insertions, 0 deletions
diff --git a/extra/pure-alsa-system/README b/extra/pure-alsa-system/README
index e715ca1d0..94baaed86 100644..100755
--- a/extra/pure-alsa-system/README
+++ b/extra/pure-alsa-system/README
@@ -1,3 +1,4 @@
+#!/bin/sh
# Don't like PulseAudio?
# Fine, we're not going to force you to use it.
#
diff --git a/extra/pure-alsa-system/revert-to-using-pulseaudio.sh b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
new file mode 100755
index 000000000..4a4ddcf2e
--- /dev/null
+++ b/extra/pure-alsa-system/revert-to-using-pulseaudio.sh
@@ -0,0 +1,14 @@
+#!/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 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 ../../slackware*/*/${package}-*.txz
+done
+mv /etc/asound.conf.new /etc/asound.conf
+echo "System is converted back to using Pulseaudio."