With GUI
Run blueberry-tray
in dmenu, a tray icon appear in the system tray.
When you want to manage bluetooth, click the icon to open the bluetooth management GUI.
Or run blueberry
in console to open this GUI.
In Terminal
With running terminal application bluetoothctl
on you Linux laptop,
you need 2 steps to connect to a bluetooth device:
- Scan to get the MAC address of the target device
- trust, pair, connect
Here is a example of connecting to a bluetooth loudspeaker "SANSUI T28", with the MAC address "41:42:19:A2:83:E6":
$ systemctl status bluetooth.service
$ bluetoothctl
[bluetooth]# agent on
Agent is already registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 34:02:86:D0:4C:1E Discovering: yes
[NEW] Device 72:2E:F2:9E:28:77 72-2E-F2-9E-28-77
[NEW] Device 41:42:19:A2:83:E6 41-42-19-A2-83-E6
[CHG] Device 41:42:19:A2:83:E6 Name: SANSUI T28
...
[bluetooth]# scan off
[bluetooth]# trust 41:42:19:A2:83:E6
Changing 41:42:19:A2:83:E6 trust succeeded
[bluetooth]# pair 41:42:19:A2:83:E6
Attempting to pair with 41:42:19:A2:83:E6
Pairing successful
[bluetooth]# connect 41:42:19:A2:83:E6
Attempting to connect to 41:42:19:A2:83:E6
[CHG] Device 41:42:19:A2:83:E6 Connected: yes
Connection successful
[SANSUI T28 ]# quit
Agent unregistered
[DEL] Controller 34:02:86:D0:4C:1E leo7450 [default]
Trouble Shooting
如果出现蓝牙反复连接又断开的情况,在 GUI 中删除该设备, 再次连接设备后蓝牙连接保持稳定,不再反复断开。