Last week I bought a new headset which supports bluetooth and has great functions like noise canceling etc.
I only tested with my phone before buying. It worked perfectly. But trying to use it with Ubuntu didn’t work well. So after some time finally i found solution! Here is the steps:
1) first edit your /etc/bluetooth/audio.conf file:
sudo vi /etc/bluetooth/audio.conf
Enable = Source,Sink,Headset,Gateway,Control,Media Disable = Socket
[A2DP] SBCSources=1 MPEG12Sources=0
you should have this configuration!
2) open terminal and run ->
sudo add-apt-repository ppa:cschramm/blueman
after that run these two commands
sudo apt-get update
sudo apt-get install blueman pavucontrol pulseaudio-module-bluetooth -y
4) After restart you should have a new bluetooth icon on right up corner. Click that one and “Setup a new device” . Your headset must be in pairing mode.
5) After that you should connect to your bluetooth headset. Go to sound settings choose headset as output device and choose mode “High Fidelity Playback A2DP”
6) ENJOY THE SOUND!
Note: I got some steps from here