u/OkEscape8332

Why does UWSM use *-graphical.slice instead of the "default" {app,background,session}.slice ?

uwsm launches the compositor in session-graphical.slice, uwsm-app in app-graphical.slice and background services get into background-graphical.slice.

Why the -graphical nesting?

Why aren't the "default" toplevel cgroup slices sufficient?

(BTW many of the pre-bundled units for notification daemons and all don't do this... hence they aren't in this peculiar nested configuration)

For those who don't know:

UWSM - Universal Wayland Session Manager

It neatly wraps all the wayland processes into systemd units, hence all programs are cleanly started and exited.. in the right order, with better system integration.

It's more common among hyprland and niri users than others... And DEs like KDE and GNOME use systemd-user units themselves.

reddit.com
u/OkEscape8332 — 18 hours ago

REAL "modern" alternatives to common tools?

"modern" in the sense with needed or simply QoL improvements that the "original" doesn't have.

Like "eza" over "ls", "fd" over "find", "ripgrep" over coreutils "grep", "nix" over whatever is out there etc.. (Not a nix user so I might be wrong)

And "sd" or "ruplacer" over "sed"

Hence uutils and "rewrites" don't count, as it has no planned differences to GNU coreutils (and "rewritten in rust" isn't much for silly core CLI tools which don't do much to have problems; language doesn't count that much)

systemd itself is a big improvement over sysV and friends (though dinit too exists)

ion and nushell are two shells with rather improved handling (while breaking compatibility)... (no, "bash rewrite in rust" doesn't count, rust isn't the selling point here)

And although this is subjective, one might consider zellij over tmux. And yazi over midnight commander... and micro over nano.

(again, a repeated reminder that "sudo-rs" doesn't count because it doesn't have direct user-facing improvements)

("rewritten in rust" isn't a feature or QoL improvement BTW... especially when the mainstream equivalents are widespread without too many problems)

What else?

I am really surprised that no one has still written something along the lines of "cp" being a command-line switch to an "mv" equivalent or whatever.

reddit.com
u/OkEscape8332 — 1 day ago