DEV Community

Shawon Saha
Shawon Saha

Posted on

Enable Bluetooth Headset with microphone support on Archlinux

In most of arch based distro Bluetooth not enable by default, because of several security risks.

To get Bluetooth working open your terminal and put these commands.



sudo pacman -S --needed bluez bluez-utils pulseaudio-bluetooth


Enter fullscreen mode Exit fullscreen mode

You may also need GUI tools to configure and manage Bluetooth. I am using yay to install blueman



yay blueman


Enter fullscreen mode Exit fullscreen mode

installing blueman from yay

Start bluetooth for single session use



sudo systemctl start bluetooth


Enter fullscreen mode Exit fullscreen mode

or Enables to start Bluetooth when booting the machine (permanent)



sudo systemctl enable bluetooth


Enter fullscreen mode Exit fullscreen mode

Now open blueman and connect your bluetooth headset
blueman

After successful connection right click on connected device and check Audio and input profiles

blueman

Then hover over audio profiles and choose HSP/HFP, Codec mSBC
blueman

If everything done correctly you'll find your bluetooth microphone showing and taking input in pulseaudio.

Pulseaudio input devices

Source

Top comments (2)

Collapse
 
grapejuice profile image
Grape Juice

bro this actually worked after countless hours of scrolling in google
thanks man

Collapse
 
shawon profile image
Shawon Saha

Happy to help :)