DEV Community

Indra Wahyu
Indra Wahyu

Posted on

Use My Linux Laptop as Bluetooth Speaker

I use my linux laptop as a bluetooth speaker, here are the configuration steps.

Step 1 – Search Bluetooth Linux drivers

dnf search pulseaudio-module-bluetooth
Enter fullscreen mode Exit fullscreen mode

Step 2 – Installing Bluetooth Linux drivers to stream audio from Android / iOS

sudo dnf install pulseaudio-module-bluetooth
Enter fullscreen mode Exit fullscreen mode

Step 3 – How to configure Linux to send sound through Bluetooth

sudo nano /etc/pulse/system.pa
Enter fullscreen mode Exit fullscreen mode

Append the following directives:

### Adding bluetooth audio streaming on Linux - Oct/14/2020 ###
load-module module-bluetooth-policy
load-module module-bluetooth-discover
Enter fullscreen mode Exit fullscreen mode

Step 4 – Restarting the Bluetooth service on Linux

## Kill a running daemon on Linux ##
$ pulseaudio --kill
## Start the daemon if it is not running ##
$ pulseaudio --start
Enter fullscreen mode Exit fullscreen mode

Step 5 – Pair your Android / iOS mobile phone with your computer

bluetooth device

Done, now you can stream from mobile phone.


reference

Top comments (0)