On a dual boot computer, you would find yourself needing to pair your bluetooth device again. To prevent this, you will need to transfer the bluetooth keys between the OSes. This can be done manually, but it's pretty complicated.
This script greatly simplifies the steps required.
This script involves accessing and modifying system files on the Windows / Linux systems and may risk damaging your computer. Proceed with the below steps at your own risk.
- Pair the mouse in Linux.
- Reboot your computer and pair the mouse in Windows.
- Download PSExec to the same folder as
GetBTKeys.bat
. - Run
GetBTKeys.bat
in Administator mode. This will create a fileBTKeys.reg
in the same folder. - Reboot back to Linux, run
dual-boot-mouse.py
with sudo.
- Mario Olivio Flores's guide: https://unix.stackexchange.com/questions/255509/bluetooth-pairing-on-dual-boot-of-windows-linux-mint-ubuntu-stop-having-to-p
- Stefan Fabian's answer: https://unix.stackexchange.com/questions/402488/dual-boot-bluetooth-le-low-energy-device-pairing
- https://console.systems/2014/09/how-to-pair-low-energy-le-bluetooth.html