KDE Connect CLI | A gift to Future Self

KDE Connect is an application that I use on a daily basis between my mobile and my desktop or laptop Linux systems. Most of my systems are openSUSE machines running KDE Plasma and the mobile devices are running LineageOS (Android). Up until I decided to run a non-KDE Plasma desktop.

​I was given the distinct pleasure in getting to know the KDE Connect Command Line Interface application when pairing devices to a BunsenLabs and MX Linux installation. The main reason for this was to be able to share clipboards and use my HP TouchPad as an input device for the machine.

The commands are mostly easy to use. This is a guide for me, if it works for you, fantastic. If you have no interest in this, that is perfectly fine too.

Installation

Install using your favorite graphical package manager or in the terminal.

openSUSE

sudo zypper install kdeconnect-kde

Debian Based

sudo apt-get install kdeconnect

Process to Pair Device

There are two ways you can go about doing this. From the terminal on the non-Plasma system to a system with either Android KDE Plasma or the reverse. I am going to demonstrate this the fun way, which is from the terminal to the GUI systems.

Assuming that you have configured your firewall to allow KDE Connect communication, in short 1714-1764 for UDP and TCP connections, check with your distribution for firewall instructions, or here for the KDE Community instructions. Optionally, here for the openSUSE Instructions.
In the terminal run this to find KDE Connect enabled devices: