How to prevent a Bluetooth headset to autoconnect without disabling Bluetooth?

Solution 1:

Hardware solution:

  1. Obtain a cheap USB mouse.

  2. Put your Bluetooth mouse away somewhere safe.

  3. Attach the USB Mouse

  4. Open a terminal and issue the command rfkill list this will give you a listing of rf devices, preceded by an index number.

  5. Issue the command rfkill block n where n is the index number of the device you wish to block (in this case your bluetooth interface)

You can re-enable the device with the command rfkill unblock n where n is the index number of the device you wish to unblock (in this case your bluetooth interface)

Note: I don't have bluetooth so I tested this process with a different rf device.


Software solution:

  1. Install blueman bluetooth manager from the Software Center or with this command:

     sudo apt-get install blueman
    

    Note: Installation requires the "universe" repository to be active in your software sources.

  2. Open Blueman from the dash.

  3. Select the headset from the list

  4. Click Setup...

  5. A window will open up, on that window, check Do not connect.

  6. Click Next button

  7. You're done

You should be able to connect and disconnect bluetooth devices at will.

Solution 2:

Another valid, simple solution: don't trust the device. When the connection popup shows up, just (click on) Deny.