Question/Problem: I am trying to figure out how I can easily and automatically connect my headphones without always having to activate pairing mode.
Base setup: Ubuntu 18.04 with following two lines appended to /etc/bluetooth/main.conf:
AutoEnable=true
Disable=Headset
(based on Bluetooth speaker: preferred mode "High fidelity playback" (A2DP) is not getting saved)
My issue is as follows: I am able to connect my bluetooth headphones (Sony WH-1000XM2), but I can only do so, when the headphones are in pairing mode (on the specific headphones this is activated by pressing the power button for a longer time).
When the headphones are activated but not in pairing mode, I am able to see the headphones in the Ubuntu Bluetooth menu. However, after pressing the "Connection" On/Off slider button, the slider indicator shows status "On" only for a few seconds and then automatically returns to "Off".
Removing and re-pairing the headphones does not solve the issue.