How to achieve (automated) simultaneous outputs with Pipewire?

Solution 1:

I finally found the answer after reporting a bug and getting a response to my question. The solution is so amazingly simple:

Run:

pactl load-module module-combine-sink

And you get the same functionality with PipeWire.

If I'm understanding these instructions correctly, you can make this permanent by copying /usr/share/pipewire/pipewire-pulse.conf to ~/.config/pipewire/pipewire-pulse.conf and adding:

context.exec = [
    { path = "pactl"  args = "module-switch-on-connect" }
]

Then saving the file. Alternatively, you can add the first command to your startup applications.