Skip to content

nagi1999a/BluetoothDualBootHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Bluetooth Dual Boot Helper

Introduction

When someone want to dual boot Windows and Linux, and use Bluetooth mouse or headset/speaker, it will not connect at both side because of the pair key inconsistence between Windows and Linux System. Addtional to original solution, the script create a simple GUI interface with whiptail/dialog to help user copy windows key to linux.

  • Most logic taken from here
  • Immediate break taken from here

Test Platform

  • KDE Neon 5.22
  • Windows 10 21H1

Command Line Usage

The script need root privilege to modify the key stored in /var/lib/bluetooth, so please run with sudo

sudo ./helper.sh <WINDOWS_DIRECTORY>

ex. sudo ./helper.sh /mnt/win/Windows

Usage

This Instruction is for ubuntu based system, others distro will not work!

  1. Pair device in Linux
  2. Pair device in Windows
  3. Back to Linux
  4. Install chntpw
sudo apt install chntpw
  1. if Windows Partition not mounted, mount Windows Partition, suppose mount sda3 at /mnt/win
sudo mount /dev/sda3 /mnt/win
  1. execute helper.sh
sudo ./helper.sh /mnt/win/Windows

Screenshot

Screenshot_20210902_145424 Screenshot_20210902_144712 Screenshot_20210903_141353 Screenshot_20210903_142236

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages