12

This is probably a duplicate of Bluetooth is disabled on Ubuntu 14.04

But the answers there did not help. I am struggling to add my device in bluetooth but all it shows are disabled options.

Is there a way? I checked all the bluetooth software and it is installed correctly.

1

3 Answers 3

14

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
2
  • I worked for me on my HP Envy/ Ubuntu 16.04 Jul 28, 2016 at 0:07
  • Such a brilliant suggestion! that's what eventually fixed it for me...
    – PenguinCSC
    Nov 23, 2016 at 8:55
13

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
12
  • Thanks, let me try by following these steps. And then I will let you know :)
    – santu
    May 31, 2014 at 10:51
  • 2
    why don't you just use sudo gedit, instead of gksudo?
    – Alvar
    May 31, 2014 at 10:52
  • santosh@santosh-Dell-System-Inspiron-N4110:~$ sudo apt-get install gksu -y E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    – santu
    May 31, 2014 at 10:54
  • this is what the error I got after running the first command - sudo apt-get install gksu -y :'(
    – santu
    May 31, 2014 at 10:55
  • Try gksudo gedit /etc/rc.local
    – Korkel
    May 31, 2014 at 10:57
1

if you love terminal then you will love this trick.

firstly open up terminal(ctrl+alt+t) then type Bluetoothctl start

it will connect you to the Bluetooth shell ,and now you connect to Bluetooth

so ,you have to type devices to see how many devices are discoverable.

pick your device and start typing connect [device address] //here device address is located to just besides your device name.

enjoy your connection to Bluetooth via terminal.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .