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

Build and install

Atrium is built from source on an existing Void Linux installation. Each component owns its build and installed payload. The curated desktop, signed public package repository and ISO remain distribution work; there is no complete desktop installer to run today.

Compositor dependencies

The compositor manifest requires Rust 1.87 or newer. Install Make, a C toolchain and the development libraries:

doas xbps-install -S rust cargo make base-devel pkg-config \
    libdrm-devel libgbm-devel libinput-devel libseat-devel libxkbcommon-devel \
    mesa-devel wayland-devel wayland-protocols \
    pango-devel cairo-devel pipewire-devel libdisplay-info-devel

Runtime dependencies include libdrm, libinput, libseat, libxkbcommon, Mesa, Wayland, Pango, Cairo, PipeWire and libdisplay-info. The Void desktop uses seatd for device access, greetd/PAM with pam_rundir for login, and D-Bus for portals and application services. Enable the seatd service and add the desktop user to _seatd; changed group membership needs a fresh login. See The system underneath.

For X11 applications, install xwayland-satellite. Screen sharing also needs xdg-desktop-portal, xdg-desktop-portal-gtk and the separately built atrium-portal.

Build the compositor

git clone https://git.efpsoftware.org/atrium/atrium.git
cd atrium
make build
doas make install

make build prepares the release binary and installed launchers with --no-default-features --features dbus,screencast. The build omits systemd support and retains D-Bus and screencasting. make install copies the prepared payload without compiling.

The default prefix is /usr: executables go to /usr/bin, login entries to /usr/share/wayland-sessions, and the default configuration to /usr/share/atrium/default-config.kdl. The portal selection and licensed Heroicons are also installed. Use the same PREFIX, BINDIR and DATADIR overrides for build and install. DESTDIR stages files without changing runtime paths. Installing under another prefix does not remove an older installation.

make test runs formatting, clippy with warnings denied and workspace tests. The compositor’s make test-release adds the slow and installation tiers; passing ordinary tests alone does not qualify a release.

First configuration and login

If you do not already have a user configuration:

mkdir -p ~/.config/atrium
cp /usr/share/atrium/default-config.kdl ~/.config/atrium/config.kdl

Choose the terminal and launcher under binds (Mod+Return, Mod+R). Add startup commands for the components you installed:

spawn-at-startup "atrium-shell"
spawn-at-startup "pipewire"

Commands run independently once per compositor start. Config reload does not rerun them. PipeWire starts WirePlumber through its configuration drop-in; do not spawn WirePlumber separately.

The installed Atrium login entry invokes the compositor’s atrium-session shell launcher. Login still requires an administrator-configured greetd/PAM stack. The session explains the boundary; atrium-greet is an optional graphical frontend.

Try a nested instance

Use an explicit configuration without startup commands or environment overrides, and a separate state directory. For example, create a comments-only file at /tmp/atrium-nested.kdl, then from the compositor repository run:

XDG_STATE_HOME=/tmp/atrium-nested-state ./target/release/atrium -c /tmp/atrium-nested.kdl

This opens a compositor window inside the existing Wayland session. Do not pass --session, which selects the TTY/DRM path. Any IPC experiments must target this instance’s socket explicitly rather than the parent desktop.

Build other components separately

Clone each selected repository from the source list, then run make build as the ordinary user and doas make install in that repository. Their dependency and activation requirements differ:

ComponentGuide
Shell and optional widget collectionShell, Widgets
Network service, GUI and CLINetwork
Screen sharingPortal
Power and lock-before-sleepPower
Graphical login frontendGreeter
Application credentialsKeyring, requires Rust 1.95 or newer

Installing one component does not update the others or select their live service, PAM or user-startup configuration. General Settings source is outside the default builds. XBPS templates consume component Make targets; Setup owns eventual package/profile and ISO assembly.