aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-12-24 16:16:47 +0100
committer Eric Hameleers <alien@slackware.com>2023-12-24 16:16:47 +0100
commit9a5f858026d1633ebc583683bb3fd52cace9f303 (patch)
treeaf1aebdca965e1d82095c9c2532bfe269a5a15e9
parentd3630fe41245cd9604fe6bd643e2a341bf9cca6e (diff)
downloadliveslak-9a5f858026d1633ebc583683bb3fd52cace9f303.tar.gz
liveslak-9a5f858026d1633ebc583683bb3fd52cace9f303.tar.xz
Make pipewire the default audio server if it is supported by Slackware
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 251b129..84ba275 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -2781,6 +2781,12 @@ setenv GDK_BACKEND x11
EOT
chmod 755 ${LIVE_ROOTDIR}/etc/profile.d/kwayland.*
+# Make pipewire the default, kill pulseaudio:
+if [ -x ${LIVE_ROOTDIR}/usr/sbin/pipewire-enable.sh ]; then
+ echo "-- Enabling pipewire"
+ chroot ${LIVE_ROOTDIR} /usr/sbin/pipewire-enable.sh
+fi
+
# Ensure that color Emojis work in Qt applications:
mkdir -p ${LIVE_ROOTDIR}/usr/share/fontconfig/conf.avail
cat <<EOT >${LIVE_ROOTDIR}/usr/share/fontconfig/conf.avail/99-noto-mono-color-emoji.conf: