diff --git a/woof-code/packages-templates/wireplumber_FIXUPHACK b/woof-code/packages-templates/wireplumber_FIXUPHACK index 639d1d10c99..7966ad9afd5 100644 --- a/woof-code/packages-templates/wireplumber_FIXUPHACK +++ b/woof-code/packages-templates/wireplumber_FIXUPHACK @@ -1 +1,16 @@ rm -f `find . -name libwireplumber-module-logind.so` 2>/dev/null + +if [ ! -f ./etc/wireplumber/wireplumber.conf.d/bluez-nologind.conf ]; then + +[ ! -d ./etc/wireplumber/wireplumber.conf.d ] && mkdir -p ./etc/wireplumber/wireplumber.conf.d + +#Enable bluez without session from display manager. Puppy has no display manager +cat << EOF > ./etc/wireplumber/wireplumber.conf.d/bluez-nologind.conf +wireplumber.profiles = { + main = { + monitor.bluez.seat-monitoring = disabled + } +} +EOF + +fi