4

I want Bluetooth disabled by default. How to do it in elementary os? I've already tried to disable it in settings. But there is no option for this. If I disable it on top bar and login and logout the Bluetooth is enabled.

2 Answers 2

3

You can disable it by adding next line to /etc/rc.local file with following system restart:

rfkill block bluetooth
2
  • 1
    This solution "blocks" the bluetooth "widget" too. Isn't there any solution that only "switch off" the bluetooth like the widget does? Commented Jun 18, 2018 at 19:03
  • Elementary OS 6 does not present this file. Commented Sep 14, 2021 at 12:12
4

Open /etc/bluetooth/main.conf and change AutoEnable=true to AutoEnable=false.

2
  • Didn't work on elementary OS 5.0 juno
    – Ali Tou
    Commented Aug 16, 2019 at 8:59
  • Worked for me in Elementary OS 6 (built on Ubuntu 20.04.3 LTS) Commented Sep 14, 2021 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.