The bluetooth is disabled on Ubuntu 14.04

103,020

Solution 1

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

Solution 2

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

Solution 3

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.

Share:
103,020

Related videos on Youtube

santu
Author by

santu

Updated on September 18, 2022

Comments

  • santu
    santu almost 2 years

    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.

  • santu
    santu about 10 years
    Thanks, let me try by following these steps. And then I will let you know :)
  • Alvar
    Alvar about 10 years
    why don't you just use sudo gedit, instead of gksudo?
  • santu
    santu about 10 years
    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
    santu about 10 years
    this is what the error I got after running the first command - sudo apt-get install gksu -y :'(
  • santu
    santu about 10 years
    Awesome, it is amazingly working. Thank you soooooooooooooo much my friend. You are the man :) I could add my Bluetooth mouse even.
  • Korkel
    Korkel about 10 years
    You're welcome, the answer gives you now some extra information.
  • santu
    santu about 10 years
    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.
  • Korkel
    Korkel about 10 years
    USB mouse? Try a other USB port.
  • santu
    santu about 10 years
    no the bluetooth mouse which I added just now. Also I added the screenshot below.
  • Korkel
    Korkel about 10 years
    Let us continue this discussion in chat. - I updated the answer again.
  • partho
    partho about 8 years
    installed a software, but that software doesn't work
  • E. Fernandes
    E. Fernandes almost 8 years
    I worked for me on my HP Envy/ Ubuntu 16.04
  • PenguinCSC
    PenguinCSC over 7 years
    Such a brilliant suggestion! that's what eventually fixed it for me...