Re: which commands are executed by the "bluetooth enable" button?
Il 29/04/20 16:23, Marco Möller ha scritto:
On 29.04.20 10:15, luca.pedrielli wrote:
|#!/bin/bashifrfkill list bluetooth |grep -q 'yes$';thenrfkill
unblock bluetooth elserfkill block bluetooth fi|
Hmmm. I have no rfkill installed in my system. I may install it and
try it out. The GUI button will know another trick, though.
rfkill is working here, but you can also try this(working here too):
$ dbus-send --system --dest=org.bluez --print-reply /org/bluez/hci0
Saluti, Luca Pedrielli