Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got vostro 2520. The thing that annoys me is that by default it switches on bluetooth as addition to wifi & i have to switch it off after every reboot :(
Can i save the state switched of for bluetooth as a default? this is to prolong battery life.
I didn't find an answer to this googling. Could you help me?

share|improve this question
up vote 1 down vote accepted
  1. Open /etc/rc.local in a text editor, e.g.

    gksudo gedit /etc/rc.local
  2. Just above the exit 0 line, add a line

    rfkill block all
  3. Save the file and close the editor.

  4. Reboot and notice Bluetooth and WiFi are switched off (as well as other radios - see below).

For other readers who want to script radios individually, it's possible to replace all with wifi (same as wlan), bluetooth, uwb (same as ultrawideband), wimax, wwan, gps and fm.

Addendum - as OP edited his answer.

The contents of this in /etc/rc.local (complete) works for disabling Bluetooth every boot:

#!/bin/sh -e
rfkill block bluetooth
exit 0
share|improve this answer
so i write rfkill block bluetooth to block bluetooth. thanks! – Elmor Feb 3 '13 at 23:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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