Appearance
使用
bluetoothctl
进行连接首先执行
bluetoothctl
进入对话状态然后执行
scan on
开启扫描,注意你要连接的设备也需要开启配对状态通过扫描列表看到设备名字对应的 Mac Address XXXX-XX-XX-XX
输入
pair XXXX-XX-XX-XX
进行配对提示配对成功后,使用
connect XXXX-XX-XX-XX
进行连接信任设备,执行
trust XXXX-XX-XX-XX
这样开机启动之后会尝试自动连接蓝牙设备如果通过
info XXXX-XX-XX-XX
观察到匹配成功了但是没有效果,例如 airpods pro 没有声音,可以尝试重启蓝牙服务 sudo service restart bluetooth
通过
nmtui
安装,执行 nmtui
进入图形配置界面即可