Bluetooth

How to install and configure Bluetooth




Enable bluetooth

pacman -Syu bluez bluez-utils bluez-plugins blueman perl-net-dbus
systemctl enable bluetooth

Connect to a bluetooth device

bluetoothctl

[bluetooth]# power on
[bluetooth]# scan on
[bluetooth]# pair MACADDRESS
[bluetooth]# connect MACADDRESS
[bluetooth]# trust MACADDRESS

Auto power-on after boot/resume

By default, the Bluetooth adapter does not power on after a reboot or resuming from suspend.

/etc/bluetooth/main.conf
[Policy]
AutoEnable = true

Discoverable on startup

/etc/bluetooth/main.conf
[General]
DiscoverableTimeout = 0

Make sure that the bluetooth device is not blocked by rfkill

rfkill list
rfkill unblock bluetooth