Live data from Hacker News

Niri – A scrollable-tiling Wayland compositor

github.com

131–140 of 234 posts

Re: Niri – A scrollable-tiling Wayland compositor

#131
post #11

I did try it, but hyprland is still the most usable/pretty ratio for me, I also use Vicinae launcher (I wish that name is changed it’s hard to remember) so not sure how that will work with niri.

I don't use vicinae, but I just tried it out on niri and it seems to work! I might check it out, it looks interesting.

Glad to know it works with no issues on niri! And it’s great, works with raycast extensions too!

Re: Niri – A scrollable-tiling Wayland compositor

#132

Niri convinced me to give up xmonad. I ran xmonad exclusively for 14 years. Being able to have an unlimited number of windows on a desktop (without continually switching the tiling structure) makes them collections of topics rather than having multiple desktops bounded by what fits comfortably. What used to be a switch from the "editor and terminals" desktop to the "browser" desktop is now horizontal movement on the…

I've been using i3 for 7 years now, and my immediate response to the scrolling thing was "why?" and after reading your comment, I'm still trying to understand. As one would expect for any tiling wm, the screenshots only show how pretty it can be, and don't really illustrate how it helps with productivity. Would you mind going into more detail on what actually happens when you move horizontally? What happens when you…

The WM has no job being the browser, but yes we should be able to run firefox without tabs like it's surf (and stop doing part of the WM's job). But you cannot practically do that.

Re: Niri – A scrollable-tiling Wayland compositor

#133
post #122

Earlier quoted context omitted.

The only thing I feel like is missing from niri is a scratch layer. There are some apps that just don’t need to be tiled and it’s nice to have access to them immediately no matter “where” you are. Perfect example is matrix client. If the wife texts me I want to become able to pop that sucker up immediately and reply, not find the “matrix client workspace”. Plus it’s tiny and doesn’t need to be tiled. Same with media…

In my case I've found niri's workflow quite nice for these scratch windows, since every new window opens to the immediate left of the currently focused window, and doesn't affect the size or tiling of any other windows, they're just shifted to the right.

That only works for windows that you would be opening and closing, not persistent ones like chat apps or music players?

Re: Niri – A scrollable-tiling Wayland compositor

#134
post #13

Somebody sell me on these newfangled tiling WMs. I have been using basically the same xmonad configuration for 15+ years, pretty much updating it only on breaking or deprecated changes. What do all these new Wayland compositors have to offer except "tiling, but for wayland?" Does Wayland actually work now? I've tried it every few years for over a decade now and every time I ran into showstopper bugs (usually on nvidi…

Be careful. There are still showstoppers in wayland implementations, if you do anything that isn't common for a Linux user. Example: I am still unable to change the orientation of my drawing tablet.

There are many like this. It mostly works, but it isn't as flawless as just using X11 (unless we are talking about displays and stuff).

Nvidia works since driver 570.

(Edit: grammar and Nvidia note)

Re: Niri – A scrollable-tiling Wayland compositor

#136

Earlier quoted context omitted.

Niri recently improved it's integration with xwayland-satellite, so it's easier to run programs that don't support wayland now: https://github.com/YaLTeR/niri/wiki/Xwayland

I'm still running an older version (ain't broke, won't fix), but I keep getting recommended the newer versions for features. I'll check them out eventually.

can you paste a link?

Re: Niri – A scrollable-tiling Wayland compositor

#137
post #39

Earlier quoted context omitted.

Was long time ago I used macOS in any professional capacity, but doesn't it just maximize the height of the window, not the width? I seem to recall some UX like that, but might have been a different action/button.

Mac has a weird windows models based on contents, not the display. So the content can “suggest” maximum and minimum size when you double click the title bar. it fits within the document model (windows are tied to documents while the application oversees things, which is why the menus are global and closing a window does not exit the software).

Thanks for the insight. I have never thought about it that way and it explains the weird behaviors you mentioned and also why it works well for people who do mostly office stuff. As a dev, I heavily use browser, editor and terminal, which don't map as well to the document model.

Re: Niri – A scrollable-tiling Wayland compositor

#138

Earlier quoted context omitted.

I'm still running an older version (ain't broke, won't fix), but I keep getting recommended the newer versions for features. I'll check them out eventually.

can you paste a link?

I'm away from the computer at the moment, but I believe I'm on 0.1.3 [0].

Noting the release notes, it does have many animations already enabled (but I have some or all of them disabled through config).

I'm not recommending anyone run this in favor of newer versions, but it's working for me.

[0] https://github.com/YaLTeR/niri/releases/tag/v0.1.3

Re: Niri – A scrollable-tiling Wayland compositor

#139

Niri convinced me to give up xmonad. I ran xmonad exclusively for 14 years. Being able to have an unlimited number of windows on a desktop (without continually switching the tiling structure) makes them collections of topics rather than having multiple desktops bounded by what fits comfortably. What used to be a switch from the "editor and terminals" desktop to the "browser" desktop is now horizontal movement on the…

Niri recently improved it's integration with xwayland-satellite, so it's easier to run programs that don't support wayland now: https://github.com/YaLTeR/niri/wiki/Xwayland

What does xwayland-satellite do that normal xwayland doesn't ?

Re: Niri – A scrollable-tiling Wayland compositor

#140

Earlier quoted context omitted.

Niri recently improved it's integration with xwayland-satellite, so it's easier to run programs that don't support wayland now: https://github.com/YaLTeR/niri/wiki/Xwayland

What does xwayland-satellite do that normal xwayland doesn't ?

This is addressed on the linked page.

Quote:

We're using xwayland-satellite rather than Xwayland directly because X11 is very cursed. xwayland-satellite takes on the bulk of the work dealing with the X11 peculiarities from us, giving niri normal Wayland windows to manage.

xwayland-satellite works well with most applications: Steam, games, Discord, even more exotic things like Ardour with wine Windows VST plugins. However, X11 apps that want to position windows or bars at specific screen coordinates won't behave correctly and will need a nested compositor to run. See sections below for how to do that.

Post reply on HN