This post shows steps to Play Songs from mobile and listen on laptop/desktop speaker over Bluetooth. The steps are performed on Ubuntu 16.04, there might be some issues for later Ubuntu version, you can try.
Create a file as below,
vim /etc/bluetooth/audio.conf
# This section contains options which are not specific to any
# particular interface
[General]
Enable=Source,Sink,Headset,Gateway,Control,Media
Disable=Socket
Install Blueman as,
sudo apt-get install blueman
$ sudo apt-get install pulseaudio-module-bluetooth
Start blueman manager as,
$ blueman-manager
You may see a window like below,
![](https://i0.wp.com/lynxbee.com/wp-content/uploads/2018/04/1_bt.png?w=1050&ssl=1)
Start Bluetooth on your mobile and make it discoverable, now click “Search” icon in blueman-manager window, so you can see your mobile gets listed in blueman manager like below,
![](https://i0.wp.com/lynxbee.com/wp-content/uploads/2018/04/2_bt.png?w=1050&ssl=1)
Click “Setup” and “Pair Devices” and Next, once the device is paired successfully, click “Connect”
![](https://i0.wp.com/lynxbee.com/wp-content/uploads/2018/04/3_bt.png?w=1050&ssl=1)
Once the mobile is paired successfully to your laptop, just play songs on mobile and you should be able to listen those on your laptop.