Want to pair or unpair your Logitech device to a “Unifying Receiver” on Linux? Here is how to do it. This has been tested in Fedora 29. The tool to use is called “ltunify” and has been written by Peter Wu about 6 years ago.
Step 1: Use git to clone the source code to your Linux:
cd Downloads git clone https://git.lekensteyn.nl/ltunify.git
Step 2: Compile ltunify:
cd ltunify make install-home
This will compile ltunify and install it tothe current user’s bin folder in /home/<user>/bin/ltunify
Step 3: List Devices:
Run ltunify with sudo and the parameter “list” to show all devices:
sudo ~/bin/ltunify list
This gives you an output like this: (I have paired to keyboards to my receiver in this example).
Devices count: 2 Connected devices: idx=1 Keyboard K830 idx=2 Keyboard K400
Step 4: Pair a new device:
Make sure, your device to be paired is turned off. Then start ltunify with the pair parameter.
sudo ~/bin/ltunify pair
Now turn on your device to start the pairing process. Example output:
Please turn your wireless device off and on to start pairing. Found new device, id=0x02 Keyboard Failed to cancel pair visibility
The keyboard is now paired.
Step 5: Unpair a device:
Unpairing is easy. First get a list of all paired devices with the parameter “list” and then unpair with the parameters “unpair” and the device numer.
sudo ~/bin/ltunify list Devices count: 2 Connected devices: idx=1 Keyboard K830 idx=2 Keyboard K400
sudo ~/bin/ltunify unpair 2 Device 0x02 Keyboard successfully unpaired
Thanks to developers like Peter Wu for providing excellent tools like ltunify. If this guide has helped you, please leave a comment below.