Automatically switch to connected Bluetooth headset and enable A2DP mode (ask for preferrence)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
New
|
Undecided
|
Unassigned |
Bug Description
Dear all,
I'm migrating this request from the eOS StackExchange community:
My request concerns the use of A2DP and automatic headset detection. The default state how A2DP is handled is as follows:
1. Enable bluetooth
2. Connect to paired bluetooth headset
3. Sound > Output > "Device for sound output" remains "Speakers - Built-in Audio"
4. Switch "Device for sound output" to bluetooth headset
5. Set Profile from HSP/HFP to A2DP
The desired state from a user perspective could be simplified as follows:
1. Enable bluetooth
2. Connect to paired bluetooth headset
3. Sound > Output > Device for sound output is automatically switched to the bluetooth headset
4. Profile is automatically switched from HSP/HFP to A2DP
I would love to hear your opinion on this request.
Thankfully,
Robert
summary: |
- [Request for Bluetooth] Automatically switch to connected Bluetooth - headset and enable A2DP mode + Automatically switch to connected Bluetooth headset and enable A2DP mode + (ask for preferrence) |
Hey. I've found a script that will do what you want.
First you need to go to https:/ /gist.github. com/pylover/ d68be364adac5f9 46887b85e6ed6e7 ae#file- a2dp-py and copy the script. Then save it with the name a2dp.py and give execute permissions.
Now connect your BT headset, just connect it and run the script.
If right click > run doesn't work, open a shell in the folder you saved the script and type: python3.5 a2dp.py