Skip to main content
DARKPC.NET

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.

Before you begin: Use your own devices on the same reachable local network. A phone hotspot can work when the PC connects to that hotspot, although some hotspot configurations isolate devices.

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-settings

If 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

  1. Open KDE Connect on the phone and tap Pair new device.
  2. Look for the computer name (for example darkpc.localdomain).
  3. Tap it and request pairing.
  4. 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

  1. On Android, open the paired computer in KDE Connect.
  2. Tap Send files and choose a photo or screenshot.
  3. On Slackware, check ~/Downloads or the receive directory configured in KDE Connect.
  4. Open the transferred picture in Gwenview or another image viewer.

To inspect received files without modifying anything:

ls -lh ~/Downloads

5. 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

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-sessions

To detach from a tmux session, press Ctrl+B then D. Reattach later from a normal shell with tmux attach.

Mission complete: Your Android phone and Slackware desktop can share files, clipboard content and remote controls. No Windows required. 👻