Easiest Way to Disable Bluetooth upon Ubuntu Boot

The bluetooth option always being on when you log in can be annoying. In order to disable bluetooth upon Ubuntu boot up, add the following line to your /etc/rc.local file:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
rfkill block bluetooth
exit 0

This will essentially disable bluetooth after it has been enabled on boot up. You can enable it again, as usual, by using the bluetooth panel.

Leave a Reply

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