r/voidlinux • • 28d ago

Installing Niri?

So, I’ve just installed void after getting annoyed at gentoos portage, and I’m not the best at installing and setting up DEs and WMs. I keep seeing people using niri, and I want it. The thing is, I can’t find any tutorials on how to install it (and configure it so it’s launched on boot) specifically for void. I’ve tried doing it myself but keep running into issues. Does anyone know any good tutorials for this?

4 Upvotes

8 comments sorted by

4

u/Moist_Professional64 28d ago

Install a display manager and select niri for login if you want you can use autologin for example sddm or gdm that should the easiest and fastest way for “newbies“. For niri itself there are documentations on their site

1

u/cyufxejks 28d ago

I’ll do this thanks

1

u/EditorOne5312 4d ago

I haven't tried Niri's login yet. I use Ly for my login currently since I want to access Sway/Niri or shell after login when I wanted. Is switching my login to Niri will ever be good?

2

u/Upper-Assistant-2629 28d ago

The installation is straightforward, the configuration is more challenging.
Check mine for inspiration: https://github.com/crashey-glitch/nirivoid

Note: I use no bars, clocks, shells for now

1

u/cyufxejks 28d ago

Will do, thanks

2

u/Jacobobarobatobski 28d ago

Easy mode is go to DMS website. Run script. Choose niri. In whatever display manager you use you have to use dbus-run-session niri for the execution command. Generally elogind makes things easier. In niri config.kdl: spawn-at-startup "dms" "run". I use the niri config to start pipe wire too.

1

u/xcocco 23d ago

sudo xbps-install -S niri

for customization read the wiki on niri's github. You're going to need dbus, elogind and mesa.

1

u/Kotoki5 23d ago

depending on what type of shell you have, you can put code in its profile to launch it at start. Been doing that until I started to use login manager.