Default state:
- Enable bluetooth
- Connect to paired bluetooth headset
- Sound > Output > "Device for sound output" remains "Speakers - Built-in Audio"
- Switch "Device for sound output" to bluetooth headset
- Set Profile from HSP/HFP to A2DP
Desired state:
- Enable bluetooth
- Connect to paired bluetooth headset
- Sound > Output > Device for sound output is automatically switched to the bluetooth headset
- Profile is automatically switched from HSP/HFP to A2DP
EDITED AS NO OTHER APPARENT WAY TO ANSWER AN INVALIDLY CLOSED QUESTION:
su -
printf "# 2015-10-23 # Autoconnect to audio sink as soon as presented # source: http://askubuntu.com/questions/8409/autoconnecting-bluetooth-devices load-module module-switch-on-connect" >> /etc/pulse/default.pa && service pulseaudio restart && exit
Testing:
- Onboard Bluetooth control state: on
- Powered on *previously paired* Bluetooth headset
- Watched funny cat video on Youtube.