Dear bluetooth-experts, I want to disable bluetooth on my system (via commandline), if there is no active bluetooth connection -- without being root. Therefor I need a way to 1. check if there is an active bluetooth connection 2. disable bluetooth without being root For the second part I found dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F'"' '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false but this doesn't really disable bluetooth: I'm still able to deactivate bluetooth in the panel. For the first part I could not find a solution so far. I'm running Ubuntu 10.04. Thanks for your help! Jonathan Haug -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html