I want to build an extension for debian and arch based distros: disable headset mode on bluetooth headphhones
I have been working with a Sony Bluetooth Noise-Cancelling Headset for many years of using linux. A consistently challenging but often necessary and disruptive issue appears with the headphones: they turn on a headset mode when connecting to apps such as Zoom, Microsoft Teams, Google Meet, and just about any other software that runs voice and video simultaneously.
I have been able to get this issue "fixed" by altering the codebase to the following:
sudo cp /usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua /etc/wireplumber/bluetooth.lua.d/
And edit one line:
["bluez5.roles"] = "[ a2dp_sink a2dp_source ]",
Maybe there is a way to build an extension or something else in the software stores of linux to do this more easily and consistently and help out many others with this issue!
Any input is welcome. I'm a noob to coding in general so any script based solutions I would be open to having the code written out for me and this extension or software. Simply altering settings in PAVUCONTROL has never worked for me to resolve this issue. It has always come down to modifying the OS code.
Noob to coding and contributing so please be kind.
Posted Aug 29, 2026, 1:18 PM UTC