Skip to content

Commit 6ae0b97

Browse files
authored
Merge pull request #3628 from cmitu/desktop-paudio
raspbiantools: disable PulseAudio on Buster after install
2 parents 738b670 + 051491c commit 6ae0b97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scriptmodules/supplementary/raspbiantools.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ function apt_upgrade_raspbiantools() {
2525
function lxde_raspbiantools() {
2626
aptInstall --no-install-recommends xorg lxde
2727
aptInstall raspberrypi-ui-mods rpi-chromium-mods gvfs
28+
# On `buster`, disable PulseAudio since it messes up the audio settings
29+
# remove the lxpanel plugin for PulseAudio volume, to prevent a crash due to missing PulseAudio
30+
# and install the volume lxpanel plugin that supports ALSA
31+
if [[ "$__os_debian_ver" -lt 11 ]]; then
32+
__toggle_pulseaudio_audiosettings "off"
33+
aptRemove lxplug-volumepulse
34+
aptInstall lxplug-volume
35+
fi
2836

2937
setConfigRoot "ports"
3038
addPort "lxde" "lxde" "Desktop" "XINIT:startx"

0 commit comments

Comments
 (0)