carbonian 13 · debian 13 (trixie) · wayland
Carbonian is a Debian-based distribution built around the command line. Its desktop is a Wayland compositor made of tmux; one palette colours every program, down to the patched ones; and the panels, the hot corners, the animations and even the look of the screen are plain-text files you can read, copy and edit.
What every part of Carbonian is held to. They come from the project's vision, and each one has decided something concrete in the code.
carbonian-survey, read it and say yes.carbonian-shell (0.24.61, on wlroots 0.20) is a Wayland compositor built around tmux. Panes, windows and floating panes are tmux's; the compositor frames them, gives their edges handles, docks a graphical program into the pane it was started from, and slides the panels in around them. Every panel is a terminal program on a tmux session of its own.
Split a pane, drag a border, zoom, float. A browser or an editor started in a pane lives in it and follows it through splits, zoom and window switches. A program that goes full screen gets a space of its own.
Spaces are tmux windows: Super+arrows or three fingers slide between them. Super+Up shows every space live, behind a wallpaper the palette colours; typing finds a program by name.
The widgets (calendar, clock, weather, notes, TODO, a bonsai), the drawer (notifications and calcurse), quick settings, and an fzf launcher that also does sums: terminal programs, from a key, a click or the touchpad.
Eight zones, the corners and the middle of each edge, each with an action: the hot spot, a panel, the launcher, the hardware monitor or the overview. A zone glows faintly as the pointer nears it.
A click on the figures in the status line opens the hardware monitor, btop or htop in the palette. The status line is tmux's, top or bottom, with the tray drawn in Nerd Font glyphs.
Extended, mirrored, laptop only or external only, remembered per set of monitors; fractional scales; night light by the clock; idle, lock and screen-off; screenshots with an area picker on the Print key.
On a Raspberry Pi 2, in Forest: the same panels as on a PC.








Every part of the rice is meant to be edited by whoever uses it, so every setting follows one convention: learn one file and you can read them all. Nothing is provisioned in your home: the system's files are the defaults, and yours only override.
/etc/carbonian/<thing>.conf is the system's default; ~/.config/carbonian/<thing>.conf
is yours, and wins. The name is the thing it configures: widgets.conf configures the widgets.
key value per lineUnits in the value: 80%, 280ms, 1.5s. # starts a comment. A bad
value is ignored, never fatal. What runs is always program.
Inside every file the trigger comes first (which corner, which key), then what it shows or runs, then its looks (size, glow, colours), so two files read alike.
Every setting is in the shipped file with its default as a comment (#size 80%), and every file has its
page: man corners.conf, man style.conf; man carbonian is the overview.
Excerpts from carbonian-theme's /etc/carbonian, unedited.
Copy one to ~/.config/carbonian/, change a line, and reload it as its header says.
# when and what: ZONE ACTION # ZONE: bottom-left, bottom-right, top-left, top-right, top-center, bottom-center, left-center, # right-center # ACTION: hotspot (the panel of hotspot.conf), widgets, drawer, quick, launcher, monitor, overview, # none # The hot spot is on bottom-left unless hotspot.conf's `corner` or a line here says otherwise. #bottom-left hotspot #top-left widgets #top-center launcher #right-center drawer # # when: how long the pointer rests (100ms to 3000ms) #dwell 280ms # # how it looks: the faint glow that grows in a zone as the pointer nears it #glow on
# column width a column, left to right (its share of the width) # name height command a widget in it, top to bottom (the last takes what is left) # The command is a terminal app, or a graphical one (it docks into its pane). column 33% time 20% /usr/lib/carbonian/widget-clock weather 38% /usr/lib/carbonian/widget-weather todo 42% /usr/lib/carbonian/widget-todo column 33% bonsai 62% cbonsai -l -i -w 2 -L 36 carbonian 38% /usr/lib/carbonian/widget-about # clock 30% tty-clock -c -C 5 # pipes 40% pipes.sh # matrix 40% cmatrix -b
# when: the corner (bottom-left, bottom-right, top-left, top-right, none) and how long the pointer rests #corner bottom-left #dwell 280ms # # what: the program it runs, a terminal app (a graphical one docks into the panel). It starts again # if it exits. program cbonsai -l -i -w 2 -L 36 # # how it looks: its share of the screen (50% to 100%, also for the hardware monitor) and the faint # glow that grows in the corner as the pointer nears it #size 80% #glow on
# how it looks: guest-padding keeps a docked app (a browser, an editor) that far inside its pane, all round. # 0px: it fills the pane to its edge. #guest-padding 0px # # how it looks: title-bar is a fixed strip with the title and the controls (close, maximize...) over every app that # does not draw a bar of its own; floating has no strip: the title and the controls fade in over the app's top # edge when the pointer nears it (they can cover its menus). #title-bar fixed # # how it looks: panel-padding keeps the content of a panel with dividers between its panes (the widgets, the # drawer) that far from the panel's left and right sides, so the dividers do not touch the screen's edges. #panel-padding 16px
| File | Configures | Keys |
|---|---|---|
widgets.conf | the widgets screen | column 34%, then slots name height command |
drawer.conf | the drawer | slots name height command, width 31% |
hotspot.conf | the hot spot panel | corner, dwell, program, size, glow |
corners.conf | eight hot zones, an action each | ZONE ACTION, dwell, glow |
layout.conf | where the terminal and docked apps sit | margin-bottom, guest-padding, panel-padding, title-bar |
rules.conf | what an app's window does when it opens | rule PATTERN space|fullscreen|console|keys |
animations.conf | the curve of every animation | curve ease-out|ease-in-out|snappy|soft|linear|bezier X1 Y1 X2 Y2 |
filters.conf | colour filters, yours too | filter NAME m11 .. m33 [s1 s2 s3] |
style.conf | scanlines, tube mask, vignette, glow, curve, shaders | style NAME scan 35% period 3 mask 25% … |
wallpaper.conf | the pattern behind the overview | image hexes |
terminal.conf | the session terminal's font size | font-size 12 |
prompt.conf | the zsh prompt | duration, host, time, glyphs, symbol |
sysmon.conf | the hardware monitor | program auto|btop|htop|top |
cmatrix.conf | the patched cmatrix's rain | speed, characters, color accent, bold |
power.conf, sleep.conf | the dedicated GPU; what wakes the machine | dgpu auto|always|never; wake-lid, wake-pointer |
view.conf | carbonian-view and images on the web | remote ask|never|always, allow HOST, size-limit 10MB |
palette.d/* | programs that do not follow the palette by themselves | executables, run with the palette's name at each change |
palettes/*.toml | the colours of everything | 16 ANSI colours and a few tones; carbonian-palette |
carbonian-tweaks, the quick settings' more screen, shows these settings in one place and
writes the one line it changes, keeping the comments; a value equal to the default goes back to the commented line.
State you flip from the quick settings (do not disturb, the filter, the animations) is one word in
~/.config/carbonian/<name>. The widgets themselves are programs in /usr/lib/carbonian/:
copy one, edit the copy, point widgets.conf at it.
Colours are not a theme per program. One palette file feeds everything, and on top of it the
compositor can change the look of the whole screen: colour filters, night light, and styles down to a curved
tube, with shaders of your own. All of it from the quick settings, carbonian-ctl, or a conf file.
A palette is a TOML file: the sixteen ANSI colours, slot 5 the accent whatever its hue, and a few tones.
carbonian-palette set forest, or the Palette tile in quick settings, repaints what is running and every boot
after it. This site wears Forest, a dark green night with jade for the accent; the swatches below are made from
the same files the system reads.
❯ carbonian-palette set forest # or the Palette tile; Enter takes the next one ❯ carbonian-ctl filter sepia # off, grayscale, eink, sepia, invert, or your own ❯ carbonian-ctl style tube # scanlines, soft, crt, aperture, phosphor, tube, or your own ❯ carbonian-ctl night on 3200 # the night light, 1500 to 6500 K; auto follows the clock
Carbonian carries two patches to wlroots' GLES2 renderer. The first adds a colour filter: a 3×3 matrix and a shift applied to every pixel the screens show. The second adds a CRT look in the same shaders (scanlines, a tube's colour mask, darker corners, glow) and a curved screen drawn in one more pass, with the pointer mapped to what the curved picture shows. The compositor finds both at run time, so it still runs on a stock wlroots, where the filter answers "unavailable". Night light sets the screen's gamma table with each frame.
# style NAME scan 30% period 3 mask 0% vignette 0% boost 100% glow 0% # ... # The built-in ones, as they are written here (off cannot be redefined): # #style scanlines scan 30% period 3 #style soft scan 15% period 2 vignette 20% #style crt scan 35% period 3 mask 25% vignette 45% #style aperture period 3 mask 55% vignette 25% #style phosphor scan 35% period 4 mask 12% vignette 40% boost 118% glow 30% #style tube scan 35% period 4 mask 12% vignette 40% boost 118% glow 30% curve 4%
# filter NAME m11 m12 m13 m21 m22 m23 m31 m32 m33 [s1 s2 s3] # # The colour of every pixel becomes rgb' = M * rgb + S * alpha #filter grayscale 0.2126 0.7152 0.0722 0.2126 0.7152 0.0722 0.2126 0.7152 0.0722 #filter sepia 0.291 0.569 0.140 0.258 0.508 0.124 0.201 0.395 0.097 #filter invert -1 0 0 0 -1 0 0 0 -1 1 1 1 # # An example: a dimmer screen, a quarter of the light taken away #filter dim 0.75 0 0 0 0.75 0 0 0 0.75
Your own fragment shader goes in ~/.config/carbonian/shaders/NAME.frag and is named by
shader NAME in a style; seven examples ship in /usr/share/carbonian/shaders (chromatic, bloom,
vhs, pixelate, daltonize, crt and a template). A shader that fails is logged and the built-in look is used.


A palette that stops at the terminal's edge is a theme, not a rice. Carbonian would rather carry a patch or write a hook than ship a program that ignores the colours: the programs used most follow the palette, most of them the moment it changes.
| Program | How it follows the palette | When |
|---|---|---|
| Linux console, boot splash | the console's 16 colours (vtrgb); the boot shards lit in the accent | at once |
| Login screen, compositor, wallpapers | the palette file, read again on carbonian-ctl palette; the grey wallpaper patterns take its tones | at once |
| foot | every terminal on a tmux session gets the new colours by escape codes | at once |
| tmux | every tmux server sources its generated colours again | at once |
| btop | a generated theme, re-read on SIGUSR2 | at once |
| vim, Neovim | a generated scheme, taken again on SIGUSR1 | at once |
| htop, cbonsai, cmatrix | patched so their accent is the palette's (ANSI magenta in every palette) | at once |
| zsh, ls, grep, fzf, bat, eza, git, apt, man | colours by ANSI index, so they are whatever the terminal shows | at once |
| Chromium | a managed policy written by carbonian-palette: the theme colour is the background with 12% of the accent, dark scheme | at once |
| GTK 3 | Carbonian's GTK theme in the terminal's look (square, flat, monospace) imports the palette's colours | next start |
| Firefox | a palette.d hook links each profile's userChrome.css to the palette's; carbonian.js lets the shell draw its frame | next start |
| swaylock | the lock is drawn in the palette's colours | next lock |
| matplotlib | carbonian_mplstyle: background, text, grid and colour cycle from the palette, and a colormap | next run |
| R, ggplot2 | theme_carbonian(); the palette.d/50-ggplot hook writes ggplot.R again at each change | next run |
| Julia, Makie | theme_carbonian() for Makie; the palette.d/60-makie hook writes makie.jl again at each change | next run |
| VS Code | carbonian-vscode: a colour theme per palette; the palette.d/50-vscode hook moves every profile that already uses a Carbonian theme to the new one | next start |
| DBeaver | carbonian-dbeaver starts it with a theme made from the palette (panels, data grid, SQL editor); the palette.d/70-dbeaver hook makes it again at each change | next start |
A program that cannot follow by itself gets a hook: every executable in /etc/carbonian/palette.d
and ~/.config/carbonian/palette.d runs with the palette's name when it changes, yours winning over the
system's of the same name. Firefox (40-firefox), ggplot2 (50-ggplot), VS Code
(50-vscode), Makie (60-makie) and DBeaver (70-dbeaver) follow this way.
Debian packages Carbonian changes are kept few, as quilt patches the factory applies when it rebuilds them; a patch lives until upstream or Debian has the change, and the patched sources are published next to the binaries.
| Package | The patch | Where |
|---|---|---|
| wlroots 0.20 | a colour filter in the GLES2 renderer (grey, e-ink, sepia, invert, yours); a CRT look in the same shaders: scanlines, colour mask, vignette, curve, a post shader | PC, Pi 2 |
| foot | programming ligatures: runs of operator characters shaped together with HarfBuzz, kept on the cell grid | PC, Pi 2 |
| tmux 3.8 | sixel pictures kept in the history and drawn in copy mode, so plots scroll back with the text | PC, Pi 2 |
| htop | a "Carbonian" colour scheme, the default: headers, meters, bars and selection in the accent | PC, Pi 2 |
| cbonsai | the leaves in the accent; no window leak in infinite mode (it had reached 186 MB after 20 hours on the Pi) | PC, Pi 2 |
| cmatrix | the accent by default; cmatrix.conf with character sets from katakana to braille; wide-character ncurses | PC, Pi 2 |
| calcurse | a status bar that fits the drawer's narrow pane; labels on compact panels | PC, Pi 2 |
| GTK 3 | Wayland only: no X11 or Broadway backend, no CUPS, no colord | Pi 2 |
| Mesa | lean: VideoCore IV only, EGL, GLES2 and GBM on Wayland; no GLX, LLVM or Vulkan | Pi 2 |
| Neovim | not patched, kept current: upstream 0.12 built as one package, its few dependencies bundled offline | PC, Pi 2 |

The essentials follow upstream. tmux's one patch is small and carried until upstream keeps sixel pictures in its history; everything else on this list is a look or a fix that a setting could not give.
carbonian-rice is the set of terminal programs every Carbonian gets, the same on every
platform, each one themed by the palette and tested in a small pane:
carbonian-zsh adds the prompt (git branch, exit status, command time), syntax highlighting,
suggestions from history and fzf key bindings with bat previews. The next programs are being chosen from a written
list, one per job, judged by how they look in each palette and style, how they behave in the Pi's small panes, and
the same rules as the rest: Wayland only, no telemetry.
foot draws sixel pictures and tmux 3.8 carries them, so a plot can be a picture in the pane, next to the text, in the palette's exact colours. Carbonian builds a notebook on that.
IPython with a matplotlib backend that sends each figure as a sixel picture sized to the pane, re-rendered rather
than resampled, its flat colours kept exact. A .ipynb runs by its kernel: Python, R (ggplot2 in the
palette) or Julia (Makie in the palette, through carbonian-jnb; Julia itself is installed apart, it is
not in Debian). %figs pages through the figures.
Images and Markdown in the terminal, fitted to the window. A 3D plot from the notebook turns live: arrows or a
mouse drag rotate it, the wheel zooms, a spins it. A picture on the web is fetched only after you say so
(view.conf).
Five notebooks, one plot of each kind: ggplot2 (36), matplotlib (26), matplotlib 3D (41), 3D in R (21) and Julia's
Makie (36, with Julia installed). carbonian-gallery 3d opens one, a page per figure.
lazy.nvim, the built-in LSP, treesitter, blink.cmp, snacks.nvim, which-key, gitsigns. A .ipynb opens as
# %% cells, saves back with its outputs, and runs cells in a tmux pane with the figures as sixel.
It never touches ~/.config/nvim.




Small programs, each with a manual page, each doing one job the rest of the system relies on. The compositor answers on a socket, so the status line, the quick settings and your scripts all speak the same verbs.
| Command | Package | What it does |
|---|---|---|
carbonian-ctl | carbonian-shell | talks to the running compositor: open a panel, set the filter, style, night light, screens and scale; state, caps, lock, rules reload |
carbonian-palette | carbonian-theme | lists and sets the palette, makes every colour file from it, refreshes what runs and calls the hooks |
carbonian-tweaks | carbonian-theme | the settings of the conf files in one terminal screen |
carbonian-sysmon | carbonian-theme | the hardware monitor: btop, or htop on a small machine (sysmon.conf) |
carbonian-shot | carbonian-shell | a screenshot of an area or every screen, saved, copied to the clipboard and announced |
carbonian-hwcheck | carbonian-survey | a test battery inside a session (screens, panels at each animation speed, scaling, lock, idle, night light), with a report and screenshots; it sends nothing |
carbonian-survey | carbonian-survey | an opt-in hardware report: shows it all first, sends it only on a yes, and a code deletes it later |
carbonian-sync | carbonian-sync | every 15 minutes, installs what the Carbonian archive published; nothing is removed, Debian's updates keep their timers |
carbonian-notebook, carbonian-nb, carbonian-jnb | carbonian-notebook | Python with plots in the terminal; a notebook run by its kernel (Python, R or Julia); Julia notebooks with Makie |
carbonian-view | carbonian-notebook | images, Markdown and live 3D in the terminal |
carbonian-gallery | carbonian-galleries | opens a gallery of plots in the palette |
carbonian-nvim | carbonian-nvim | Neovim with a modern setup, notebooks included, under its own name |
carbonian-vscode | carbonian-vscode | puts the current palette's colour theme in VS Code's settings, and if asked a preset that removes most of the chrome |
carbonian-dbeaver | carbonian-dbeaver | starts DBeaver with a theme in the current palette's colours (DBeaver itself is installed apart) |
carbonian-gpu-driver, carbonian-dgpu | carbonian-shell | pick a laptop GPU's driver per boot; run a program on the dedicated GPU (power.conf) |
❯ carbonian-ctl state ok session drawer=0 widgets=0 quick=0 launcher=0 overview=0 hotspot=0 monitor=0 ❯ carbonian-ctl widgets ok open
carbonian-dev-tools pulls in everything used to test a machine at once, and
man carbonian lists every piece, key and file.
A distribution usually shows a boot menu, scrolling kernel text, a splash, a display manager and a second mode switch before the desktop appears. Carbonian takes those parts out or draws them itself, so from power-on to power-off the screen goes through one continuous, designed picture.
| Moment | Usually | In Carbonian |
|---|---|---|
| Boot menu | GRUB menu, countdown | hidden; Shift or Esc brings it back |
| Kernel and services | scrolling messages, a blinking cursor | quiet, no cursor: the console stays in the palette |
| Splash | Plymouth, a separate theme | the shards: one per CPU core, lit by real boot progress |
| Login | a display manager (GDM, SDDM, LightDM) with its own toolkit | greetd and carbonian-greet, drawn by the same compositor as the desktop |
| Into the session | a black flash while the display is handed over | the login screen gives way to the session in the same background colour, no flash |
| Logout, shutdown | the screen cuts to text | the session dissolves, the shards go out one by one |
Each piece can still be had the usual way: the GRUB menu on a key, the console with carbonian-theme removed.



The shards light up with the boot, the login prints and checks in place, the session lays itself out, quick settings slide in. A PC, real time. The same tour in another palette:
The factory builds every port from the same recipes and publishes each as its own signed suite, with
the sources next to the binaries. The session finds out what the machine has (carbonian-ctl caps) and
turns features on or leaves them off.
A layer over stock Debian 13: Carbonian's own packages and the few patched ones, pinned above Debian. wlroots 0.20, GLES2 by default, Vulkan built in.
The whole archive rebuilt for the Cortex-A7 with NEON. The floor: what runs here runs everywhere. More on the Pi 2.
The newest ports, over Debian 13, built and published by the same factory sync. Neither is among the machines tested yet.
Start from a minimal Debian 13 (trixie, amd64) install, add the source, install carbonian-desktop,
reboot. A live image for trying it from a USB stick exists, and is not public yet.
curl -fsSL https://deb.carbonian.org/carbonian.gpg | sudo tee /usr/share/keyrings/carbonian-archive-keyring.gpg >/dev/null
sudo tee /etc/apt/sources.list.d/carbonian.sources >/dev/null <<'EOF' Types: deb deb-src URIs: https://deb.carbonian.org Suites: carbonian-x86 Components: main Signed-By: /usr/share/keyrings/carbonian-archive-keyring.gpg EOF
sudo apt update && sudo apt install --no-install-recommends carbonian-desktop && sudo reboot
--no-install-recommends counts on this first install only: Carbonian's lean apt settings come with the
desktop, and without it apt would add what the packages merely recommend (R's compilers, Java, TeX: 1.8 GB instead of about 600 MB).
Have a Raspberry Pi 2? The same experience on a base rebuilt for its CPU: Carbonian on the Raspberry Pi 2.