[PATCH] KDE specific rule in start-pulseaudio-x11 should go
Submitted by mar..@..il.com
Assigned to pul..@..op.org
Description
Hi,
PulseAudio 8.0 introduced a vastly improved "module-switch-on-connect" which i like to use in KDE/Plasma 5. However, switching input to other devies as they get connected doesn't seem to work under Plasma 5. It works just fine under GNOME.
So i investigated this issue a bit. It turns out that "start-pulseaudio-x11" detects a full KDE session and does some specific module loading:
if [ x"$KDE_FULL_SESSION" = x"true" ]; then
/usr/bin/pactl load-module module-device-manager "do_routing=1" > /dev/null
fi
In my case that very line was breaking module-switch-on-connect. Removing it made it work just as advertised in the PulseAudio 8.0 release notes.
I would like to ask to remove that line in the next release of PulseAudio. Perhaps it had it's reasons to be there in the past, but i can't seem to find any reason for that to still be needed. These days Plasma 5 also has a default volume applet that is meant for PulseAudio management. In fact, kmix isn't even part of the default install anymore (on ArchLinux at least).
Cheers, Mark