I'm wanting to disable/enable bluetooth in a shell script, in order to turn-off my bluetooth speaker (with its inactivity timer).
Is there anyway to know the command that is run when I do it using the GUI (bluetooth menu)?
Is there anyway to know the command which is run when I connect to the speaker (sound menu, bluetooth speaker select)?
I have looked in the log files, but I am not able to see the actual commands.
Any ideas on what those specific commands are?
Thanks.