zoukankan      html  css  js  c++  java
  • manjaro20默认关闭蓝牙

    用于节电。

    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
    
  • 相关阅读:
    猜数字游戏
    发红包程序
    实现微信摇一摇部分功能
    计算1+1/2+1/3+....+1/100的值
    约瑟夫问题
    简易计时器
    简易学生管理系统
    文件加密解密
    分鱼问题
    分橘子问题
  • 原文地址:https://www.cnblogs.com/fengmao31/p/13907461.html
Copyright © 2011-2022 走看看