首页 > 编程语言 > 详细

manjaro20默认关闭蓝牙

时间:2020-10-31 23:55:43      阅读:41      评论:0      收藏:0      [点我收藏+]

用于节电。

https://gist.github.com/0xfe11/d0874b7d31cf649616fa9d816571ab3c

推荐执行

# Stop and disable the bluetooth service
sudo systemctl stop bluetooth.service
sudo systemctl disable bluetooth.service

# To check the status of the service -
systemctl status bluetooth.service

# Then there’s this command to permanently prevent it being used -
sudo systemctl mask bluetooth.service

命令手册

# Turn off the bluetooth
sudo rfkill block bluetooth

# Turn on bluetooth
sudo rfkill unblock bluetooth

# Stop and disable the bluetooth service
sudo systemctl stop bluetooth.service
sudo systemctl disable bluetooth.service

# To check the status of the service -
systemctl status bluetooth.service

# Then there’s this command to permanently prevent it being used -
sudo systemctl mask bluetooth.service

# Likewise, I think ‘unmask’ undoes the above if you want it back for whatever reason.
sudo systemctl unmask bluetooth.service

# If you want to list which services are enabled -
systemctl list-unit-files --type=service | grep enabled

manjaro20默认关闭蓝牙

原文:https://www.cnblogs.com/fengmao31/p/13907461.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!