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.
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
| Distribution | Recipe | Dependency source |
|---|---|---|
| Gentoo | packaging/gentoo overlay | ::gentoo and ::guru (scenefx) |
| Arch Linux / Artix | packaging/arch/dragonfruit (release) or dragonfruit-git | extra (wlroots0.20) and AUR (scenefx0.5) |
| NixOS / Nix | flake in packaging/nix | flake inputs |
| Guix | packaging/guix/dragonfruit.scm | Guix 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.