throng v1.0.0-beta4

External programs

throng starts a few programs besides itself: the shells in your terminals, and small system tools for tasks such as listing fonts or revealing a file. The user guide names each one.


External programs

Cog › Settings › External programs

externalPrograms.paths

Absolute path of each program throng starts. You confirm them; throng never changes them.

Default: none, until you confirm the list · Values: one absolute path per program, or empty (cleared); a denial is recorded beside the path, which it keeps

In Preferences, External programs is one entry that opens the programs dialog. It has no per-program controls inline.

throng runs each program from the path shown there and from nowhere else: never by bare name, and never one found in the folder throng was started from or in a project folder. The dialog opens at start until you confirm it, and again after an upgrade that adds a program. It opens "Thank you for choosing throng!" and lists each program in a group (Terminals, Version control, Files and folders, Fonts, System), in up to three columns that stack as the window narrows. Each entry shows the path throng found, or none, and one sentence beginning "Without it, " that says what stops working. It carries a mark taken from the theme: a green tick when its path names a program, an orange triangle when nothing was found, the path names nothing or none is set, and a red stop circle when you denied it.

Each entry's actions are icon buttons whose popovers name them: Browse, Clear, Restore the detected path (unavailable when nothing was detected) and Deny or Allow. Denying keeps the stored path and withdraws only permission to start the program; allowing it uses that same path again. Confirm stores every entry as the dialog shows it. I'll do this later, or Esc, closes the dialog and stores nothing; a click outside does nothing. Until you confirm, throng starts no program, each feature that needs one reports that it is not set, and the dialog returns at every start. F1, or the key bound to help.open, opens the guide's section on the dialog and leaves it open.

A later start lists only a program that has no value yet, or one that was empty only because nothing was found; it never lists, detects or changes a program you confirmed, cleared or denied.

A path left empty turns off the feature that needs the program. A denied program turns off the same features, and throng never detects, lists or starts it. Where a feature is off because a program is not set, missing or denied, a card in the style of the app's other inline notices explains it, with a cog button that opens the dialog and a dismiss button. A dismissed card stays hidden until the next start or until that program's value changes. A path that no longer names a program raises one notice naming the program and what will not work, with a button that shows the dialog; throng starts nothing in its place. A denied program raises no notice.

The entry has no button of its own. Its standard Reset sets the dialog to show at the next start: it clears the record that the dialog was seen, which is kept outside settings.json, so the next start lists every program with its stored value, confirmed, cleared and denied ones included, and detects none of them again. Its Revert puts that flag back to what it was when Preferences opened. Each is enabled only when it would change something, and neither changes a stored path or a denial. Confirming records the dialog as seen.

A machine set up in advance skips the dialog: a settings.json that already holds a value for every program counts as confirmed.