The bluetooth is disabled on Ubuntu 14.04

I use Ubuntu 14.04 on Lenovo Thinkpad X220.

I resolved this problem by running:

sudo chmod +x /usr/sbin/bluetoothd
sudo service bluetooth restart

To turn Bluetooth ON when your system starts up do the following:

Open a Terminal (CTRL+ALT+T).

Enter the following line if you don't have gksu installed.

sudo apt-get install gksu

If you have GKSU (installed or already have) enter the following:

gksudo gedit /etc/rc.local

The rc.local file will open. Add the following line before the exit 0:

rfkill unblock bluetooth

Now enter the following line in a terminal:

sudo reboot

To turn Bluetooth OFF when your system starts up do the following:

Open a Terminal (CTRL+ALT+T).

Enter the following line if you don't have gksu installed.

sudo apt-get install gksu

If you have GKSU (installed or already have) enter the following:

gksudo gedit /etc/rc.local

Add the following line above exit 0:

rfkill block bluetooth

Now enter the following line in a terminal:

sudo reboot

To switch between ON or OFF you can use the FN+Bluetooth key on your keyboard. This key is different for each system. You can change bluetooth also for something else, like wireless.

How to install/update the Bluetooth drivers:

Open a Terminal (CTRL+ALT+T).

Enter:

sudo apt-get install bluez bluez-alsa bluez-audio bluez-btsco bluez-compat bluez-cups bluez-dbg bluez-gstreamer bluez-hcidump bluez-pcmcia-support bluez-tools bluez-utils python-bluez bluewho indicator-bluetooth libbluetooth-dev  libgnome-bluetooth11 libbluetooth3