How to disable bluetooth autostart upon boot

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to disable bluetooth autostart upon boot

Postby axxer on Sat Sep 18, 2010 4:51 am

ok heres a workaround i got for disabling bluetooth upon boot..
first of all, i'm using linuxmint 9 lxde on my acer 2920 laptop which had a dedicated button to turn on/off bluetooth.. the problem is, bluetooth on my laptop is always on whenever i boot, regarding its state on session before. its so annoying to press that dedicated button to turn bluetooth off upon boot while i rarely use bluetooth. i've tried all possible way like disable bluetooth daemon, blacklist bluetooth module etc but with no luck,its still on whever i boot.
heres a bug report regarding this problem on launchpad https://bugs.launchpad.net/ubuntu/+bug/306739

ok lets go, first remove gnome bluetooth applet:

Code: Select all
sudo apt-get remove gnome-bluetooth


it will also prompt to remove gnome-user-share(we dont need this any more), so just continue.

next, install another bluetooth manager called blueman:

Code: Select all
sudo apt-get install blueman


next, install bootup manager:

Code: Select all
sudo apt-get install bum


open bootup manager:

Code: Select all
sudo bum


or find it on menu, in my menu its located in Preferences>BootUp Manager.

find bluetooth service and disable it(untick on box beside it) and click Apply.

boot your machine and se how it works :mrgreen:

note: on my machine, bluetooth still start on boot but it will close automatically 2-3 seconds later, so no more pressing dedicated button to turn off bluetooth for me :mrgreen: and i can turn it on again manually by pressing bluetooth dedicated button whenever i want to use it. file transfer works just fine using blueman(it will shows as bluetooth icon on tray icon similar to gnome-bluetooth that we remove earlier).
i think gnome-bluetooth just force bluetooth module to load upon boot, i've already test it with bootup manager(disable bluetooth module in bootup manager without unistalling gnome-bluetooth) and bluetooth still on when i boot, but when combining bootup manager with blueman, Whalla!! my problem solved :P
axxer
Level 1
Level 1
 
Posts: 25
Joined: Sat Sep 18, 2010 4:12 am

Linux Mint is funded by ads and donations.
 

Re: How to disable bluetooth autostart upon boot

Postby scratch178 on Sun Oct 10, 2010 2:13 pm

works great

thx
Sony Vaio VPCF11S1E
Drive: 128 GB SSD 470 Series Samsung
Processor: Intel Core i7-720QM @ 1,60 GHz
Ram: 6 GB DDR3 SDRAM
Graphic: 1 GB NVIDIA GeForce GT 330M
scratch178
Level 1
Level 1
 
Posts: 30
Joined: Sat Sep 18, 2010 9:13 am

Re: How to disable bluetooth autostart upon boot

Postby jarek_bolo on Sun Jan 16, 2011 7:09 am

I also confirm this solution.
My bluetooth device has been successfully disabled.

My laptop is Asus U30JC (i5 520M).

Greetings.
Jarek

Edit:

After some test I think that we don't have to turn off any services with boot-up menager.
I think that Blueman just remembers last state and when you restart your computer sets itself to this last state.
jarek_bolo
Level 1
Level 1
 
Posts: 3
Joined: Sun Jan 16, 2011 7:04 am

Re: How to disable bluetooth autostart upon boot

Postby sgosnell on Sun Jan 16, 2011 1:34 pm

Before going to all this trouble, did you open System/Preferences/Startup Applications, and uncheck the box for Bluetooth Manager? This will prevent the bluetooth manager from being loaded at boot, and bluetooth should be disabled. There should be no need for removing it and installing something else.
Asus eee-pc 900 w/ 32GB SSD.
sgosnell
Level 5
Level 5
 
Posts: 686
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma

Re: How to disable bluetooth autostart upon boot

Postby jarek_bolo on Sun Jan 16, 2011 3:53 pm

sgosnell wrote:Before going to all this trouble, did you open System/Preferences/Startup Applications, and uncheck the box for Bluetooth Manager? This will prevent the bluetooth manager from being loaded at boot, and bluetooth should be disabled. There should be no need for removing it and installing something else.

Doing so You won't be able to turn bluetooth on when needed without rebooting your machine.

I wanted to have bluetooth recognized and working but just turned off by software on default.
It seems that gnome-bluetooth doesn't remember it's last status. Blueman does it.
jarek_bolo
Level 1
Level 1
 
Posts: 3
Joined: Sun Jan 16, 2011 7:04 am

Re: How to disable bluetooth autostart upon boot

Postby sgosnell on Sun Jan 16, 2011 7:02 pm

You don't have to reboot to turn on bluetooth, you just have to run the bluetooth manager. That can be done from a desktop file or by "bluetooth-applet" from a terminal.
Asus eee-pc 900 w/ 32GB SSD.
sgosnell
Level 5
Level 5
 
Posts: 686
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma

Re: How to disable bluetooth autostart upon boot

Postby iskada on Wed Apr 13, 2011 11:46 am

thanks, just adjust in 'System' menu, it works
iskada
Level 1
Level 1
 
Posts: 1
Joined: Wed Apr 13, 2011 11:44 am

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 10 guests