Skip to content

mrx7014/TermuxKDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KDE Plasma Desktop — right inside your Termux.

Shell Platform Desktop License Author


✦ What is TermuxKDE?

TermuxKDE is a fully automated installer that sets up a complete KDE Plasma desktop environment on your Android device using Termux and Termux:X11 — no root required.

Run a real Linux desktop on your phone. No VM. No emulator. Just Termux.


✦ Features

  • Silent installation — no output clutter, every step explained cleanly
  • Fully automatic — no Y/n prompts during package installation
  • Shell detection — auto-detects zsh or bash and writes to the right config file
  • Duplicate-safe — never writes to your shell config twice
  • Terminal size check — ensures proper display before starting (88x35)
  • Session stats — shows time elapsed and data used after installation
  • MOTD on startup — shows a reminder box every time Termux opens
  • One-command uninstallTermuxKDE-Remove cleans everything up
  • Error logging — all errors saved to ~/termuxkde_error.log

✦ Requirements

Requirement Details
📱 Android 7.0 or higher
📦 Termux Latest version from F-Droid
🖥️ Termux:X11 Install from GitHub Releases
📐 Terminal size Minimum 88x35 (cols x lines)
💾 Storage ~5 GB free space
🌐 Internet Required during installation

⚠️ Do NOT install Termux from the Play Store — it's outdated. Use F-Droid.


✦ Before You Start

Make sure your terminal is at least 88x35. Check with:

echo "${COLUMNS}x${LINES}"

If it's too small, pinch-zoom out on the Termux keyboard to shrink the font size until the dimensions are right. The installer will tell you if the size is too small and refuse to run until it's fixed.


✦ Installation

# 1. Install ncurses-utils
apt install ncurses-utils

# 2. Run the script
curl -s https://raw.githubusercontent.com/0xNullGun/TermuxKDE/refs/heads/master/install_termuxkde.sh | bash

The installer handles everything silently and automatically — no manual input needed after the initial confirmation.


✦ Usage

After installation, these commands are available globally:

startplasma       # Launch KDE Plasma GUI
stoplasma         # Stop the Desktop
TermuxKDE-Remove  # Uninstall everything

If the commands aren't found yet, run: source ~/.zshrc or source ~/.bashrc


✦ What the Installer Does

[1]  Check terminal size (min 88x35)
[2]  Detect shell (zsh / bash)
[3]  Update & upgrade Termux packages  ── silent
[4]  Install x11-repo                  ── silent
[5]  Install termux-x11-nightly        ── silent
[6]  Install KDE Plasma                ── silent
[7]  Install KDE Applications          ── silent
[8]  Write launcher scripts to ~/bin/
[9]  Write MOTD reminder to shell config (duplicate-safe)
[10] Source shell config automatically
[11] Show session stats (time + data used)

✦ MOTD Preview

Every time Termux opens, you'll see:

  ╔══════════════════════════╗
  ║       TermuxKDE          ║
  ╠══════════════════════════╣
  ║  startplasma  → Start    ║
  ║  stoplasma    → Stop     ║
  ╠══════════════════════════╣
  ║  TermuxKDE-Remove → Uninstall ║
  ╚══════════════════════════╝
  ⚠ TermuxKDE-Remove will delete everything

✦ Uninstalling

TermuxKDE-Remove

This will ask for confirmation, then permanently remove:

  • startplasma, stoplasma, TermuxKDE-Remove scripts
  • All TermuxKDE entries from your shell config
  • plasma, kde-applications, termux-x11-nightly packages
  • ~/termuxkde_error.log

⚠️ This action cannot be undone. Restart Termux after removal.


✦ Troubleshooting

Problem Fix
Terminal size error Pinch-zoom out until size is 88x35 or larger
Black screen on launch Make sure Termux:X11 app is open before running startplasma
Commands not found Run source ~/.zshrc or source ~/.bashrc
Installation failed Check ~/termuxkde_error.log for details
Slow performance Close background apps — KDE is resource-heavy

✦ Project Structure

TermuxKDE/
├── install_termuxkde.sh   # Main installer script
├── README.md              # You are here
├── assets/banner.jpg        # README banner
└── LICENSE                # MIT License

✦ License

Copyright (c) 2026 ARMOND. All Rights Reserved.
Released under the MIT License.

Made with ❤️ by ARMOND

If this helped you, drop a ⭐ — it means a lot.

About

KDE Plasma Desktop — right inside your Termux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages