Ubuntu 下连接并使用 Airpods在 Ubuntu 20.04 上连接 Airpods 终于成功了,记录一下过程吧。
Ubuntu系统版本:Ubuntu 20.04.1AirPods型号: Airpods1(第二代)
编辑 /etc/bluetooth/main.conf 文件,设定ControllerMode = bredr
重启蓝牙 sudo /etc/init.d/bluetooth restart
AirPods 长按充电盒上的按钮,进入蓝牙配对模式。
在 Ubuntu 设置中找到蓝牙,搜索 Airpods 配对。
如果连接上了,但是没有声音。就按如下的操作。
在 Ubuntu 设置中找到声音,设定声音输出设备为 AirPods。
如果还是不行,就把当前用户注销,再重新登录登进来。
连接成功之后可以再把那个设置加上#注释掉。
耳机和蓝牙鼠标都可以正常使用了。
参考资料
Airpods耳机连接Mac、Windows 10、iPhone、安卓、Linux-完全指南
.video-container {
position: relative;
...
离线安装node环境在下面链接中找到需要的版本下载
https://nodejs.org/dist/
比如安装12.17.0版本:
这里是root用户的主目录(/root)下进行操作的,
12345678910111213141516# 下载指定版本wget https://nodejs.org/dist/v12.17.0/node-v12.17.0-linux-x64.tar.xz# 解压tar xf node-v12.17.0-linux-x64.tar.xz# 进入解压目录cd node-v12.17.0-linux-x64/# 执行node命令 查看版本./bin/node -vv12.17.0# 建立软连接 ln -s 源文件路径 软连接路径ln -s /root/node-v12.17.0-linux-x64/bin/node /usr/local/bin/ln -s /root/node-v12.17.0-linux-x64/bin/npm /usr/local/bin/# 如果安装的cnpm或者其他(比如vue),需要再次建立软连接ln -s /root/ ...
git基础Git远程操作详解
git设置用户名和邮箱12345678910# 设置用户名和邮箱git config --global user.name "username"git config --global user.email "useremail"# 查看用户名和邮箱git config user.namegit config user.email# 查看其它配置git config --list
参考:git配置用户名和邮箱
git设置代理123456789101112131415161718# 设置当前代理git config http.proxy http://127.0.0.1:7890# 设置全局代理(我在用的)git config --global http.proxy http://127.0.0.1:7890git config --global https.proxy http://127.0.0.1:7890# 取消当前代理git config --unset http.proxy# 取消全局代理git confi ...