chalk46@fedia.iotoLinux@lemmy.ml•Why do OpenRC, runit, Sysvinit not Use Config File as Their Init Script Like Upstart/systemd?
3·
8 months agoin systemd runlevels are basically just targets (it still sets rc?.d symlinks in /etc akaik) which have services they want and are wanted by, it’s the basis for dependency handling plus you get cool security features like syscall filtering, capability limits, user switching, etc
I’ve been switching between the two a lot lately, primarily tweaking “sway” and “spectrwm” Xorg generally uses less RAM and has way more options as far as window managers go, but I like how Xwayland uses the actual names from the /sys/class/drm/card*-* for the screen names (multiscreen randr stuff), although in Xorg my lid-switching script is considerably simpler since it uses xset for DPMS. There’s a reason X11 has been around for so long I guess. I mean I just discovered a window-manager agnostic way of setting my media keys using xbindkeys (which is nice because spectrwm’s custom action bindings are bugged and need a reload after every fresh start), and even compton isn’t so bad once you learn to use it properly (it was ignoring the documented user config path ¯\_(ツ)_/¯). I mean don’t get me wrong, it’s cool as hell that you can literally run “sway” from the command-line, and set the bg and screen positions in a single config line, or that setting transparency in the “foot” terminal is also a single simple setting, but the complexity of Xorg isn’t always a bug…