How to prevent a Bluetooth headset to autoconnect without disabling Bluetooth?
Solution 1:
Hardware solution:
-
Obtain a cheap USB mouse.
-
Put your Bluetooth mouse away somewhere safe.
-
Attach the USB Mouse
-
Open a terminal and issue the command
rfkill list
this will give you a listing of rf devices, preceded by an index number. -
Issue the command
rfkill block n
wheren
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:
-
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.
-
Open Blueman from the dash.
-
Select the headset from the list
-
Click Setup...
-
A window will open up, on that window, check Do not connect.
-
Click Next button
-
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
.