r/linuxquestions • • 11d ago

Support Network Manager and Bluetoothctl fighting for descovery

Hello all, I'm running endevourOS, and I'm trying to set bluetooth scanning on and off using a script. I had issues setting discovery off until I found out the culprit was Network Manager by looking at the DBus. Does anyone know how to disable this, because I would like to just manage my bluetooth with bluetoothctl and wifi with nmcli. Thanks!

0 Upvotes

4 comments sorted by

1

u/CosmicFieldDrift_ 11d ago

What is the script?

1

u/Silver_Daikon_5533 4d ago

https://pastebin.com/FK0BRKsC There is the script, but the issue is that when I run Bluetoothctl scan off, it returns a failed error. If I look at the dbus activity, I see networkmanager and bluez toggling scan on and off

1

u/CosmicFieldDrift_ 4d ago

Does your system have built-in wifi and bluetooth?
Are you using any adapters for wifi/bluetooth?