Bluetooth

First time

# apt install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware
# service bluetooth restart
$ killall pulseaudio

Connect from terminal

Start bluetooth.service.

Run

$ 
bluetoothctl

to be greeted by its internal command prompt. Then enter:

[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[bluetooth]# pair 00:1D:43:6D:03:26
[bluetooth]# connect 00:1D:43:6D:03:26

If you are getting a connection error org.bluez.Error.Failed retry by killing existing PulseAudio daemon first:

$ pulseaudio -k
[bluetooth]# connect 00:1D:43:6D:03:26

Finally, if you want to automatically connect to this device in the future:

[bluetooth]# trust 00:1D:43:6D:03:26

Headset connected but doesn't show in sound settings

systemctl --user restart pipewire{,-pulse}

Protocol not available

  • Make sure you have uninstalled pulseaudio-module-bluetooth
  • installed libspa-0.2-bluetooth
  • issue systemctl --user stop pipewire-pulse.service pipewire.service
  • disconnect the headset and reconnect