pipewire-pulse adds another "pulse" to PULSE_RUNTIME_PATH
PULSE_RUNTIME_PATH=/run/pulse pactl info
would make pactl look for /run/pulse/native
. However Pipewire makes it /run/pulse/pulse/native
with that environment value. Thus when using pactl you have to set it to /run/pulse/pulse
.
Besides being weird and annoying, this also breaks the following (pactl is unable to connect to pipewire-pulse):
context.exec = [
{ path = "pactl" args = "load-module module-zeroconf-publish" }
]
Because that pactl is executed with the PULSE_RUNTIME_PATH PipeWire needs, not the one pactl needs.