Friday, October 29, 2010

How to Disable Bluetooth on Startup [Ubuntu Tweaks]

On some laptops, like my Lenovo Ideapad Z360 there is no separate on/off switches for Bluetooth and Wi-Fi.

Therefore Bluetooth was always enabled upon startup, using up power (that is precious when running on battery) and simply unused.
I can turn off Bluetooth using Bluetooth panel applet but I often forget it and it's not convenient.

However, there is a very easy way!

  1. Press Alt+F2 to open Run dialog
  2. Type:

    gksu gedit /etc/rc.local

  3. Add the following line before the "exit 0" line:

    rfkill block bluetooth

Reboot your Ubuntu computer and Bluetooth is automatically disabled.

You can still turn on Bluetooth using the Bluetooth panel applet as usual.

Resources:

1 comment:

  1. it works!!!

    good jobs!!!

    thanks for sharing!

    ReplyDelete