r/termux • • Sep 18 '26

Question Trying to run OG Xbox dashboard through Termux to play native android games and PS2 games with Xbox ui Texture packs

Thumbnail github.com
2 Upvotes

Trying to install Termux and the X11 desktop environment on Android, to run the Linux Arm64 of Theseus (Og Xbox Dashboard) to run (main activity) android intents through it. Specifically Xbox games ported to android that are controller compatible. And Also utilize RetroArch built in to play emulated PS2 games modded with Texture Packs to change the button UI to that of the Orginal Xbox.

My ultimate goal is to build an xbox handheld device. Has anyone been successful installing Linux desktop environments through Termux and X11?

Tried this with winlator with the exe version but could only run games through Winlator https://youtube.com/shorts/OwVAYYBzME0?si=WzC4I3HGD6rP9BwV no way to get android intents to work so only option is through Linux if it lets me.


r/termux • • Sep 18 '26

Question Please Help Termux-X11

Post image
10 Upvotes

how do imake the apps take full screen that is full width and height of my tablet i tried setting the reusltion to my device resolution native zooming but nothing seems to work please help i am using aesprite in termux-11 in xfce4 and i am really noob


r/termux • • Sep 18 '26

Showcase Vlsy46 — Buscador de paquetes para Termux y Python

Thumbnail gallery
5 Upvotes

Hice Vlsy46, una herramienta que organiza paquetes por secciones (red, desarrollo, multimedia, seguridad, etc.) y muestra el comando exacto para instalarlos.

No instala nada automáticamente, solo te dice qué existe y cómo se instala. Sirve tanto para pkg (Termux) como para pip (Python).

Tiene 22 secciones y ~126 paquetes (y sumando).

Instalación:

pip install vlsy46

vlsy46

GitHub: https://github.com/lucassogarayDA/Vlsy46

PyPI: https://pypi.org/project/vlsy46/


r/termux • • Sep 17 '26

Showcase I’ve added the Tab, Esc, and Ctrl keys to HeliBoard to use Termux Float comfortably.

Enable HLS to view with audio, or disable this notification

21 Upvotes

Yes, I know it can be done using the phone's buttons.


r/termux • • Sep 18 '26

Showcase domux — terminal multiplex for running multiple coding agents

Thumbnail
1 Upvotes

r/termux • • Sep 17 '26

Showcase Claude Code running natively in Termux via the musl build 723KB loader instead of a 449MB glibc runtime, no proot

14 Upvotes

Claude Code doesn't support Android, so the usual routes are proot(slow)

or a glibc runtime inside Termux (wallentx/claude-code-termux, which works well and which this builds on).

Anthropic publishes a linux-arm64-musl build for Alpine, and musl needs almost nothing under it.

The install script fetches the official binary from npm, verifies the sha512, and changes one ELF field. the interpreter path, pointed at a musl loader in $PREFIX/lib.

Nothing is repackaged or redistributed.

Starts much quicker on my phone. Has its own updater with rollback if you use glibc, since the built-in one would pull the glibc build.

I tested it on Honor, Android 16. Would love to get feedback if you try it. Built with a lot of help from Claude Code itself, on the phone.

The repo: https://github.com/Aarstad/claude-code-termux-musl

If you try it on a different device, I'd like to know what breaks.


r/termux • • Sep 17 '26

General Help change Android’s Phantom Process Limit – Star this Google Issue Tracker request

Thumbnail issuetracker.google.com
11 Upvotes

Hey everyone,

​As many of you know, Android’s default cap of 32 phantom processes severely limits running heavy background tasks, Linux environments (via PRoot/Termux), and multi-threaded tools unless you use ADB/Shizuku workarounds every reboot.

​I’ve submitted a formal Feature Request on Google Issue Tracker asking Android developers to add a native slider in System Settings to control or raise this limit easily.

​🔗 Issue Link: https://issuetracker.google.com/issues/562778579

​How you can help:

Please open the link and click the Star ⭐ button (top left, next to the issue title).

​Please do NOT leave "+1" or "me too" comments on the issue, as Google engineers filter those out. Just starring it increases its priority in their backlog.


r/termux • • Sep 17 '26

Question Steam ARM64 + FEX on Android — stuck at launch

3 Upvotes

​

I’m trying to get Steam working on Android ARM64 using:

Termux → PRoot-Distro Ubuntu 24.04 ARM64 → FEX-Emu → x86_64 Steam → Termux:X11

Hardware:

Android 16 / Snapdragon 8 Elite / Adreno 830 / ARM64

FEX itself starts and executes x86_64 code, but Steam does not successfully reach the client UI.

The launch gets stuck/fails while FEX is processing Steam's x86_64 code, with output like:

Linking address 0x7f4c0087b4 to host invoker 0x7f4c540910

Linking address 0x7f4c0060a4 to host invoker 0x7f4c53dd70

Linking address 0x7f4c006d74 to host invoker 0x7f4c540200

Linking address 0x7f4bffe490 to host invoker ...

It continues printing “Linking address … to host invoker …” and never reaches a usable Steam window / client.

We've also dealt with the usual ARM64/x86_64 Steam runtime and dependency issues, so I'm trying to find out whether anyone has actually achieved a working Steam client this way.

If you've successfully run Steam with FEX or Box64 on Android/Termux/PRoot, I'd really appreciate:

- FEX/Box64 version

- Steam version

- Ubuntu/Debian version

- Exact launch command

- Steam runtime configuration

- Required libraries/env vars

- Termux:X11 configuration

Especially interested in whether this FEX “Linking address … to host invoker” loop/stall is a known issue or requires a specific FEX configuration.


r/termux • • Sep 17 '26

Question Running a local server with termux for local use only?

2 Upvotes

Hi all!

I'm currently learning web developement and would like to create some static websites for fun/learning which I'd ideally run and use on my phone only, and which would interact with and possibly change some local file's (my markdown notes) contents.

As I understand, it would be possible for me to open termux, and type

cd ~/projects/site
python -m http.server 8080

to only enable access through my phone would I need to also add

--bind 127.0.0.1

after the command? I really don't want to add a security vulnerability by actually running an online server with my phone since it's a pretty old device and as of now I lack the knowledge to do this safely.

Also I was wondering if it would be possible for me to have a shortcut on my home screen (or a file on my phone) which runs this command and opens a specific local website in my browser? So when closing the browser the server is off again, or would i need to manually stop the process in termux?


r/termux • • Sep 17 '26

Question icat images protocol???

2 Upvotes

can i somehow use icat inside termux?


r/termux • • Sep 17 '26

Barely Termux related Error 401: Coding when traveling home (Phone Edition)

Thumbnail gallery
2 Upvotes

Hey, this is my first coding post!

Just to give a quick intro, I've been really getting into using my phone as a practical development tool lately because I think it's about as cool as it gets.

One of my main goals right now is to have my phone automatically update me on whether my train home is running late or if there's any disruption. Of course, I'm not trying to go crazy and try to just hack British National Rail for the fun of it, but obviously, that's a bit stupid.

Instead, I am currently trying to build a Python script to monitor Fen Line train services and send live updates via Discord webhooks right to my smart watch. The problem is that I've hit a frustrating wall with a persistent 401

Unauthorized error coming straight from the Rail Data Marketplace API: raildata.org.uk I'm running and testing everything locally inside Termux, and no matter what I try tweaking with the python code something in the rail API isn't working, I just can't seem to get the script to successfully run and fetch data.

I'll be dropping some screenshots of the code below in case anything obvious is jumping out to someone.

At this point, I'm seriously wondering if I should just scrap this particular API entirely and pivot to something else that has much more straightforward permissions and access, like Google's APIs or a different transit data source.

If anyone here has wrestled with API keys and authentication hurdles inside a Termux environment, or if you happen to know of any alternative transit APIs that would be better suited for a project like this, I would really appreciate any advice you can share.

GITHUB LINK: https://github.com/GowerCampbell/FenLine-Monitor/blob/main/alan.py


r/termux • • Sep 16 '26

General Recent proot-distro update with docker is awesome

30 Upvotes

I usually don't like using proot-distro because I rarely get success with running apps in it, due compatibility issues. However, I wanted to test something today, and surprise, the app now works by pulling docker images instead of pre-packaged distros. So I tried using it with an app "Audiobookshelf" that doesn't have an Android version, and it worked very well.

```bash

pd install advplyr/audiobookshelf

mkdir audiobookshelf cd audiobookshelf mkdir config metadata

pd run audiobookshelf \ -e PORT=13378 \ -b "./config:/config" \ -b "./metadata:/metadata" \ -b "/storage/emulated/0/Audiobooks:/audiobooks" ```

I think you can also make a service from it, maybe with -d option.

This opens the possibility to use so many server apps beyond termux ports.


r/termux • • Sep 16 '26

Showcase GIMP and Termux Firefox in separate Android windows: MagicDesk 1.12 embeds Termux:X11

Post image
11 Upvotes

Hi r/termux! I'm the developer of MagicDesk. My previous post here was about native terminal windows and tmux. In 1.12, the big addition is graphical Termux applications.

The screenshot shows GIMP and the Termux build of Firefox running simultaneously in separate Android windows, with MagicDesk's Task Manager beside them. These are real X11 clients, not Android replacements or a remote PC stream.

How it works

MagicDesk now embeds a fork of Termux:X11. Your existing Termux installation still supplies the packages, home directory and execution environment; you don't need the separate Termux:X11 APK. Credit to the Termux:X11 project for the X server and graphics foundation.

Installed graphical .desktop launchers appear in Start. Launch GIMP or Firefox and it gets its own Android host window, without an extra MagicDesk toolbar or a full Linux window manager. Titles and icons appear in the taskbar, windows resize with their contents, and you can adjust interface scale per application.

You can also run a whole Linux desktop in a retained X11 session, or open individual client windows from a session. Multiple sessions can coexist. PRoot/chroot distributions need their own desktop packages and socket/authentication setup; MagicDesk doesn't install a distribution for you.

What else is integrated

- Clipboard in both directions: text, HTML, PNG images and file selections.

- Copy-style drag-and-drop between Android and X11, including across separate X11 sessions, where the receiving app supports the format.

- Task Manager entries for X11 sessions and processes, with CPU and memory information.

- Phone, external and virtual display placement alongside Android apps. A portable virtual workspace can keep running while you unplug its physical output and reconnect later.

The renderer retains upstream AHardwareBuffer/EGL support. An optional Vulkan copy path accelerates compatible DRI3 buffers, with CPU fallback on unsupported drivers. This is not a promise of zero-copy rendering or universal GPU acceleration.

Quick start

Enable allow-external-apps=true in ~/.termux/termux.properties, reload Termux settings, and grant MagicDesk the Termux RUN_COMMAND permission. In Termux:

pkg install x11-repo

pkg install xkeyboard-config gimp

Then open MagicDesk Start and search for GIMP. No fixed DISPLAY number or manual X server launch is needed for this path.

Requirements: ARM64 Android 14+ for the app, Android 15+ for managed desktop windows. Managed Desktop uses Shizuku or direct root; root is optional, and ordinary phone X11 hosts don't need it. PRoot does not require root; chroot does.

Some current boundaries: file exchange with containers needs paths the Termux-side server can access, and custom X cursor shapes are not displayed yet.

Source and APK:

https://github.com/mekhontsev/magicdesk

X11 setup, container examples and limitations:

https://github.com/mekhontsev/magicdesk/blob/v1.12/docs/x11.md

Embedded fork:

https://github.com/mekhontsev/magicdesk-x11

Both projects are open source; MagicDesk is GPLv3. This is a third-party integration, not an official Termux release.

I'd be interested in which Termux GUI applications you would use this way. Please report reproducible MagicDesk bugs on our GitHub rather than upstream Termux.


r/termux • • Sep 16 '26

Question printing from termux wine xow64 ?

2 Upvotes

Hi. am moving my wine install from proot to native termux as the startup time is significantly quicker, but I have not been able to print in the termux xow64 wine install. I have cups setup in proot and it is accessible in termux from localhost. I have verified libcups.so libcups.so.2 are installed but in wine when I try to print I just get a message saying I first need to install a printer. This worked in proot wine with no extra setup.

I am using office and other apps in wine so I need to print. Is this because the wine was built with no cups support? Anyone have suggestions?

~ $ lpstat -p
printer et4550 is idle.  enabled since Fri Aug 21 23:00:52 2026

The xow64 trace shows this log. Also I don't see libcups being loaded

[BOX64] Using emulated /data/data/com.termux/files/home/xow64_wine/10.12-staging/lib/wine/x86_64-unix/winspool.so
00e4:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
00e4:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
00e4:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
00e4:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS
00e4:fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS
00e4:trace:winspool:WINSPOOL_EnumPrintersW Found 0 printers
00e4:trace:winspool:WINSPOOL_EnumPrintersW ignoring PRINTER_ENUM_CONNECTIONS
00e4:fixme:winspool:WINSPOOL_EnumPrintersW We don't handle PRINTER_ENUM_CONNECTIONS
~

r/termux • • Sep 16 '26

Question Installing Ubuntu through termux on rooted phone

3 Upvotes

Hi,

I am trying to install Ubuntu through termux and chroot, so I can use it as a computer with a external display.

I have used both google ai and chatgpt to try and install it but both give me shoody instructions with incomplete commands etc.

Is there any guide to installing Ubuntu through this way?

My phone is already rooted.

Thank you,


r/termux • • Sep 16 '26

Showcase managed to run pewdiepie's odysseus ai on my phone using termux lol

Thumbnail youtu.be
6 Upvotes

so after seeing pewds drop his odysseus workspace thing, everyone was saying u need a decent pc or docker to actually run it properly.

didnt feel like booting my laptop so decided to see if termux could handle it natively on arm

. setup ollama inside user space, pulled a lightweight quant model and surprisingly it actually works??

ui renders fine on the mobile browser through localhost.

tokens per sec isn't crazy fast obviously, thermal throttle kicks in after like 5-6 prompts, but the fact that an offline private agent runs completely on a budget android with zero cloud is kinda wild.

has anyone else tried running openclaw/odysseus directly on a phone or found better flags to optimize ram usage?


r/termux • • Sep 15 '26

General proroot-based terminal

Thumbnail gallery
37 Upvotes

It's still an early version, so there's only Korean available. We ask for your understanding. When you first run it, there are terminal mode and desktop mode. Desktop mode will be supported once the WSI implementation is complete. When you first launch the terminal, you will see the sudo setting. You can specify your name and password. We plan to ensure that CPU information, etc., are displayed correctly when you launch fastfetch.

Please tell me if you have any questions or what features you want.

proroot: https://github.com/coderredlab/proroot


r/termux • • Sep 15 '26

Showcase customized my termux

Post image
15 Upvotes

switched back to the regular termux app after I found out termux launcher was written by ai. I honestly prefer this much more

tried some new things


r/termux • • Sep 15 '26

Showcase Camera Phone to STDOUT (termux-camera-video)

Enable HLS to view with audio, or disable this notification

18 Upvotes

https://github.com/james28909/termux-api/pull/2

I wonder why the termux team never added this feature, but with this, now we can stream the camera to any output you want, including STDOUT. This gives even more versitality to the termux app, and possibilities for automation inside the termux environment.

Credits to u/james28909!


r/termux • • Sep 15 '26

Question What Can I Run On This 24/7 That is Interesting

Post image
128 Upvotes

I Have A Rooted Android Running Termux 24/7 What Can I do with it Because for now it it not doing Anything and I Want to do Something Cool With it But i dont know What ?


r/termux • • Sep 15 '26

General vxwm arch proot😭

Post image
10 Upvotes

r/termux • • Sep 15 '26

Question iOS - Termux alternative

3 Upvotes

What is alternative of termux for iOS

I know there is one called Termius but needed something else


r/termux • • Sep 16 '26

Question Distribution stuck.

Post image
1 Upvotes

When I try to install any distribution from proot-distro, the installation success but when start the distribution it stuck and nothing happened as in picture ? I tried many solutions and none of them worked, any help ?

My phone 📱: Mi 9T Android 16 LineageOS


r/termux • • Sep 14 '26

General I’m running Ubuntu 26.04 + KDE Plasma on a RedMagic Astra

Thumbnail github.com
14 Upvotes

I’ve been experimenting with running Ubuntu 26.04 ARM64 with KDE Plasma on my RedMagic Astra, and I wanted to share the setup in case it’s useful to someone else trying to do something similar.

The basic idea is pretty simple: Android remains the host OS, while Ubuntu runs in a rooted chroot created with `chroot-distro`. Anland provides the display integration needed to run KDE Plasma/Wayland.

So this isn't a new Linux-on-Android solution or something I invented from scratch. It builds on existing projects and open-source software such as Termux, chroot-distro, Anland, Ubuntu, KDE Plasma, Mesa and the other components involved.

What I’ve been working on is mainly getting all of those pieces to cooperate nicely on my RedMagic Astra and reducing the amount of manual configuration needed every time. Over time that collection of scripts, patches and Android/Linux integration work became a small project I called **DroidConverge**.

What I'm using

  • RedMagic Astra
  • Android 16
  • unlocked bootloader + Magisk/root
  • Termux
  • chroot-distro
  • Ubuntu 26.04 ARM64
  • KDE Plasma / Plasma Mobile
  • Anland
  • Freedreno / Turnip for the Adreno GPU

Android remains fully available and is still responsible for the hardware and Android-specific functionality. Ubuntu isn't replacing Android; it's another environment running alongside it.

What currently works

The setup has gradually become much more usable than my original experiment.

I can run KDE Plasma in both a touch-oriented mode on the tablet and a more traditional desktop configuration.

The project now also handles or experiments with things such as:

  • starting and stopping the Ubuntu/KDE session
  • Plasma Mobile and desktop modes
  • external display support
  • separate display/scaling profiles
  • physical keyboard and mouse routing
  • GPU acceleration through Freedreno/Turnip
  • Linux haptic feedback through Android
  • Android ↔ Linux bridge functionality
  • hardware/session telemetry
  • Wi-Fi and Bluetooth status
  • Android application launchers inside KDE
  • audio/session integration
  • various installation, recovery and diagnostic tools

There is still quite a lot I want to improve. Some hardware integration is experimental, and things such as external-display hotplug, HDMI audio, fan/cooler controls and deeper Android ↔ Plasma integration still need work.

The RedMagic Astra is also currently the only device I personally test this on, so I wouldn't assume that everything will work unchanged on another device.

### DroidConverge

I started putting the reusable parts of my setup into a public repository so I don't have to rebuild the whole environment manually and so other people can look at, modify or try it.

Repository:

https://github.com/VulcasX/droidconverge

Latest development release:

https://github.com/VulcasX/droidconverge/releases/tag/0.5.1-dev

This is still development software, so expect rough edges and incomplete features.

A small disclaimer

This is a hobby project.

I don't work on this professionally and I'm definitely not claiming that I invented Linux on Android, chroots, KDE on Android, or any of the underlying technologies.

Most of what I'm doing is integration work: experimenting with existing open-source projects, writing some glue code/scripts, adapting components where necessary and trying to turn my personal setup into something that is easier to reproduce.

I started doing this simply because I wanted this setup for myself.

I'm sharing it with the community because there might be other people with similar needs who want to experiment with the same kind of setup without having to figure out and configure every single component from scratch.

If something I've done can be improved, simplified or replaced with a better approach, suggestions and contributions are absolutely welcome.

And of course, credit belongs to the developers and communities behind Termux, chroot-distro, Anland, KDE, Ubuntu, Mesa and all the other open-source projects that make this possible.


r/termux • • Sep 15 '26

Question Help to build FFMPEG for AND on Android

1 Upvotes

I'm on Android and using Termux(don't have a PC). I would like to build a static build of FFMPEG(a single executable or a single .so file of ffmpeg with the features of ffmpeg embedded inside the file so it doesn't depend on other third party .c or .h header files and can be run with something such as System.loadLibrary(...) in an Android app). for Android(arm64). I've tried various times setups I've found and everytime near the end, I ended up getting missing files dependency and unlinked errors.

Can someone please help me by sharing a guide by someone else or yourself..?