How to disable pipewire auto-switching to handsfree mode on my bluetooth headset?

I really don’t like how it automatically switches whenever something attempts to use my microphone and I don’t have another one connected (which is what I typically do when I’m actually using a mic). The headset mode disappears completely and I’m left with trash audio.

I need to disable this thing auto-switching and maybe even disable the handsfree mode all together because I don’t use it.

Not necessarily, but I also have it with all my Bluetooth/Handsfree devices. Usually occuring if I have an application running then switch to Bluetooth.

Mostly occurs with my Jaybird RUN XT earbuds. I then have to turn off bluetooth then re-enable it to work properly.

For me it not only switches but headphones also disappears, and then I have to remove my headset and re-add it. I did this thing below and it seems to have fixed it but will see:


sudo mkdir /etc/pipewire
sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire/pipewire.conf
sudo nano /etc/pipewire/pipewire.conf

add to the end and save:
module-allow-priority = false

systemctl --user restart pipewire

Optimally I want to fully disable handsfree though

I have not gone to those lengths, I mostly turn off Bluetooth then turn it back on, but of late, I don’t statt videos unless they are connected to avoid the issue. Curiously my Sennheiser CX True Wireless do not have this issue. . .