NO.279 · Geek & System

Termux:Widget

Scripts as home-screen buttons

Package · check this against the real thingcom.termux.widget
DeveloperTermux community
LicenceGPL-3.0
PlatformAndroid
PriceFree
VerdictTermux:Widget is a small convenience that pays for itself the moment a script you run daily becomes a tap instead of a typed command.

Why it stayed obscure

It requires scripts in a fixed directory with the right names and permissions, which is a Termux user's habit rather than a beginner's.

What it actually does

Termux:Widget reads scripts from a shortcuts directory inside Termux's home and exposes them as home-screen shortcuts and widgets. Tapping one runs the script in a Termux session without opening the terminal first. Scripts can take arguments, and folders of scripts become widget groups. Execution output stays in Termux, so anything you need to see must be logged to a file or raised as a notification. It is a launcher for commands, not a scheduler.

Core features

  • Scripts as home-screen shortcuts and widgets
  • Groups scripts into widget folders
  • Runs a script without opening the terminal
  • Passes arguments into the script

Who it is for

  • You run the same script every day
  • You want automation buttons on the desktop
  • You already keep scripts in Termux

Before you install

NoteScripts must sit in the shortcuts directory with the execute bit set, and because output is not shown on the home screen you need your own logging to know a run failed.

Download

This edition links to F-Droid where the app is published there, and to the developer's own page otherwise. Nothing is mirrored here. If an app is offered through several channels, keep one: the signatures differ and the system will refuse to update across them.

The package name com.termux.widget is the most reliable way to check authenticity: confirm it in the system installer before installing, then compare the developer name with the table above.

Questions

Does it need root?

No. It launches scripts inside Termux with the permissions Termux already holds, so anything beyond that sandbox fails exactly as it would in a terminal.

Why is my script not listed?

Check the location and the executable bit. Files must be in the shortcuts directory, named without an extension, and marked executable with chmod before the widget sees them.