throng v1.0.0-beta4

Preferences

You change every setting, key binding and theme in the preferences window, and each change applies the moment you make it, with no restart and no Apply button. Each setting has a one-line description there, and a ? beside its name that opens its full entry in the preferences reference.


Open Preferences

Cog menu › Settings

The preferences window has three tabs: Settings, Key Bindings and Themes. It floats above throng without blocking it, so you can watch a change land while you make it.

  1. Click the cog at the top right of the window.
  2. Choose Settings. On macOS, Cmd+, gets you there too.

The preferences window, on its Settings tab

A notice about a setting can open Preferences at that setting for you.


Find a setting

Preferences › Settings › the search box

The search box matches a setting's name, key, description and value, and the headings above it. The best match comes first.

  1. Type part of the setting's name, or its key, into the search box.
  2. Sections fold as you go; Expand All and Collapse All open or close them all.
  3. Click the ? beside a setting's name to read its full entry in the reference.

Change a setting

Preferences › Settings

A toggle or a drop-down applies the moment you change it. A typed value applies when you press Enter or leave the box.

  1. Find the setting.
  2. Change its value.

A number outside its range turns the box red, and a notice gives the range.


Pick a colour

Any colour field: a theme colour, a project's accent, a sub-workspace's swatch

Every colour in throng is chosen with the same picker. The field shows the colour, or a paint bucket while no colour is set; click it to open the picker.

  1. Drag in the square to pick the shade, and along the strip below it to pick the hue.
  2. Type a colour into the hex box instead, if you know it. The picker shows its RGB and CMYK values.
  3. Choose Pick a colour from the screen to take the colour of any point on screen.
  4. Where a colour may be left unset, choose Clear the colour to remove it.
  5. Press Esc, or click away, to close the picker. Every change applies as you make it.

A colour that may be see-through has an opacity strip under the hue strip, and its RGBA value shows the opacity.


Undo a change, or go back to the default

Preferences › a setting's Revert, Reset or Clear

Each setting row has three ways back. Revert undoes what you changed this session, Reset returns to throng's default, and Clear empties a list.

  1. Click Revert to undo your change from this session.
  2. Click Reset to go back to throng's default.
  3. Click Clear to empty a list.

The toolbar's Revert All and Reset All do every setting at once.


Edit lists and tables

Preferences › a list or table setting

A setting that holds a list, such as excluded globs, shows a summary in its row. Its edit button opens the whole list in a window of its own.

  1. Click the list or table setting's edit button.
  2. Its own editor window opens. Add, change, reorder or remove entries there.

Edit the settings as JSON

Preferences › JSON

The JSON view edits the same settings file in throng's own editor, which suits a change to many settings at once. throng applies the document when you leave the view.

  1. Open the JSON tab. It shows the settings file.
  2. Edit it. throng marks an invalid value where it sits.
  3. Save, or click Discard to drop your edits.

Edit config files by hand

Your config folder (see Where the files live)

throng keeps settings, key bindings and themes in plain JSON files, so they can live in your dotfiles. It reloads a file as soon as you save it.

  1. Open the settings file in any editor, throng's included.
  2. Change it and save.

Where each file lives on each system is in Where the files live.


What happens to your settings on upgrade

Installing a new version

An upgrade keeps your choices. throng adds new settings with their defaults and leaves each value you set.

  1. Install the new version as usual.
  2. Open Preferences: anything new shows its default, and your own values are as you left them.

Cog menu › Settings › Confirmations › Ask before opening external links

Before throng sends a link to your browser or another app, it shows the whole address and asks. That catches a link you clicked by accident, and one that goes somewhere other than its text suggests. It covers every link that leaves throng: terminals, editors, previews, About and the Help window.

  1. Follow a link. The prompt shows its address.
  2. Click Open to go there, or Cancel (or press Esc) to stay.
  3. To stop the prompt, click Change in Preferences on it, then turn off Ask before opening external links.

Choose whether throng asks before opening a file

Cog menu › Settings › Confirmations › Ask before opening a file in the OS

When throng cannot show a file, it hands the file to your operating system, which runs the program you have set for that type. Before it does, throng names the file and asks. That covers a double-click or Enter in the File Explorer, Quick Open, a file dropped on a panel and a followed link to a file.

  1. Open a file throng cannot show. The prompt names it.
  2. Click Open in the OS to hand it over, or Cancel (or press Esc) to hand over nothing.
  3. To stop the prompt, click Change in Preferences on it, then turn off Ask before opening a file in the OS.

Choose whether throng asks before pasting several lines

Cog menu › Settings › Confirmations › Ask before a multi-line paste

A paste with a line break can run several commands at once. When the program in a terminal has not turned on bracketed paste, throng shows the text and asks before it sends it.

  1. Paste text that holds a line break into a terminal. The prompt shows the text, or its first lines and the line count when it is long.
  2. Click Paste to send it, or Cancel (or press Esc) to send nothing.
  3. To stop the prompt, click Change in Preferences on it, then turn off Ask before a multi-line paste.

Confirm the programs at first start

The dialog throng shows at start, then F1 inside it

throng starts a few programs on your behalf, and it asks you to confirm each one before it starts any. One dialog opens at start until you confirm it, and again after an upgrade adds a program. Press F1 anywhere in it, or the key you bound to Open Help, to read this section; the dialog stays open.

The dialog opens with "Thank you for choosing throng!" and asks you to confirm, change or deny each program. It lists the programs in groups: Terminals, Version control, Files and folders, Fonts and System. A group with nothing for your system does not appear. The groups flow into up to three columns and stack into fewer as the window narrows. Each entry shows the program, what throng uses it for, its path in a box wide enough to read in full, and one sentence beginning "Without it, " that names what stops working.

  1. Read the mark beside each entry. A green tick means the path names a program. An orange triangle means throng found nothing, the path names nothing, or no path is set. A red stop circle means you denied it. Each mark also has a text name for a screen reader, so colour is never the only signal.
  2. Edit the path in its box, or use the icon buttons beside it. Rest the pointer on one to see its name. Browse picks the program from your files. Clear empties the path. Restore the detected path puts back the path throng found after you cleared or changed it, and is unavailable when throng found nothing.
  3. To stop throng starting a program, click Deny. Its button then reads Allow; click it to give permission back. Denying keeps the path, so allowing it again uses that same path.
  4. Click Confirm to store every entry as the dialog shows it. To leave without storing, click I'll do this later, click the X beside the (?), or press Esc. If you changed anything, throng asks first: Save stores your changes and closes the dialog, Discard closes it and stores nothing, and Keep editing takes you back to the rows as you left them. A click outside the dialog 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. Only Confirm records the dialog as seen.

A denied program is never detected, listed again or started. Every feature that needs it turns off, and throng explains why where you would use it; throng raises no notice for it. Where a feature is off because a program is not set, missing or denied, a card explains it, in the style of the app's other inline notices. Its cog button opens this dialog, and its dismiss button hides the card until the next start or until that program's value changes.

To change a program later, open Settings › External programs. It is one entry that opens this dialog, and Cancel, the X and Esc close it without storing anything, after the same question if you changed a path or a denial. The entry's own Reset button shows the dialog at the next start, and its Revert button puts that back to what it was when you opened Preferences; neither changes a path or a denial. At the next start the dialog lists every program with the value you stored, including confirmed, cleared and denied ones, and throng does not look for any of them again.


Choose the programs throng starts

Cog menu › Settings › External programs

throng starts a few programs on your behalf: the shells in your terminals, and small system tools. It runs each from the exact path you confirmed, never by bare name and never from the folder you started throng in or from a project folder.

  1. The first time throng starts, you confirm each program in a dialog; see Confirm the programs at first start.
  2. To change a path later, open Settings, go to External programs and click its entry. The same dialog opens, and you edit, browse, clear, restore, deny or allow from there.
  3. To stop throng using a program, deny it. To use it again, allow it.
  4. When an upgrade adds a program, throng asks about the new one only.

A cleared path or a denied program turns off what needs that program. Where you would use it, throng explains why it is off and offers a cog button that opens the dialog. A path that no longer names a program raises one notice with a button that shows the dialog. A denied program raises no notice.

These are the programs, what each is for and what stops working without it. Rows for another system do not appear on yours.

Program Used for Without it
git Asking which files a project ignores. The explorer does not dim ignored files.
xcode-select (macOS) Checking the command line developer tools before git runs. The explorer does not dim ignored files.
reg (Windows) Finding installed shells such as Git Bash. Shells outside the standard folders are not found.
powershell (Windows) Listing fonts, starting de-elevated terminals, restoring from the Recycle Bin. Those three do not work.
taskkill (Windows) Ending a process tree. Ending a terminal may leave child processes running.
explorer (Windows) Revealing items in File Explorer. Reveal in File Explorer does not work.
rundll32 (Windows) Opening a file the way the operating system opens it. Open in OS Default Program does not work.
osascript (macOS) Installing the throng command and showing system prompts. Installing the command does not work.
fc-list (Linux) Listing installed fonts. The font picker lists no installed fonts.
getfacl, setfacl (Linux) Reading a file's access list and putting it back after a save. Saves write into the existing file instead of replacing it.
ls (macOS) Reading a file's access entries so a save can keep them. Saves write into the existing file instead of replacing it.
sh (Linux) Restarting throng from its update prompt. Restarting after an update does not work.
mount, stat, id, dscacheutil (macOS) Listing volumes, reading file details and looking up owners. Volumes, details and owner names are missing.
Each shell: PowerShell, Command Prompt, Git Bash, Bash, Zsh, fish, Dash, Nushell and the rest Running terminals of that kind. Terminals of that kind cannot start.

throng bundles none of these. Each setting is described in the External programs reference.