127
submitted 6 months ago* (last edited 6 months ago) by morrowind@lemmy.ml to c/linux@lemmy.ml
top 15 comments
sorted by: hot top controversial new old
[-] hallettj@leminal.space 20 points 6 months ago* (last edited 6 months ago)

When niri runs applications it will now put them into transient systemd scopes. One concrete benefit is that when an application uses too much RAM and systemd-oomd kills it, niri won't go down alongside the app, so the rest of your session will stay intact.

Does Gnome do this? I've certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!

I think it's time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I'll start there.

Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.

[-] ryannathans@aussie.zone 4 points 6 months ago

Running out of system memory is such a 2000s and chromium thing

[-] gamma@programming.dev 6 points 6 months ago

8GB memory + two Firefox profiles makes things difficult on my laptop.

[-] YodaDaCoda@aussie.zone 3 points 6 months ago

16gb memory + 2 Firefox profiles + vscode makes things difficult on my laptop. Web stuff is so memory heavy

[-] GolfNovemberUniform@lemmy.ml 3 points 6 months ago

It is not, especially when you're compiling something

[-] ryannathans@aussie.zone 1 points 6 months ago

I work on a codebase larger than the linux kernel and firefox combined and still don't come remotely close to running out of memory on my laptop

[-] hallettj@leminal.space 6 points 6 months ago

That's great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell's type checker does a lot more than other mainstream languages' which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.

[-] ryannathans@aussie.zone 2 points 6 months ago

Sure, if you're in very specific workflows, but with how cheap memory is, zram, etc it's hardly a problem anymore for the everyday user

[-] pingveno@lemmy.ml 2 points 6 months ago

Yes, but some of us aren't the everyday user.

[-] GolfNovemberUniform@lemmy.ml 1 points 6 months ago* (last edited 6 months ago)

Idk about that. I was talking mostly about Android

[-] Pantherina@feddit.de 6 points 6 months ago

Very curious about this, it sounds like virtual desktops but way easier and with less planning.

They have an officially maintained COPR so creating an atomic variant is very easy, or just installing it on top of ublue sericea / sway atomic.

[-] GolfNovemberUniform@lemmy.ml 3 points 6 months ago

I can see some Android vibes in this one

[-] Qkall@lemmy.ml 5 points 6 months ago

I have a homie monitorring this closely for the pinephones. They just got mobile support for this so... Excited

[-] stdoutstderr@feddit.de 3 points 6 months ago

@morrowind@lemmy.ml the version should be v0.1.3 (notice the dot between minor and patch number)

[-] morrowind@lemmy.ml 1 points 6 months ago

Thanks, fixed

this post was submitted on 10 Mar 2024
127 points (100.0% liked)

Linux

47344 readers
1111 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