如何用命令关闭蓝牙bluetooth?
Tofloor
poster avatar
jantacy
deepin
2017-06-27 18:21
Author
本帖最后由 jantacy 于 2017-6-27 10:27 编辑

由于蓝牙的开启对无线网卡有影响,所以要关闭蓝牙,但是在控制中心关闭蓝牙后,经常会出现蓝牙自动打开的情况(不是每次),有没有什么命令能关闭呢?我开机启动的时候执行。
ps 我试了的 /etc/init.d/bluetooth stop,有时候rfkill block bluetooth开机启动也不是很管用。@jingle


Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-06-27 19:05
#1
service bluetooth stop 试试
Reply View the author
avatar
yanbowen
deepin
Community Developer
2017-06-27 19:23
#2
sudo systemctl disable bluetooth.service 和 gsettings set com.deepin.dde.daemon bluetooth false
Reply View the author
avatar
jantacy
deepin
2017-06-27 19:36
#3
https://bbs.deepin.org/post/141665
service bluetooth stop 试试

这个和/etc/init.d/bluetooth stop是一样的好像。
Reply View the author
avatar
jantacy
deepin
2017-06-27 19:36
#4
https://bbs.deepin.org/post/141665
sudo systemctl disable bluetooth.service 和 gsettings set com.deepin.dde.daemon bluetooth false

前一个命令可以后一个没试,感谢。
Reply View the author
avatar
jantacy
deepin
2017-07-12 20:19
#5
15.4.1的蓝牙关闭状态还是不能保存。关闭后下次启动还是打开了。@jingle
Reply View the author
avatar
134******40
deepin
2017-07-12 20:57
#6
jantacy 发表于 2017-7-12 12:19
15.4.1的蓝牙关闭状态还是不能保存。关闭后下次启动还是打开了。@jingle

用3楼的方法就可以了。
Reply View the author
avatar
jantacy
deepin
2017-07-12 21:57
#7
https://bbs.deepin.org/post/141665
用3楼的方法就可以了。

嗯,但是这个导致了我更新到15.4.1后直接进不去系统,提示stop bluetooth service啥的,今天早上刚重装。
Reply View the author