You are not logged in.
Yead, actually the topic of this thread says what i want to do:
I want my arch linux not starting my bluetooth but my bluetooth-applet (for gnome).
if there is no easy resolution for that an other way would be to turn off it automatically - but that's worse.
do you have any ideas?
Last edited by MekeorMelire (2010-08-15 16:11:51)
Offline
I think blacklisting could work.
Offline
if "blacklisting" means writing "!bluetooth" into the the DAEMONS in rc.conf - it doesn't work!
my current rc.conf DAEMONS:
DAEMONS=(syslog-ng netfs crond alsa !network hal networkmanager fam gdm cpufreq httpd samba !bluetooth)
but I changed my /etc/bluetooth/xxx files. e.g.:
that's my /etc/bluetooth/main.conf :
[General]
# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input
# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
Name = %h
# Default device class. Only the major and minor device class bits are
# considered.
Class = 0x000100
# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0
# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0
# Use some other page timeout than the controller default one
# which is 16384 (10 seconds).
PageTimeout = 8192
# Discover scheduler interval used in Adapter.DiscoverDevices
# The value is in seconds. Defaults is 0 to use controller scheduler.
DiscoverSchedulerInterval = 0
# What value should be assumed for the adapter Powered property when
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true
InitiallyPowered = false
# Remember the previously stored Powered state when initializing adapters
RememberPowered = true
# Use vendor, product and version information for DID profile support.
# The values are separated by ":" and VID, PID and version.
#DeviceID = 1234:5678:abcd
# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.
ReverseServiceDiscovery = false
# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
NameResolving = false
# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
DebugKeys = false
other ideas? do you turn off your bluetooth always manually?
Offline
I think the hint is gnome's bluetooth applet will have bluetooth started (wouldn't be unlogical). Why would you want to keep the applet but disable the underlying functionality? That's like buying a car and throwing out the engine.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Why would you want to keep the applet but disable the underlying functionality?
because with the applet I can turn on/off my bluetooth easily.
Offline
Then find a way to get the applet to disable bluetooth by default if you need that. Not the other way around.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I use two scripts, one to start bluetooth and one to stop it. I have them as shortcuts off of my start menu. It's almost as easy as having the icon in the systray. I don't use a panel but I suspect it would be easy to create a launcher if you have a panel.
Here's my scripts. I suspect there are better ways to do it but these two work for me.
Turn on
#! /bin/bash
gksu /etc/rc.d/bluetooth start
blueman-applet
Turn off
#! /bin/bash
gksu /etc/rc.d/bluetooth stop
killall -e obex-data-server
exec pkill blueman-applet
Desktop: Compiz Stand Alone w/ Cairo Dock.
Laptop: Pekwm w/ Tint2
Jukebox: MPD w/ cli
Gateway: Vuurmuur w/dialog
Offline
hmm, nope. that doesn't work.
Offline
Have you tried rfkill?
Offline
Yes!!!
RFKILL WORKS! Thank you!
Offline