aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hastings <NickHastings@users.noreply.github.com>2024-07-02 17:30:39 +0900
committerGitHub <noreply@github.com>2024-07-02 08:30:39 +0000
commitc681198179c3cf5e2e74d3705db2b689671e13f4 (patch)
tree5fa9bbacfe708e99c33ff40781891035fcf371fe
parent105938df0bffefaf09beb576e7b9b22f159ce5eb (diff)
downloadniri-c681198179c3cf5e2e74d3705db2b689671e13f4.tar.gz
niri-c681198179c3cf5e2e74d3705db2b689671e13f4.tar.bz2
niri-c681198179c3cf5e2e74d3705db2b689671e13f4.zip
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 <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Update wiki/Getting-Started.md Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
-rw-r--r--wiki/Getting-Started.md19
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