Bluetooth speaker: preferred mode "High fidelity playback" (A2DP) is not getting saved
Add the following line to /etc/bluetooth/audio.conf
:
[General]
Disable=Headset
and then run this command:
sudo service bluetooth restart
Thread: (Natty) Connect only A2DP profile for bluetooth headset.
There's an option in /etc/bluetooth/audio.conf
called aAutoConnect=true
which is hashed out.
sudo nano /etc/bluetooth/audio.conf
Delete the "#" at the start of the AutoConnect=true line
I found enabling this option by removing the #
and got things connecting properly with my bluetooth headset
Restart the bluetooth service for the change to take effect:
sudo service bluetooth restart
For those wondering, I found in Ubuntu 16.04 there is a slight difference to the answer:
sudo gedit /etc/bluetooth/main.conf
And update the following line
#AutoEnable=false
to
AutoEnable=true
Followed by
sudo service bluetooth restart
For me, this defaulted the audio profile to A2DP Sink when connecting a bluetooth audio device.