Bluetooth refuses to work properly

Take a look in etc/bluetooth

In that folder, there is a file named main.conf

Look on line 276 it should say AutoEnable=

Remove the # before that line and add true to it.

You should have something that looks like this:


AutoEnable=true

Save the file and you can either restart the bluetooth service or reboot.

2 Likes

Many thanks @linesma
I did as you mentioned.

Screenshot_20220316_083942

changed the status

AutoEnable=false 
to
AutoEnable=true

Screenshot_20220316_083828

but will this save the profile?
If I search the net or archwiki everyone seem to use a GUI to handle thisā€¦
But it would be bloat if I have letā€™s say one BT-speaker I want to connect each time I boot upā€¦
they will get saved here I think:
/var/lib/bluetooth/
Could be that bluetoothctl saved them too but it will not run to enable the profilesā€¦ what a GUI will do using the same profiles ?

So something like bluetoothctl -- command on login?

2 Likes

When you say ā€œsave a profileā€ are you talking about what sink and or codec is needed for headphones?

The setting I had them change will make sure that the Bluetooth is on when they boot. If the speaker is on and previously paired with the system, it should connect automatically then.

If you need to specify codecs and what sink to use, you can also do this with a config file.

1 Like

and indeed it will simple autoconnect to the device you setup before with bluetoothctl if main.conf is set to

AutoEnable=true

no GUI needed :wink:
:vulcan_salute:

2 Likes