429

How can I deactivate Bluetooth on system startup?

17
  • 82
    The normal and natural thing is to let you choose, in the bluetooth settings, whether you want it on or off when it boots. It is not natural to have people turning it off or on every time they turn on their computer. We are talking about making Linux the best desktop system, not the worst, aren't we?
    – Robert
    May 4, 2012 at 20:30
  • 2
    I am reading the link that, roadmr, wrote. It sounds intereseting but by no means that people should turn on and off the bluetooth. The bluetooth configuration should ask whether you want t on or off at boot time, or at least it should boot with the last state. That is a rule of thumb. In my case, now, it is a built-in bluetooth. The problem is that I can choose on or off clicking on the systray icon but if I go to edit configuration it is always off. So this is clearly an error that is misleading.
    – Robert
    May 4, 2012 at 20:47
  • 2
    This is bug #1073669.
    – colan
    Jul 14, 2015 at 20:44
  • 24
    It's kind of unbelievable that, on the 14th edition, we are still "teaching" Ubuntu developers things like "the option to have bluetooth on or off on boot should be available to normal users, and not just to those fond of searching in interminable lines of public forums".
    – Rodrigo
    Aug 28, 2015 at 12:08
  • 3
    @Lexible this setting is a "one-time" setting, it will also not be relevant if you switch to another user. But there is an easy option (both via command line and gui) as shown in the answer from @bmaupin - it is a pitty that it isn't marked as solution. Apr 1, 2020 at 18:04

34 Answers 34

1
2
0

Pure systemd solution (16.04+)

Rather than use the legacy rc-local solution, here is a clean and portable systemd service that suspends bluetooth upon boot and also after waking up from sleep.

  1. Using sudo, create /etc/systemd/system/bluetooth-suspend.service with the following contents:
[Unit]
Description=Disable bluetooth after waking up.
After=suspend.target network.target

[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/usr/sbin/rfkill block bluetooth

[Install]
WantedBy=suspend.target network.target
  1. Enable the service: sudo systemctl enable bluetooth-suspend.service

  2. Reload systemd: sudo systemctl daemon-reload

To re-enable bluetooth, run rfkill unblock bluetooth in the terminal.

-1

You can also use this Graphic application that also does this bluetooth manager

-2

I had to use a brute-force method to stop bluetoothd from being automatically started at boot. I renamed the executable so it couldn't be found.

1
  • It's faster starting things in parallel. At least that's the idea. Sep 28, 2012 at 13:48
-3

You need to disable it from the Start Up Applications list in System Settings.

Click on the cog in the top right hand side of the menu bar and then select System Settings.

Click on Start Up Applications then scroll down until you find the bluetooth setting, take the tick from the box and you all done.

4
  • 2
    I can't find bluetooth in the Start Up Applications..
    – Floqqi
    Oct 16, 2011 at 21:40
  • 5
    That doesn't actually stop the Bluetooth subsystems and hardware from running (and importantly: consuming battery). It just stops the applet running.
    – Oli
    Oct 16, 2011 at 23:59
  • @Oli - thanks for the heads up, I never actually knew that ! I assumed if you disabled it in the start up applications it did not start the process at all. Oct 17, 2011 at 9:44
  • 1
    Sadly, it's not in the startup applications in 11.10.
    – Amanda
    Jan 28, 2012 at 1:24
1
2

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