How to remove bluetooth from the startup of our Ubuntu

bluetooth

Although bluetooth technology is present in many modern devices and equipment, the truth is that users do not use it as frequently as many would like. And although many operating systems like Ubuntu recognize it very well, The truth is that it is usually heavy to have the icon running down battery or energy and not using it.

So in this little guide we tell you how to disable bluetooth in Ubuntu so that the system does not use it and does not use so much energy. This little trick works for all Ubuntu computers, whether they are laptops or desktops as well as for the official flavors.

How to remove bluetooth

Just open a terminal in root mode and type the following:

gedit /etc/rc.local

This will open the famous text editor with a system configuration file. At the end of this file we will see a text that says «exit 0», before this text we will have to put the following:

rfkill block bluetooth

Once it is written, the text should look like the following image:

disable bluetooth

If so, we save the document and close it, once this is done, every time we restart the system, the bluetooth will not be charged with the consequent energy savings. If, on the other hand, we find that we want to re-enable it, we just have to go to the same file and delete the text that we have added, we save it and voila, the bluetooth reloads. And if we want to activate it and use it temporarily, in system configuration We will have the option to use it temporarily, but once the computer is restarted it will return to its original state, that is, deactivated.

Personally, I am not a big fan of bluetooth on the desktop computer, so I usually disable it unless I want to listen to music that I use bluetooth headphones for that. In any case, bluetooth tends to be annoying to me like many other users, but there are no excuses to deactivate it, don't you think?


4 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   ice modding said

    ehm… can't it be disabled with systemctl? 😛 systemctl stop / disable?

  2.   parakeet-palote said

    I tried that method and it doesn't work on ubuntu 18.04.
    In the end I found out by playing files how to disable it if you use blueman as a bluetooth app.
    To do this I go to this location with a file explorer run with superuser permissions:
    / usr / bin /
    and I edit the file called:
    "Blueman-applet"
    Inside this file there is a line written that says:
    self.Plugins.Run ("on_manager_state_changed", True)
    You just have to change true to false and it would look like this:
    self.Plugins.Run ("on_manager_state_changed", False)

  3.   ubunter said

    I have tried a plugin for the ubuntu installer called 'Bluetooth quick connect' and it looks great. The extra cost of battery is over and having to turn off the bluetooth every time the laptop starts, you configure it once and forget it and if you want to change it you enter from the installer and ready.
    Highly recommended.

  4.   He who doesn't want bluetooth said

    on ubuntu 18.04

    How can a file explorer run with superuser permissions be used?

    Greetings.