tui-tools

tui-systemd

systemd units: what failed, why, and every action previewed

v0.1.0systemdMIT
The unit list, with failed units sorted to the top
The unit list, with failed units sorted to the top

A terminal UI for systemd. It opens on what failed — failed units sort first, always — and puts the journal that explains why one key away. Timers show what is scheduled and when it last fired; the boot view shows what made the last boot slow.

The unit list merges list-units --all with list-unit-files, so a unit that is installed but has never started is visible too. Every read works as an ordinary user, so the tool opens instantly and without a password; only an action escalates, and only behind a confirm dialog showing the exact systemctl command line.

Run tui-systemd --demo for a sample machine with a couple of interesting failures. Nothing touches your system.

Keys

KeyAction
j / enterJournal for the selected unit
fIn the journal: follow, re-reading every 2s
s / xStart / stop the selected unit
r / lRestart / reload the selected unit
e / DEnable / disable the selected unit
m / MMask / unmask the selected unit
dReload the systemd manager (daemon-reload)
tabCycle the state filter: all, failed, active, inactive
/Filter by name, description or state
tTimers
bBoot times, slowest first
?Help
qQuit

Press ? inside the tool for the full help screen, which is generated from the same action table as the key map.

Compatibility

This tool is a face on the program below, so its version matters.Tested is not a claim: a version lands there only after the tool's own suite passed against it on a real machine in the lab, and the run is kept as evidence in the repository. At startup the tool probes the backend once and says what it found in its header — a version nobody has run against is shown as(untested) in the warning colour, one older than the minimum as (below minimum) in the error colour. Neither stops it: the backend still refuses what it cannot do, in its own words.

systemd

systemctl ≥ 230
Binary
systemctl
Minimum
230
Probed with
systemctl --version
Tested
255259261

Needs a version this new

  • timerssince 250
  • boot-blamesince 230

What changes on older versions

  • systemd <250

    list-timers has no JSON output, so the timers view is not offered: the text table cannot be parsed without mangling its timestamps

  • systemd <245

    list-units --plain is absent on some builds, so the unit list falls back to the decorated output

Install

Once per machine, then every tool in the family is one pacman away.

Add the repository
$ curl -fsSL https://pkgs.tui.tools/install.sh | sh
Or run the same thing yourself, one command at a time

A family whose whole promise is preview before you run is not going to insist you pipe a script into a shell. These are the commands that script runs.

The one-time setup, by hand
$ curl -fsSL -o /tmp/tui-tools.asc https://pkgs.tui.tools/pubkey.asc
  sudo pacman-key --add /tmp/tui-tools.asc
  sudo pacman-key --lsign-key \
    "$(gpg --show-keys --with-colons /tmp/tui-tools.asc | awk -F: '/^fpr:/{print $10; exit}')"
  printf '[tui-tools]\nServer = https://pkgs.tui.tools/arch/$arch\n' \
    | sudo tee -a /etc/pacman.conf
  sudo pacman -Sy
Arch Linux · tui-systemd
$ sudo pacman -S tui-systemd

Upgrades then arrive with the rest of your system updates.

What it can do to your machine

  • Preview, then confirm

    Every change is shown as an exact command line and confirmed before it runs. The dialog and the runner receive the same value, so the preview cannot drift from what executes.

  • Escalates for actions

    Only actions escalate: start, stop, restart, reload, enable, disable, mask, unmask and daemon-reload. Every read — the unit list, the journal, timers and boot times — works as an ordinary user. Escalation goes through sudo -n, which never prompts.

  • No daemon, no state of its own

    Nothing keeps running after you quit, and nothing is installed to run later. The system is the source of truth; the tool re-reads it after every change.

  • No network access

    The tool opens no network connection of its own. No telemetry, no update check, no phone home.

  • Static binary

    Released statically linked, with no runtime dependencies to install.

  • Releases are not signed yet

    Releases carry SHA-256 checksums but no signature. Verify the checksum, and read this as the open item it is.

Reporting

Report a security issue privately, through GitHub's private vulnerability reporting on the repository's Security tab. The family-wide policy, and what counts as in scope, is on the security page.

Downloads

v0.1.0 · 2026-08-29
FileSizeSHA-256
checksums.txt206 B
tui-systemd_0.1.0_linux_amd64.tar.gz1.5 MBc498230411f645e523e558acfc3d3eeb6bd49c083d9c6a842e3fb1a2e78a0228
tui-systemd_0.1.0_linux_arm64.tar.gz1.4 MBa1146e20a40bc1c15c0a460e628926a8af91b8bca773bdb1cbf091094aec86bd

Every release ships a checksums.txt. Download it next to the archive and run sha256sum -c checksums.txt --ignore-missing. See verifying a download.

Releases

v0.1.0

2026-08-29
## Changelog
* 442fa7abb0c573356df05ae4c54e973473a7ad2f Add tui-systemd v0.1, a TUI for systemd units