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.

jokerdino
  • 41,000
  • 24
  • 132
  • 201
santu
  • 223
  • 1
  • 2
  • 6

3 Answers3

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
Zanna
  • 69,223
  • 56
  • 216
  • 327
10r03r
  • 141
  • 1
  • 3
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
Zanna
  • 69,223
  • 56
  • 216
  • 327
Korkel
  • 1,158
  • 1
  • 10
  • 26
  • Thanks, let me try by following these steps. And then I will let you know :) – santu May 31 '14 at 10:51
  • 2
    why don't you just use `sudo gedit`, instead of `gksudo`? – Alvar May 31 '14 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 '14 at 10:54
  • this is what the error I got after running the first command - sudo apt-get install gksu -y :'( – santu May 31 '14 at 10:55
  • Try `gksudo gedit /etc/rc.local` – Korkel May 31 '14 at 10:57
  • Awesome, it is amazingly working. Thank you soooooooooooooo much my friend. You are the man :) I could add my Bluetooth mouse even. – santu May 31 '14 at 11:14
  • You're welcome, the answer gives you now some extra information. – Korkel May 31 '14 at 11:19
  • But can you tell me why my bluetooth mouse connectivity is getting off automatically in ever 4-5 seconds if I don't use my mouse? I again have to switch it on in order to use the mouse again. very annoyed. – santu May 31 '14 at 11:36
  • USB mouse? Try a other USB port. – Korkel May 31 '14 at 11:36
  • no the bluetooth mouse which I added just now. Also I added the screenshot below. – santu May 31 '14 at 11:42
  • Let us [continue this discussion in chat](http://chat.stackexchange.com/rooms/14830/discussion-between-korkel-and-santu). - I updated the answer again. – Korkel May 31 '14 at 11:46
  • installed a software, but that software doesn't work – partho Apr 07 '16 at 17:15
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.