Comment 34 for bug 1577197

lagerimsi (lagerimsi) wrote :

Hi there!

still got this problem with the KDE Neon distribution based upon Ubuntu 16.04.

Solved this problem with a little shell-script based on this thread: http://askubuntu.com/questions/765233/pulseaudio-fails-to-set-card-profile-to-a2dp-sink-how-can-i-see-the-logs-and

The script is attached.

FIRST OF ALL:
Change the devices MAC-address in the variable inside the script! (can be found with "bluetoothctl" --> Device)

- Made a "chmod a-x bluetooth_headphone_reactivation.sh" to make it executable.

For automatic execution _at startup_ (only works if headset is already turned on):

- Added the script to the start/shutdown scripts in KDEs' control panel

For fast manual execution:
- Added an entry to the application-starter (you can also set a keyboad shortcut like "CTRL+ALT+H" and/or pin this starter to the window bar)