maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Adding bluetooth toggle command to menus (https://talk.maemo.org/showthread.php?t=19387)

Linear2202 2008-04-22 01:54

Adding bluetooth toggle command to menus
 
So, I'm hoping someone can help me with this. Somewhere I saw a sceen capture and someone had the ability to toggle bluetooth from perhaps, personal menu?

I'd love to know how to toggle bluetooth on and off without having to drill down through the control panel>bluetooth.

Thanks in advance.

David

Laughing Man 2008-04-22 02:04

Re: Adding bluetooth toggle command to menus
 
If the bluetooth is on, just click on the icon then click turn off. (or whatever it is called). No need to drill down through the control panel.

Benson 2008-04-22 03:11

Re: Adding bluetooth toggle command to menus
 
/sbin/hciconfig hci0 up
/sbin/hciconfig hci0 down

chrisak 2008-04-22 03:15

Re: Adding bluetooth toggle command to menus
 
David, the screencapture you saw was probably the old command navigator. I too went looking for this awhile back but ran into a dead end. Then earlier today I asked about it on irc aand qwerty, whom I didn't get to thank, but will probably see this <waves thanx>, pointed me to the following: https://garage.maemo.org/projects/switchonbt

Works great; menu item to toggle on/off just as you like :)

chrisak 2008-04-22 03:19

Re: Adding bluetooth toggle command to menus
 
Benson, no hciconfig on my system... and I couldn't find it to install. This was the dead end I hit awhile back :(

Benson 2008-04-22 03:36

Re: Adding bluetooth toggle command to menus
 
It's from package bluez-utils-dist
http://gronmayer.com/it/ says from mulliner.org repo.

tso 2008-04-22 13:05

Re: Adding bluetooth toggle command to menus
 
https://garage.maemo.org/projects/switchonbt is indeed the way to go :)

i have it sitting around my my simplelauncher strip, but lately i have just left bluetooth on all the time (or i turn of all radios using the "offline mode" option of the power menu).

Linear2202 2008-04-22 14:54

Re: Adding bluetooth toggle command to menus
 
Thanks everyone for the quick replies and suggestions. The last one did the trick for me.

I tried the bluez, and the commands worked, but bluetooth never turned on. Not sure what I did wrong.

Thanks again.

David


All times are GMT. The time now is 04:11.

vBulletin® Version 3.8.8