Actually that's a good question and should be easy to disable.
However, bluez does not seem to respect some of the settings :/
Do you want to completely disable it, so that also the service doesn't start, or so that only the device is initially disabled,
and you can enable it with a press on the bluetooth button or via the applet?
The former case is easier to do, as root disable the bluetooth service
- Code: Select all
systemctl disable bluetooth.service
then add rfkill block bluetooth to /etc/rc.d/rc.local, you can do that as root via
- Code: Select all
echo << EOF > /etc/rc.d/rc.local
#!/bin/sh
rfkill block bluetooth
EOF
chmod +x /etc/rc.d/rc.local
For the latter case you can try to change an option in /etc/bluetooth/main.conf to say
- Code: Select all
InitiallyPowered = false
but when I tried that last time, didn't have any effect (I also want to keep bluetooth disabled on startup, and only enable it easily when needed).