diff options
| -rw-r--r-- | wiki/Getting-Started.md | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/wiki/Getting-Started.md b/wiki/Getting-Started.md index bc1974b7..ffe3605a 100644 --- a/wiki/Getting-Started.md +++ b/wiki/Getting-Started.md @@ -164,9 +164,9 @@ If you're not on NixOS, you may need [NixGL](https://github.com/nix-community/ni nix run --impure github:guibou/nixGL -- ./results/bin/niri ``` -### Installation +### Packaging -The recommended way to install and run niri is as a standalone desktop session. +The recommended way to package niri is so that it runs as a standalone desktop session. To do that, put files into the correct directories according to this table. | File | Destination | @@ -180,5 +180,20 @@ To do that, put files into the correct directories according to this table. Doing this will make niri appear in GDM and other display managers. +### Manual Installation + +If installing directly without a package, the recommended file destinations are slightly different. +In this case, put the files in the directories indicated in the table below. +These may vary depending on your distribution. + +| File | Destination | +| ---- | ----------- | +| `target/release/niri` | `/usr/local/bin/` | +| `resources/niri-session` | `/usr/local/bin/` | +| `resources/niri.desktop` | `/usr/local/share/wayland-sessions/` | +| `resources/niri-portals.conf` | `/usr/local/share/xdg-desktop-portal/` | +| `resources/niri.service` | `/etc/systemd/user/` | +| `resources/niri-shutdown.target` | `/etc/systemd/user/` | + [Alacritty]: https://github.com/alacritty/alacritty [fuzzel]: https://codeberg.org/dnkl/fuzzel |
