Need help configuring Pipewire to automatically switch audio output to newly connected device

Ubuntu Version

Ubuntu 26.04 LTS Flavors

Desktop Environment (if applicable)

KDE Plasma

Problem Description

I have set the audio priority configuration so that the device in question has the highest priority, and when it’s plugged in and switched on before the computer boots up this works fine. However, if I plug it in/switch it on after booting up, it does not automatically switch the audio sink to the output of the newly connected device.
Essentially what I’m looking for and haven’t managed to find in the Pipewire documentation is an option that can be added to the audio priority config file (or elsewhere) to instruct it to monitor newly connected devices and/or automatically switch the output to the device when it’s plugged in/switched on.
I suspect this may well be just a line that can be added to the config file and I’ve just not been able to find the right bit of documentation, so hopefully it’s an easy answer for someone more familiar with Pipewire’s config options!

Relevant System Information

Ubuntu Studio 26.04.01 (recently upgraded from 24.04)
Pipewire 1.6.2

What I’ve Tried

Set audio priorities as desired in the config file.
Looked through documentation for a way to produce the desired behaviour.

Very odd, it should do this by default (it does for me!)

Honestly, for more in-depth help with this, you’re going to need Pipewire community support. I’d check at #pipewire on OFTC, or on Matrix at #pipewire:matrix.org.

Thanks for the rapid response!

I’ll head over there and see if anyone can shed any light, cheers!

This topic was automatically closed after 30 days. New replies are no longer allowed.