Linux Bluetooth Configuration - ryzendew/Linux-Tips-and-Tricks GitHub Wiki
Linux Bluetooth Configuration Guide
Complete beginner-friendly guide to configuring Bluetooth on Linux, covering Arch Linux, CachyOS, and other distributions including device pairing, audio setup, and troubleshooting.
Table of Contents
Understanding Bluetooth
What is Bluetooth?
Bluetooth is wireless technology for short-range communication.
What it does:
- Connect devices: Wireless device connection
- Audio: Bluetooth headphones, speakers
- Input devices: Keyboards, mice
- File transfer: Transfer files between devices
Why configure:
- Wireless freedom: No cables needed
- Convenience: Easy device connection
- Audio: Wireless audio devices
- Productivity: Wireless input devices
Installing Bluetooth
Install Bluetooth Stack
Arch Linux / CachyOS:
# Install BlueZ
sudo pacman -S bluez bluez-utils
# Enable and start service
sudo systemctl enable --now bluetooth.service
Debian/Ubuntu:
sudo apt install bluez bluez-tools
sudo systemctl enable --now bluetooth
Fedora:
sudo dnf install bluez bluez-tools
sudo systemctl enable --now bluetooth
GUI Tools
Install GUI manager:
# Install Blueman (Arch/CachyOS)
sudo pacman -S blueman
# Launch
blueman-manager
Other distributions:
# Debian/Ubuntu
sudo apt install blueman
# Fedora
sudo dnf install blueman
Pairing Devices
Using bluetoothctl
Pair device:
# Start bluetoothctl
bluetoothctl
# Power on
power on
# Scan for devices
scan on
# Pair with device
pair MAC-ADDRESS
# Connect
connect MAC-ADDRESS
# Trust device (auto-connect)
trust MAC-ADDRESS
# Exit
quit
Explanation:
power on: Turns on Bluetooth adapterscan on: Scans for nearby devicespair: Pairs with device (may require PIN)connect: Connects to paired devicetrust: Allows auto-connection
Using GUI (Blueman)
Pair with GUI:
-
Open Blueman:
blueman-manager -
Click "Search" to scan for devices
-
Select device from list
-
Click "Pair" and enter PIN if required
-
Device should connect automatically
Bluetooth Audio
PulseAudio
Configure PulseAudio for Bluetooth:
# Install Bluetooth support
sudo pacman -S pulseaudio-bluetooth
# Restart PulseAudio
pulseaudio -k && pulseaudio --start
Or enable service:
systemctl --user restart pulseaudio
PipeWire
PipeWire includes Bluetooth support:
# PipeWire has built-in Bluetooth support
# No additional package needed
# Restart PipeWire if needed
systemctl --user restart pipewire pipewire-pulse
Connect Audio Device
After pairing:
-
Open audio settings (pavucontrol or system settings)
-
Select Bluetooth device as output
-
Test audio by playing sound
Troubleshooting
Bluetooth Not Working
Check service:
# Check Bluetooth status
sudo systemctl status bluetooth
# Restart if needed
sudo systemctl restart bluetooth
Device Not Found
Check adapter:
# Check if adapter is on
bluetoothctl show
# Power on if off
bluetoothctl power on
Connection Issues
Reset Bluetooth:
# Restart Bluetooth
sudo systemctl restart bluetooth
# Remove device
bluetoothctl remove MAC-ADDRESS
# Re-pair
bluetoothctl pair MAC-ADDRESS
Audio Not Working
Check audio:
# Check if device connected
bluetoothctl devices
# Check audio sink
pactl list sinks short
# Set as default
pactl set-default-sink bluetooth-sink-name
Summary
This guide covered Bluetooth configuration for Arch Linux, CachyOS, and other distributions, including installation, pairing, audio setup, and troubleshooting.
Next Steps
- Audio Configuration - Audio setup
- Hardware Detection - Hardware setup
- ArchWiki Bluetooth: https://wiki.archlinux.org/title/Bluetooth
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.