Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Disable bluetooth at startup with gnome-bluetooth

  1. #1
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Disable bluetooth at startup with gnome-bluetooth

    Hi. I'm using Ubuntu 9.10 Karmic and since the bluetooth in my notebook works perfectly with the gnome-bluetooth applet, especially turning it on and off, I'd like to issue at startup the command that the applet issue every time it's used. Currently the system turns bluetooth on at each restart not remembering its last status and I see no other way around then my eventual solution.

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable bluetooth at startup with gnome-bluetooth

    Guys, any help ?

  3. #3
    Join Date
    Jun 2009
    Location
    Deutschland
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Disable bluetooth at startup with gnome-bluetooth

    I was looking for a solution for this as well. I didn't find one.
    It's annoying to have to turn off bluetooth every time you boot and don't use it. And if your forget it sucks on your laptop batteries.

    Maybe open a bug for this at launchpad?

  4. #4
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable bluetooth at startup with gnome-bluetooth

    Sure it might be a very good idea, but I guess there's already more than one open on this subject

  5. #5
    Join Date
    Oct 2009
    Location
    Santiago de Compostela
    Beans
    2
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: Disable bluetooth at startup with gnome-bluetooth

    I could not find any graphical method so I had to do it this way:
    First ALWAYS backup configuration files ! !
    Code:
    sudo cp /etc/bluetooth/main.conf /etc/bluetooth/main.conf.OLD
    once backed up edit main.conf file
    Code:
    sudo nano /etc/bluetooth/main.conf
    Inside main.conf look for entry:
    Code:
    InitiallyPowered = true
    and change the value to false

    Save with Ctrl+X and restart GDM to see the effect :
    Code:
    /etc/init.d/gdm restart
    Remember to save any file in use before restarting the graphical session

    I have read this tutorial but seems a little bit out of date.
    Last edited by carimbonon; March 24th, 2010 at 03:47 AM. Reason: color-the-important

  6. #6
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Disable bluetooth at startup with gnome-bluetooth

    Thanks carimbonon ! That works perfectly

  7. #7
    Join Date
    Nov 2006
    Beans
    9

    Re: Disable bluetooth at startup with gnome-bluetooth

    Thank you for the great solution, but...

    gnome-bluetooth doesn't seem to recognize that I have changed this value and always shows that I have bluetooth enabled. Anyone find a way to solve this problem that will have the applet reporting correctly as well?

  8. #8
    Join Date
    Sep 2010
    Beans
    4

    Re: Disable bluetooth at startup with gnome-bluetooth

    According to https://bugs.launchpad.net/ubuntu/+s...ez/+bug/381913 there is the problem that the entries InitiallyPowered and RememberPowered seem to be ignored (or perhaps overwritten by some other settings). However, there is mentioned a workaround, which works in ubuntu 11.04 and very likely elsewhere, too:

    Calling from the commandline...
    Code:
    rfkill block bluetooth
    ...disables bluetooth in the same way, as a click on 'decativate' does. You can then manually enable/disable it later.

    So, it is a good idea to just add the above command to your .profile file in your home-directory, then the bluetooth manager gets loaded, but deactivated on each startup.

  9. #9
    Join Date
    May 2006
    Location
    The Netherlands
    Beans
    137
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Disable bluetooth at startup with gnome-bluetooth

    Thanks, rfkill block bluetooth seems to do the trick!

  10. #10
    Join Date
    Oct 2010
    Beans
    17

    Re: Disable bluetooth at startup with gnome-bluetooth

    So how do you manually start up bluetooth after disabling it?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •