Tutorial 042 · Slackware · Beginner · 12 min
Connect Android to Slackware with KDE Connect
Turn your Android phone into a wireless companion for your Slackware KDE Plasma desktop. Send pictures, paste text into your terminal, and control your mouse and keyboard without a USB cable. This walkthrough is based on a real Slackware desktop and a Pixel 9 Pro XL.
1. Check KDE Connect on Slackware
Open Konsole or Yakuake and run:
ls /var/log/packages/ | grep -i kdeconnect
command -v kdeconnect-app
command -v kdeconnect-cli
command -v kdeconnect-settingsIf the package and commands appear, KDE Connect is installed. Open System Settings → KDE Connect in Plasma. If you do not see the module, try kdeconnect-settings from the terminal. Check spelling carefully: it is settings, not sttings.
2. Install the Android app
Install the official KDE Connect app from a trusted app store such as F-Droid or Google Play. Connect your phone and Slackware computer to the same local network. If using your phone's hotspot, connect the computer to that hotspot and keep the hotspot active.
3. Discover and pair
- Open KDE Connect on the phone and tap Pair new device.
- Look for the computer name (for example
darkpc.localdomain). - Tap it and request pairing.
- Accept the pairing request in KDE Connect on the Slackware desktop (or accept a request initiated from the PC on the phone).
Both devices should now show each other as paired. If the device is missing, refresh the lists and verify both devices can communicate over the local network.
4. Send a picture to Slackware
- On Android, open the paired computer in KDE Connect.
- Tap Send files and choose a photo or screenshot.
- On Slackware, check
~/Downloadsor the receive directory configured in KDE Connect. - Open the transferred picture in Gwenview or another image viewer.
To inspect received files without modifying anything:
ls -lh ~/Downloads5. Copy text from phone to terminal
Copy a harmless command on Android, then use Send clipboard in KDE Connect if automatic clipboard synchronisation is unavailable. On the desktop, focus Yakuake or Konsole and paste using Ctrl+Shift+V (or the terminal's Paste menu). Read commands before pressing Enter.
Try this read-only test:
printf 'DARKPC.NET — KDE CONNECT TEST\n'; hostname; uname -s; date; uptime; df -h /Clipboard permissions and background restrictions vary by Android version; some devices require manual sending.
6. Control Plasma from your phone
Open Remote input on Android. Move a finger to move the desktop pointer, tap to click, and use the keyboard button to type. Two fingers can scroll. You can open Gwenview, browse files and operate your Slackware desktop from the sofa.
7. Troubleshooting
- Devices cannot see each other: confirm the same local network, check hotspot client isolation, and refresh both device lists.
- Firewall blocks discovery: KDE Connect typically uses TCP and UDP ports
1714–1764. Permit these only on your trusted local network, not on the public internet. - CLI missing: check the installed package and actual executable names with
command -v; do not assume a path. - Transfer missing: inspect
~/Downloadsand KDE Connect's configured receive folder. - Clipboard does not sync: use the app's explicit Send clipboard feature and check Android permissions.
- Remote input does not work: confirm the devices are paired and the remote-input plugin is enabled.
8. A bonus tmux check
Already running tmux in Yakuake? Avoid nesting a second tmux session inside the first. List existing sessions instead:
tmux list-sessionsTo detach from a tmux session, press Ctrl+B then D. Reattach later from a normal shell with tmux attach.