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.



  1. i love you (Benjamin Dahlhoff) and Peter Wu! 🙂 it works on my Acer ONE 10 with Fedora 31, and because i dont use any other wireless device on this tablet (and only when connected to the keyboard) i dont bother if the internal bluetooth adapter doesn’t work on Fedora!
    thanks again to both of you!

  2. Newbie here… here’s what I got when I tried it. What blindingly simple thing did I forget to do?

    make install-home
    cc -g -O2 -Wall -Wextra -D_FORTIFY_SOURCE=2 -fstack-protector –param ssp-buffer-size=4 -o ltunify ltunify.c -lrt -DPACKAGE_VERSION=\”0.2-24-gf664d1d\”
    ltunify.c:21:10: fatal error: fcntl.h: No such file or directory
    compilation terminated.
    Makefile:27: recipe for target ‘ltunify’ failed
    make: *** [ltunify] Error 1


Comments are closed.