Xubuntu Bluetooth – blueman – automatic device connection (audio+headset)

bluemanThis had me flummoxed for a while, if I wanted my HTC ONE-X or Jabra Clipper to connect to the PC, I always had to go into devices and then select audio sink before it would connect, this is having previously paired and trusted the devices.

A foray into /etc/bluetooth/ showed all the .conf files for bluetooth, including audio.conf.

In there is a setting for auto-connection. All you have to do is remove the comment from the last line of the coda, save out then restart bluetooth, and your devices should automagically connect next time you try


This is going to be of great help when using bluetooth headphones on our htpc, and also with my carpc for either connecting the phone to the car, or for other bluetooth uses (yet to be discovered but keyboard or remote possibilities)

17 thoughts on “Xubuntu Bluetooth – blueman – automatic device connection (audio+headset)

  1. Pingback: Bluetooth headset connects then disconnects topic | ubuntu

  2. Thank you very much! Finally I could normally use my bluetooth headphones with PC. Very strange that pulseaudio-module-bluetooth is not installed by default in ubuntu.

  3. i already install the pulseaudio-module-bluetooth
    then i enter this command: pactl load-module module-bluetooth-discover
    and the result is: Failure: Module initialization failed
    any idea?
    thank you

    • Don’t think that you have pulseaudio-module-bluetooth installed / installed correctly. Just did the install on a fresh machine and the discover command returned “23” (which I assume means all is OK)


      sudo apt-get purge pulseaudio-module-bluetooth && sudo apt-get install pulseaudio-module-bluetooth and try the pactl command again?

      • I am having the same problem. I just tried your suggestion but it was the same with the pactl
        Failure: Module initialization failed
        Any other idea?

        • No other suggestions atm. Suggest “something else” is missing. May depend on how much “configuration” you have already done to pulse. I have found in the past I got “lost” trying to fix things, ended up having to do a full reinstall to get things working again. 🙁

  4. Wow! This worked like a charm! Thanks very much.

    I moved from Gnome to Xfce and bluetooth wasn’t working until today

    Easy piece of cake

    # Automatically connect both A2DP and HFP/HSP profiles for incoming
    # connections. Some headsets that support both profiles will only connect the
    # other one automatically so the default setting of true is usually a good
    # idea.

    And then

    pactl load-module module-bluetooth-discover

Leave a Reply

Your email address will not be published. Required fields are marked *