From c681198179c3cf5e2e74d3705db2b689671e13f4 Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Tue, 2 Jul 2024 17:30:39 +0900 Subject: Add install location instructions for manual installation (#489) * wiki: Update install location instructions Provide file install destinations for both packages and manual installations. * wiki: split install instructions into two sections * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh --------- Co-authored-by: Ivan Molodetskikh --- wiki/Getting-Started.md | 19 +++++++++++++++++-- 1 file 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 -- cgit