Live data from Hacker News

Niri – A scrollable-tiling Wayland compositor

github.com

91–100 of 234 posts

Re: Niri – A scrollable-tiling Wayland compositor

#91

I still find it frustrating there's no debian packagers for niri, after all these years, but seems to be some for almost every other distribution?

Package situation on anything that isn't Arch (and I think Fedora) is pretty rough. I installed it from source. It helps that it is a rust application and was up and running in no time

Re: Niri – A scrollable-tiling Wayland compositor

#93

My only complain about niri is that after a few weeks without reboot I end up with ~500 terms open, as I often open a new shell to check something, get distracted, and forget about it as it scrolls out of the view... (I usually notice at the 400-500 mark because this machine starts swapping noticeably, and closing it all is a chore that usually ends in pkill without checking...) Maybe a bit more self discipline would…

I don't use niri but I worked around this problem (feature?) by creating a bash script that by default checks if a terminal is already open and if so, brings it into focus. Then I attach it to my default shortcut to open terminal and then create one more shortcut that opens a new terminal every time. So now, depending on which shortcut is pressed, I can either keep reusing the existing terminal or open a new one. I'm sure we can have a script that can do more fancy logic like allowing new terminals upto a given number and after that just bring the latest one into focus. Plenty of possibilities.

Re: Niri – A scrollable-tiling Wayland compositor

#94
post #88
post #24

Earlier quoted context omitted.

I hate that I have to hold option everytime I maximise a window. All I want is to change the default to stretch windows and not use the fullscreen mode at all because of the other weirdness it brings.

Just switch to Linux ... In Gnome just hit Windows+Right or Windows+Left it does exactly what you want. Install some Gnome plugins if you want 2x2 or 3x2 or other custom tiling. I genuinely don't get why so many devs use MacOS when Linux is already set up for devs, and the stuff you run in the cloud will also run locally with 1/100 the SSH keyboard latency.

Very often it's not a choice, a lot of companies only let developers choose between Windows or MacOS laptops for work.

Re: Niri – A scrollable-tiling Wayland compositor

#95
I was daily driving Niri for a few months a while back and it was the first WM that worked nicely OOTB on a big ass ultrawide monitor. There is a nice hotkey to center your active window. I've found it was quite the hassle on other WMs to work nicely on a wide monitor. The traditional split view means nothing is directly in front so you're always turning. Or you have to spend a bunch of time customizing it to suit the monitor. Niri is the way to go in these cases IMO.

That being said, these days I prefer floating windows so I just use GNOME.

Re: Niri – A scrollable-tiling Wayland compositor

#96
post #36

Earlier quoted context omitted.

I'm familiar with DHH's opinions -- Can you elaborate on how there are ethical implications/baggage associated with using FOSS? Must we leave the vicinity of people we don't always agree with?

I am relaxed about the small potential downsides of not being in the vicinity of people who lionize Tommy Robinson.

[flagged]

Re: Niri – A scrollable-tiling Wayland compositor

#97
post #86

Is there a small icon that tells you the layout so you know which way to swipe? Oh maybe it's just up and down

Sorry, I don't understand what you mean. The infinite strip extends to the right, so you scroll left-right. Workspaces are up-down. If that's what you meant?

Re: Niri – A scrollable-tiling Wayland compositor

#98
post #15

I've been running niri for months now on my primary desktop, I wrote about it for LWN here: https://lwn.net/Articles/1025866/ "Normal" tiling WMs / compositors just don't work for me, but the tiling model does. Before niri, I used PaperWM and GNOME -- but a GNOME extension can only do so much. I wish the folks doing COSMIC would add scrollable tiling, but unless/until they do I'll probably stick with niri.

Thanks, I wanted to know the difference with COSMIC

Re: Niri – A scrollable-tiling Wayland compositor

#99

Niri is currently being "hugged to death", if you want to contribute: Donate to Ivan or review others PRs before making your own, the project has no commercial backing and he's "overloaded" by the projects recent success. I've been using it for years now and it's obvious that Smithay and Niri are high-quality projects, I haven't had any issues other than missing features (more of which has become available over time)…

How much does random people reviewing other people's PRs help in practice?

As a maintainer I'd still want to review PRs myself before merging, no matter how many random people did it before me.

As a contributor, I'd hate for a random with shallow understanding of the problem/project to come in and tell me I had to change stuff or say my PR's no good, in the chance that the maintainer is easily influenced by strong internet opinions.

Re: Niri – A scrollable-tiling Wayland compositor

#100
I'd previously been giving Hyprland a try, but after lots of customization work, there were still a bunch of things I wasn't happy with and ended back on GNOME as a "just let me get work done" thing (I use multiple workspaces, have always have dozens or hundreds of browser windows open, depend on a bunch tray extensions). That being said, GNOME just updated versions and broke all my extensions again so I've decided to recommit to work on fixing anything that isn't working for my workflow and ditching GNOME forever (I was previously much happier on Openbox, but well, Wayland).

With this latest go I gave River, QTile, and Niri a try. After a bit of swapping back and forth, I've settled on Niri and am slowly adding functionality I'm missing.

- I like multiple dynamic workspaces (grouped by function) and don't see much point beyond a split or two so Niri worked pretty well, and I was able to largely config all the keyboard shortcuts to something that made sense to me

- I'm using waybar and swaync for my other DE bits

I've also been using long running Claude Code/Codex in a workspace to build a number of custom scripts:

- niri-workspaces - dynamically generate a workspace display on my waybar showing windows, activity

- niri-workspace-names - integrate w/ fuzzel to let me rename workpaces

- niri-alttab - getting app cycling working in a way that makes sense to me, this is a larger project probably if I want live thumbnails and the like

- niri-terminal-below - I often want to have a new vertical terminal split and it's a bit hacky but works (have to punch out a new terminal, then bring it below, and move back if on the right side)

I haven't gone through all the docs, done much looking around, but one nice thing with these new coding agents is that they can just go and do a passable job to tweak as I want.

Post reply on HN