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

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

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

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay