From c22d8358c293f5e66748d8ac20600e6b114f9743 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 12 Dec 2025 10:25:57 +0300 Subject: [PATCH] wiki/packaging: Mention recommended deps --- docs/wiki/Packaging-niri.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/wiki/Packaging-niri.md b/docs/wiki/Packaging-niri.md index 5c5f16cd..4cc3b5f5 100644 --- a/docs/wiki/Packaging-niri.md +++ b/docs/wiki/Packaging-niri.md @@ -30,6 +30,25 @@ Doing this will make niri appear in GDM and other display managers. See the [Integrating niri](./Integrating-niri.md) page for further information on distribution integration. +### Recommended dependencies + +First of all, make sure niri depends on `libwayland-server`. +This library is currently loaded dynamically, so it's not picked up as a dependency at niri build time. + +Then, the following dependencies are optional, but strongly recommended. +Set them as automatically-installed optional dependencies, if possible. + +- `xwayland-satellite`: required to run X11 applications (Steam, Discord, etc.). +- `xdg-desktop-portal-gnome`: required for screencasting. +- `xdg-desktop-portal-gtk`: configured as the fallback portal in `niri-portals.conf`. +(This is in general the standard fallback portal that you want installed.) +- `gnome-keyring`: configured as the Secret portal provider in `niri-portals.conf`. +- Your distro's GPU driver package, such as `mesa-dri-drivers` and `mesa-libEGL`. +Working hardware acceleration is required for running niri. +- Some notification daemon like `mako`, generally required for apps to work correctly. + +Finally, you may want to auto-install some of the applications bound in niri's [default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl) (search for `spawn`), such as `alacritty` and `fuzzel`. + ### Running tests A bulk of our tests spawn niri compositor instances and test Wayland clients.