In the wonderful world of modern linux desktops many distros will detect and configure the majority of your hardware out of the box. This is a great feature and in this area linux is often ahead of its counterparts.
Sometimes, however, there is a piece of hardware that you either don’t need, or don’t want handled automatically for you. One such thing for me is bluetooth.
Although my laptop is equipped with bluetooth, I just don’t use it very often. This is fine except that I’d rather not waste the battery power on something I’m unlikely to to use anytime soon. Unfortunately in Ubuntu based distros if you turn bluetooth off from within the desktop it is re-enabled upon a reboot.
Problem: Bluetooth remains on by default at boot even when turned off in bluetooth manager during last use.
Solution: A simple way to ensure bluetooth is turned off by default but still available to switch on via whichever bluetooth manager applet is provided by your particular desktop environment is to kill it upon boot with rfkill. This is done by adding a line to /etc/rc.local which is a file run by Debian based systems near the end of the boot cycle.
In a terminal enter the following command to edit rc.local
gksudo gedit /etc/rc.local
Add the following line between the comments and the line ‘exit 0’
rfkill block bluetooth
Save & Exit
Edit: After recently installing Linux Mint Debian Edition I’ve noted that it does not come with the package rfkill installed by default as does Ubuntu or regular Linux Mint. This package can be installed as below.
sudo apt-get install rfkill