this post was submitted on 27 Jan 2024
232 points (99.2% liked)

Linux

46013 readers
717 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hey folks,

remember the post that was made a few months ago about an infinite canvas/scrollable WM? Here we have the stable release of a (onedirectional) scrollable one inspired by gnome's PaperWM.

Aaaand... ...it's written in Rust!

all 37 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 6 months ago (1 children)

Man there is a night and day difference between the comments here and on phoronix, what is their problem?

[–] [email protected] 11 points 6 months ago

Phoronixposting rots your brain

[–] [email protected] 6 points 6 months ago

The COPR package didn't work for me on Nobara, so I had to build from source, but it works great. There are a couple of things I don't like, but overall seems pretty neat.

If I can get Xwayland to work nicely for steam with high refresh rates, then it seems like this might be the WM for me until COSMIC-DE comes out.

[–] [email protected] 5 points 6 months ago

I have had it installed for a while and I check it after every update. I can't use it yet as my daily driver because of scaling issues. The desktop scales properly but windows do not. Fonts are too small and the cursor is tiny. I figured out how to scale the cursor manually but I couldnt scale the windows.

[–] [email protected] 6 points 6 months ago* (last edited 6 months ago) (2 children)

Might be convenient on Touchscreen-Notebboks/Tablets. Any AUR package planned?

[–] [email protected] 3 points 6 months ago

I was just thinking of trying this with gnome mobile shell on mine! It looks like a great way to handle windows on gnome with touch

[–] [email protected] 12 points 6 months ago (1 children)
[–] [email protected] 7 points 6 months ago
[–] [email protected] 12 points 6 months ago* (last edited 6 months ago) (6 children)

Wouldn’t vertical scrolling make more sense?

Pretty much everything we do already scrolls vertically primarily, its more “natural” at this point.

[–] [email protected] 3 points 6 months ago (1 children)

I want to have multiple windows side by side and switch between them quickly. The vertical scroll is to switch between desktops.

[–] [email protected] 1 points 6 months ago (1 children)

Is the desktop feature implemented? Something like multiple lanes you can switch back and forth.

[–] [email protected] 2 points 6 months ago

I use PaperWM with vspace in gnome. No idea about this one

[–] [email protected] 1 points 6 months ago (1 children)

Well that could be annoying if you’re trying to scroll past an open application but you end up vertically scrolling within the application instead.

[–] [email protected] 0 points 6 months ago

The exact same thing would happen if you tried to scroll horizontally though? It's a 2d axis on a wheel, depending on where your focus is you're going to go the same direction.

[–] [email protected] 3 points 6 months ago

With how most monitors being wide-screen (or even ultra-wide), horizontal might make more sense

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)

Usually people like to maximize the height of windows, especially to have 2 windows side by side, so it just conceptually makes a lot of sense to have every window have the maximum height and just add windows horizontally so they are actually visible like in normal tiling window managers. Maximizing the width of windows doesn't really make that much sense honestly, because most horizontal space is wasted because theres so much horizontal space compared to vertical space.

[–] [email protected] 25 points 6 months ago (1 children)

Isn't it the opposite then? Since your windows will have vertical scrolls, it makes sense to tile them horizontally in order to maximize vertical space for each window, imo.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

The app window you scroll up and down in would be the same regardless.

My thinking is we’re already used to going up and down to view other things, so copy that movement to the whole de.

[–] [email protected] 5 points 6 months ago (1 children)

I think that vertical scrolling would make sense on vertical monitors.

[–] [email protected] 5 points 6 months ago (1 children)

So you scroll websites left to right on a horizontal monitor?

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (1 children)

That's something different. This compositor's concept is that you have line of windows that you scroll through, as you can see on the screenshots. You always see part of the line, and the part you see usually contains multiple windows. If the line is vertical as you suggests, you wouldn't usually be able to fit multiple windows on the monitor, because normal monitor is horizontal and apps are much better resizable horizontally. If you want to view two webpages at once on horizontal monitor, do you tile them vertically or horizontally?

[–] [email protected] -2 points 6 months ago* (last edited 6 months ago) (3 children)

Excuse the jank arse gif

https://i.imgur.com/j6OyRvl.gif

But this is what I mean. It can still show the same amount of screen space as scrolling horizontally so there's no difference between the two options there, but it feels more natural to go up/down compared to left/right to access different content/windows.

[–] [email protected] 5 points 6 months ago

I can see what you mean, and I get your argument, but personally I still feel that horizontal scrolling suits this kind of desktop navigation better.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

That's just an image gallery. Applications can feel much different. There's a reason left-right tiling/snapping is much more popular than up-downs. You'd have to scroll down considerably more to grasp the content.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

The only difference I can see is that you might have for example four windows 1, 2, 3, 4, all taking half of the screen. On a compositor like Niri, you can scroll so that you can see windows 1 and 2, or 2 and 3, or 3 and 4. On vertically scrolling one, you can see 1 and 2 or 3 and 4 if I understand it correctly. This is much more noticeable if you work with many smaller windows, just like on the screenshots from the article and repo's readme. I usually use only one or two windows per virtual desktop, so what you suggest would be more practical for me. But I use only notebook, and I can imagine using Niri on some hi-res ultrawide monitor.

[–] [email protected] 8 points 6 months ago (2 children)

Looks nice. Is anyone able to tell if I'm going to screw up my KDE install if I try it out? I've never tried WM / compositors on KDE that weren't targeting KDE before.

[–] [email protected] 1 points 6 months ago

I recommend rather spinning up a VM to try it out first.

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago) (1 children)

It should be fine I think. On Linux you can have multiple Desktop Environments installed (ex KDE Plasma & Gnome as well.)

I tried Hyprland a few months ago like this. I had Plasma installed then installed hyprland as well. During login with SDDM you can select which DE to launch.

Edit: On github it says you should install it alone to make sure. I dont know then, maybe it works? I am still new to Linux as well.

[–] [email protected] 2 points 6 months ago

I installed GNOME and KDE side-by-side once on Fedora, and that messed a whole bunch of things up like configuration files, icons etc. YMMV

[–] [email protected] 8 points 6 months ago* (last edited 6 months ago) (1 children)

I love it!

I am still using PaperWM but I'd def rebase to it as soon as someone created an ublue image for it

I don't want to miss scrollable wms

[–] [email protected] 5 points 6 months ago

I wanted to write the same.

I have literally zero clue about WMs, but I think I will try it if nobody else wants to.

I'm just super hyped in trying it now!

[–] [email protected] 20 points 6 months ago

Wow, awesome!
I HAVE to try this out!

[–] [email protected] 2 points 6 months ago (2 children)

This is the best summary I could come up with:


The newest Wayland compositor on the scene with its first stable release is Niri, a scrollable-tiling Wayland compositor inspired by the PaperWM GNOME Shell extesnsion.

The Niris v0.1 Wayland compositor positions all windows into an infinite horizontal strip that scrolls left and right.

Niri v0.1 supports multiple monitors, mixed GPU systems, HiDPI displays, dynamic workspaces, screencasting support via the GNOME XDG Desktop portal, live-reloading configuration system, a configurable layout, and other features that are off to a good start for this compositor.

Here are some screenshots of Niri v0.1 in action provided by this open-source project:

Niri v0.1 is available in source form as well as packages via community repositories for Fedora COPR, NixOS Flake, Arch Linux AUR package, and also a FreeBSD port.

Downloads and more details on the Niri v0.1 release via GitHub.


The original article contains 135 words, the summary contains 135 words. Saved 0%. I'm a bot and I'm open source!

[–] [email protected] 15 points 6 months ago (1 children)

Saved 0%

this bot really needs a threshold of what's an acceptable tldr

[–] [email protected] 6 points 6 months ago

Going through the GitHub page for the bot, it seems that this is intended behavior by the dev. In their own words:

I think it still serves its purpose of people not having to leave the community to see what the article is about.

I agree with this, personally, as I don't like having to follow links to read articles. It's nice having a comment with a TL;DR, or for very short articles having the whole article in the comments. Plus, it's not like one (relatively short) comment really adds bloat to the comments section, it's something that can be easily scrolled past.

[–] [email protected] 1 points 6 months ago

Wow, very useful indeed /s