DEV Community

Indra Wahyu
Indra Wahyu

Posted on

6

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs