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

Configuration

One file, ~/.config/atrium/config.kdl, in KDL. It hot-reloads: save and the change applies. Mod+Shift+R reloads by hand. A parse error keeps the previous config running and shows an error overlay.

The installed copy at /usr/share/atrium/default-config.kdl is the annotated reference; it is reproduced in full under Default configuration.

Sections

NodeWhat it configures
inputKeyboard (xkb layout, numlock), touchpad, mouse, trackpoint, focus-follows-mouse, warp-mouse-to-focus
output "name"Mode, scale, transform, position per monitor. atrium msg outputs lists names and modes.
layoutDefault algorithm, gaps, focus ring, border, shadow, default window width, preset widths
workspace "name"Label, icon, open-on-output, and a per-workspace layout override
environmentVariables for everything the compositor spawns. See The session.
spawn-at-startupPrograms to launch with the session (pipewire, the shell, a wallpaper setter)
cursorCursor theme and size
hotkey-overlayWhether the keybind overlay shows at startup
screenshot-path, screenshot-annotatorWhere captures go, or which tool receives them on stdin
iconify-actionWhat a client minimize request does
animationsOff, or a slowdown factor
window-ruleSee Window rules
bindsSee Keybindings
debugBackend knobs, including render-drm-device for hybrid GPUs

Atrium inherits most of niri’s option surface; the niri configuration reference applies for anything not covered here, except niri’s scrolling-layout options, which Atrium does not have.

Hybrid GPU

If compositor and consumer use different GPUs with incompatible DMA-BUF modifiers, selecting a matching render device can help:

debug {
    render-drm-device "/dev/dri/renderD129"
}

Find the right node with ls -l /dev/dri/by-path/; render-node numbers are machine-specific. This setting requires a compositor restart. Capture also supports shared-memory buffers, with a debug switch for isolating DMA-BUF negotiation. See atrium-portal.

Files next to it

Shell composition lives at ~/.config/atrium-shell/config.kdl, separate from the compositor configuration. A composition can select a theme file. RSS and weather widgets retain their own settings files under ~/.config/atrium/ unless overridden. See Shell and Widgets.