DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Installation

Packaging recipes and a source build for Linux

Installation

Dragonfruit is not in distribution repositories yet, so every route builds it from source. The repository ships recipes for Gentoo, Arch (also Artix), Nix and Guix.

SECTION 01 · Getting started
Scope: Linux / Wayland
Repository and source ↗

Before you install

Dragonfruit needs wlroots 0.20 and scenefx 0.5. Both are ABI-versioned, so other versions do not work. See Requirements. A seat manager (logind, elogind or seatd) is also needed.

Disambiguation
This project is the Dragonfruit compositor, a fork of Mango written in C. It is a separate project from the Dragonfruit Desktop environment.

Packaging recipes

DistributionRecipeDependency source
Gentoopackaging/gentoo overlay::gentoo and ::guru (scenefx)
Arch Linux / Artixpackaging/arch/dragonfruit (release) or dragonfruit-gitextra (wlroots0.20) and AUR (scenefx0.5)
NixOS / Nixflake in packaging/nixflake inputs
Guixpackaging/guix/dragonfruit.scmGuix channels

Arch, after you install scenefx0.5 from the AUR:

git clone https://codeberg.org/central-lambda-group/dragonfruit.git
cd dragonfruit/packaging/arch/dragonfruit   # or dragonfruit-git
makepkg -si

Guix, from a checkout:

guix build -f packaging/guix/dragonfruit.scm
guix install -f packaging/guix/dragonfruit.scm

Full steps for Gentoo, Artix seat setup and NixOS modules are in the repository's installation guide.

Installing from source

git clone https://codeberg.org/central-lambda-group/dragonfruit.git
cd dragonfruit
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install

For build options and building wlroots or scenefx yourself, see Build from source.

Verifying the installation

which dragonfruit
dragonfruit -v

Inside a running session, dfmsg get canvas prints the canvas camera. Then continue with First launch.

← Previous

Documentation index

Next →

Build from source