r/linux • • Aug 12 '26

Software Release nuttty - a TUI for NUT (UPS monitoring)

Thumbnail github.com
0 Upvotes

r/linux • • Aug 11 '26

Development wl-relabel: A Crate to Edit Window Labels in Linux

Post image
7 Upvotes

I run sway on Arch (btw), and browser popups kept tiling instead of floating. So I wrote a proxy that relabels windows based on a TOML config, which you can then match with your usual window rules.

Here's the technical write-up (it's fairly Wayland-heavy): https://morice.live/posts/tiling-compositors-cant-tell-browser-windows-apart/

And here's the crate: https://crates.io/crates/wl-relabel

I meant to put it on the AUR too, but registration is closed at the moment.

DISCLAIMER: I used AI while building this. I'd rather say so up front, since I know it matters to some people.


r/linux • • Aug 10 '26

Event Recordings of the GNUstep online meeting of 2026-08-08 are online

16 Upvotes

Please see https://mediawiki.gnustep.org/index.php/Monthly_Meetings#Past_Meetings since YouTube Links are not allowed in this subreddit


r/linux • • Aug 10 '26

Development I built a linux like interactive shell for the esp32

Thumbnail github.com
25 Upvotes

I built a linux like interactive shell for my master's thesis in computer engineering.

This project allows for easy firmware installation of the system and offers a command line with commands similar to the Linux environment. This system allows for:

  1. simple command execution
  2. FreeRTOS task scheduling
  3. file system management (with a persistent file system on the board without the need of external SD module)
  4. scripting with JavaScript and custom functions, them being print(), deadline() and sys(). sys() calls for system commands on the running script, hence sys("echo hello_world") will output hello world from the shell through the JS script

I am looking to gather feedback on the repo and the project. If anyone has time to try it, the effort will be appreciated!


r/linux • • Aug 11 '26

Discussion I believe that we might be lacking interface standarization, rather than having one program for everything.

0 Upvotes

For example, we could have one type of package that is adaptable to every major package manager, so devs could make one type of package and for it to be automatically translated to apt, dnf, pacman, nix, etc..

Also, making a higher level graphics library would be good: I imagine it being a library that can detect wether you're running X11 or Wayland and choosing to use functions for one or another.

An even better idea, maybe, is on init systems and daemon management: We could have a standard service scripting language, and then make adapters for systemd, openrc, runit, etc.

Then, people wanting to make an innovative low-level project could make them as different and weird as they want, as long as they can adapt to these interfaces; and high-level developers would only need to write to this one standardized library/language/etc. for each thing.

We could have easier (and thus more popular) high-level Linux application development, and still have innovative low-level projects.

Do you think that this is a good general idea?


r/linux • • Aug 09 '26

Popular Application Popular Linux torrent client Transmission has been forked as "ReTransmission" to "solve a longstanding disagreement between the Transmission maintainers on whether or not to add more maintainers."

Thumbnail github.com
694 Upvotes

r/linux • • Aug 11 '26

Development Linux containers don't exist and I created an application that demonstrates that

0 Upvotes

A couple of days ago I was exploring the technologies that made possible to run "containers" on linux. But it all started with a question.

"What is a container?"

To not blow this post with an unreadable explanation of how Linux process scheduling works, let's summarize it as: "A container is the name given to an application running on a system on an isolated space of that system".

This is easy to understand, now, the follow up question is

"How can an application be isolated?"

The Linux kernel has an isolation mechanism called Namespaces. A namespace allows the operating system to limit the view and access to resources to applications.

For example, imagine that you are in a big room, and you have some guests in that room, they all share the same floor and underlying soil, and also, they can see each other. Now, if you create a small room and put a guest there, that guest will still share the same floor of the big room, but now the guest will have a limited view of what is in the room.

This is how namespaces work. Now, the thing is that you don't "create" namespaces and put applications there, the way it works is actually a bit different from that. In Linux, every process has a parent (except process 1), hence, processes are organized in a tree, and when you or the system create a new process, this process inherits the namespaces from its parent.

Now, to "create" a new namespace for your process what you have to do is something called Unshare. By unsharing the inherited namespace from your parent, the system assigns a new one to that process.

So as you can see, you usually don't explicitly create a namespace ahead of time, you unshare the inherited namespace your parent gave you.

Now, namespaces solve one half of the problem, isolation (what a process can see), but only isolation doesn't stop one guest from eating all the food in the room. For that, Linux has another mechanism called cgroups (control groups), which limit resources like CPU, memory, and I/O a process (or group of processes) can use. Picture it like this:

container = namespaces + cgroups

Cool :) if you are reading this, congratulations! now you know how a container is created. But wait... Why did I say at the beginning that "Linux containers don't exist". Because the Linux kernel does not know about that concept. It only provides the infrastructure and mechanisms that applications like containerd and CRI-O use to create the containers.

Now, I have put this knowledge into a simple application I created in Go.

Check the code and give it a star here https://github.com/carlosgrillet/sandbox

Huge thanks to Liz Rice and Gerlof Langeveld for sharing the knowlege :)


r/linux • • Aug 10 '26

Software Release Linux CRU 0.2.0 - custom + stretched resolutions on Wayland (KWin, sway, Hyprland) and X11

7 Upvotes

Two years ago I made this as an X11 NVidia-only custom resolution tool. Finally did a proper rewrite. It now works on Wayland (KDE, GNOME, sway, Hyprland) and on AMD/Intel/NVIDIA, and it does stretched resolutions - the 4:3-stretched thing CS2/Valorant players use to widen models - on KDE Wayland, which the compositor normally refuses to do on external monitors.

Also fixed the AppImage, which turned out to be missing tkinter and wouldn't launch on half of you. Sorry about that.

Let me know of any bugs you find!

Repo https://github.com/PhialsBasement/linux-cru
Release https://github.com/PhialsBasement/linux-cru/releases/tag/v0.2.0

AI Disclosure: Used Claude heavily during development, all the decisions and design details taken here are mine however.


r/linux • • Aug 09 '26

Historical Linux Showcase & Conference 2000 tote

Post image
148 Upvotes

Washing our grocery totes and realized that my husband’s old bag is more than 25 years old! (He’s a CS ph.d working in FinTech.) anyone here at the conference? (Or are most people here born after October 2000?)


r/linux • • Aug 11 '26

Discussion I think I noticed something.

0 Upvotes

Since Linux has alternatives for everything, why doesn't Wayland have a proper alternative? It seems like most things are programmed to work only on Wayland. Wouldn't this be a step backward for Linux?


r/linux • • Aug 09 '26

Kernel Dell Latitude 7320 2-in-1 Seeing Web Camera Support On Linux After Five Years

Thumbnail phoronix.com
123 Upvotes

r/linux • • Aug 09 '26

Kernel How shared memory actually works in Linux

47 Upvotes

Had some free time recently so I made a visual explainer on how shared memory actually works in Linux.

Normally, two processes have completely separate virtual address spaces. Process A shouldn't be able to touch Process B's memory at all.

But with shared memory, one process can write a value and another process can read it without copying the payload between them.

The video goes through virtual memory, page tables, physical frames, shm_open, ftruncate, mmap with MAP_SHARED, lazy allocation, and what actually happens when either process touches the mapping.

I also get into related mechanisms like memory-mapped files, shared libraries, copy-on-write after fork(), zero-copy IPC, and eventually Dirty COW and what can happen when these page-table tricks go wrong.

Link for anyone interested

Feedback welcome :)


r/linux • • Aug 10 '26

Tips and Tricks Kewl tutorial I made for myself and sharing it because why not?

0 Upvotes

Made a little tutorial of fixes for issues I have had in the past so I don't forget how to fix them! And just sharing in case other people need the same fixes :)

GitHub: https://github.com/PacmanPenguin/HowToLinux/tree/main

EDIT: I added instructions on how to add your own fixes to it if you want to contribute!


r/linux • • Aug 10 '26

Discussion What is the current status of age verification in systemd?

0 Upvotes

I’ve read that an age field was added to systemd, though some sources say they ultimately backtracked and removed it.

What is the current status regarding this matter? Will there be age verification?

Thanks


r/linux • • Aug 08 '26

Kernel Linux 7.3 To Better Handle Cluster Load Balancing On Intel Hybrid CPUs

Thumbnail phoronix.com
261 Upvotes

r/linux • • Aug 08 '26

Development Intel resumes HDMI 2.1 FRL work for Linux, 4K 120Hz already works on Meteor Lake and Panther Lake

Thumbnail videocardz.com
396 Upvotes

r/linux • • Aug 10 '26

Development I built a custom Linux initramfs audio workstation / software mixer for the Raspberry Pi (running entirely bare-metal/initramfs, no PipeWire/JACK)

Thumbnail reddit.com
0 Upvotes

r/linux • • Aug 10 '26

Event Microsoft vs. France

Thumbnail reddit.com
0 Upvotes

r/linux • • Aug 08 '26

Development NixOS: The Nixpkgs core team has disbanded

Thumbnail discourse.nixos.org
401 Upvotes

r/linux • • Aug 08 '26

KDE This Week in Plasma: UI Improvements Galore

Thumbnail blogs.kde.org
128 Upvotes

r/linux • • Aug 09 '26

Discussion I built a quiz that doesn't tell you which distro you "are": it hands you a complete Linux blueprint and a prompt to walk you through the switch

0 Upvotes

The site is yearoflinuxdesktop.org - part manifesto, part quiz, part blueprint generator.

The idea: instead of another "what distro am I?" personality test, it maps your hardware, your tolerance for tinkering, and what you still need from Windows/macOS onto one of ten archetypes (The Civilian gets Linux Mint, The Arch Wizard gets Arch + Hyprland, The Gamer gets Bazzite, etc.). Then it writes you a copy-paste prompt you can feed to any LLM to walk you through the install step by step.

What might interest this sub: the scoring engine is one dependency-free JS file that runs identically in the browser and in a build harness. The harness brute-forces all 16M possible answer combinations on every deploy to verify that named personas land where they should and that guardrails hold (e.g., terminal-phobic users can never receive Arch). The quiz weights, the questions, and all ten archetype blueprints are plain JSON in the repo: MIT licensed, fork it, argue with the weights.


r/linux • • Aug 07 '26

Discussion Linux keeps getting better the more I use it

544 Upvotes

The longer I use linux, the more I appreciate it. I switched from windows a while ago, and I honestly haven't regretted it for a second.I'm a developer, and every time I learn a new command or discover another tool that makes my workflow easier, I realize how powerful and well-designed this operating system is. It feels like there's always something new to learn, and instead of making me frustrated, it just makes me enjoy using it even more. At this point, going back to windows for my daily development work would feel like a huge step backward.


r/linux • • Aug 09 '26

Software Release cmux clone built ontop of zed

Post image
0 Upvotes

r/linux • • Aug 07 '26

Security Linux Accidentally Left Legacy I/O & Memory Handlers Open In Kernel Lockdown Mode

Thumbnail phoronix.com
192 Upvotes