-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux Bluetooth Configuration
Complete beginner-friendly guide to configuring Bluetooth on Linux, covering Arch Linux, CachyOS, and other distributions including device pairing, audio setup, and troubleshooting.
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
Arch Linux / CachyOS:
# Install BlueZ
sudo pacman -S bluez bluez-utils
# Enable and start service
sudo systemctl enable --now bluetooth.serviceDebian/Ubuntu:
sudo apt install bluez bluez-tools
sudo systemctl enable --now bluetoothFedora:
sudo dnf install bluez bluez-tools
sudo systemctl enable --now bluetoothInstall GUI manager:
# Install Blueman (Arch/CachyOS)
sudo pacman -S blueman
# Launch
blueman-managerOther distributions:
# Debian/Ubuntu
sudo apt install blueman
# Fedora
sudo dnf install bluemanPair 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
quitExplanation:
-
power on: Turns on Bluetooth adapter -
scan on: Scans for nearby devices -
pair: Pairs with device (may require PIN) -
connect: Connects to paired device -
trust: Allows auto-connection
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
Configure PulseAudio for Bluetooth:
# Install Bluetooth support
sudo pacman -S pulseaudio-bluetooth
# Restart PulseAudio
pulseaudio -k && pulseaudio --startOr enable service:
systemctl --user restart pulseaudioPipeWire includes Bluetooth support:
# PipeWire has built-in Bluetooth support
# No additional package needed
# Restart PipeWire if needed
systemctl --user restart pipewire pipewire-pulseAfter pairing:
-
Open audio settings (pavucontrol or system settings)
-
Select Bluetooth device as output
-
Test audio by playing sound
Check service:
# Check Bluetooth status
sudo systemctl status bluetooth
# Restart if needed
sudo systemctl restart bluetoothCheck adapter:
# Check if adapter is on
bluetoothctl show
# Power on if off
bluetoothctl power onReset Bluetooth:
# Restart Bluetooth
sudo systemctl restart bluetooth
# Remove device
bluetoothctl remove MAC-ADDRESS
# Re-pair
bluetoothctl pair MAC-ADDRESSCheck audio:
# Check if device connected
bluetoothctl devices
# Check audio sink
pactl list sinks short
# Set as default
pactl set-default-sink bluetooth-sink-nameThis guide covered Bluetooth configuration for Arch Linux, CachyOS, and other distributions, including installation, pairing, audio setup, and troubleshooting.
- 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.