Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Settings and appearance

Click Settings at the bottom of the panel, or press Ctrl+, (Cmd+, on macOS). Every choice applies at once and is kept for the next launch. Esc, or a click outside them, closes the settings.

Themes

Each theme is shown in its own colours: click one to use it. Like the system follows your system's appearance, light or dark. T also switches to the next theme, without opening the settings.

The two house themes, Débarras Light and Débarras Dark, follow your system's appearance until you choose a theme. The others are: Dracula, One Dark, Gruvbox Dark, Nord, Catppuccin Mocha, Tokyo Night, Rosé Pine, Solarized Dark, Solarized Light, Catppuccin Latte and Gruvbox Light.

Every theme is checked by a test: text reads at a contrast of at least 4.5:1 on every ground, including every family tint, and the hover red stands out at 3:1.

Language

Débarras speaks English and French. Choose English or Français in the settings, or System to follow your system:

  • from a terminal, the first of LC_ALL, LC_MESSAGES and LANG that is set (fr… gives French);
  • on macOS and Windows, launched from the Finder or the Start menu, the system's language.

A language chosen in the settings wins over the system's.

The demo's folder names (projects or projets) are made when it opens: they change at the next launch.

The settings file

Débarras writes one small text file, settings, when you change a setting or open a folder:

SystemFolder
Linux$XDG_CONFIG_HOME/debarras, or ~/.config/debarras
macOS~/Library/Application Support/debarras
Windows%APPDATA%\debarras

It holds one line per setting:

theme=Nord
language=fr
last=/home/you/projects
KeyValue
themethe name of a theme, as the settings show it; absent: like the system
languageen or fr; absent: the system's
lastthe folder opened last, or demo; opened again at launch

An unknown line is ignored, and a missing or empty file means the defaults. Deleting the folder resets Débarras.