You are not logged in.
by "x-session-manager" i mean what debian means, which is a program that can work like "xfce4-session" and "lxsession", which is getting exec'd by either the xsession script or display manager, becoming the "session leader process" (the process whose PID keeps the x11 session alive) and has the task of starting every session component, window manager, compositor, panel, etc... AND while we're at it also serve as a way to provide "user services" and eventually have a way to convert XDG_AUTOSTART entries into manageable monitoreable services just like the "user services", for an idea of what "user services" are look at systemd user units, runit user services and since last year openrc user services.
worth clarifiying that altho i mention x11 shed is NOT tied nor enthralled to x11, i need to make some DIR structure changes and introduce some features but once done shed will be able to work as a extremely generic "session manager" meaning the open possibility to use shed for wayland, tty, framebuffer and ssh "sessions".
so it took ages but for @chris2be8 i finally took the time to re-organize my devuan scripts repo and added the screenshots for apt-ui
https://github.com/eylles/devuan-script … cripts/apt
if ya can't see github the devuan scripts has the following mirrors:
https://codeberg.org/eylles/devuan-scripts
https://gitlab.com/eylles/devuan-scripts
https://git.devuan.org/eylles/devuan-scripts
shed is not an "init" program in the manner that sysvinit or runit are, shed is closer to an x-session-manager, as for "bloated linux frameworks" shed does not interact with, understand less alone know about frameworks, all interaction that shed ever has with something like elogind is check if the XDG_RUNTIME_DIR env var was set, if it wasn't then shed sets it to something reasonable, shed is written in purely shell script so it doesn't matter if you don't know something like C, you can go ahead to the code repo and read the code, i suggest ya do read the code, it has some nice shell script tricks, i guarantee your shell scripting will improve from just reading it.
so shed is now able to do logging and have explicit definitions of logfiles to redirect all output from the services onto such files, so far it is working as intended on my setup and i doubt any bug can arise from that in the time being.
i have all my repos in github, been mirroring to gitlab, codeberg and more recently the devuan gitea instance, i'm not getting any repo off github cuz it does help visibility but i do have to update all my readme files with links to the mirrors.
github is a popular forge, which is good for discovery and visibility of a project.
yes, everything is worse than deno security wise, but deno is le rust, rust bad, also rust anything is conflicting with the debian way of packaging thanks to the rust package manager, cargo...
the challenge to package deno for debian is open, but after that comes the challenge of convincing users that something written in rust is not bad.
nope, deno is not needed, all that is needed is a javascript interpreter more complete than the python mini interpreter, due to runtime permissions the yt-dlp project reccomends deno, but nodejs (packaged by debian and available in devuan) just works.
the javascript interpreter is needed only for downloading from youtube, all other video sites work without it.
just install node with sudo apt install nodejs and after updating yt-dlp copy the following to $HOME/.config/yt-dlp/config
## Enable NodeJS or QuickJS usage for YouTube, both options can be uncommented.
## Please see notes as to why you might want to consider carefully when enabling
## https://github.com/yt-dlp/yt-dlp/wiki/EJS#step-1-install-a-supported-javascript-runtime
# prefer the nodejs runtime
--js-runtimes node
# --js-runtimes bun
# --js-runtimes quickjs
## Enable remote components in Deno and Bun, useful to fetch required Ejs scripts
## https://github.com/yt-dlp/yt-dlp/wiki/EJS#step-2-install-ejs-challenge-solver-scripts
# prefer to fetch the challenge solver script from the github repo directly
--remote-components ejs:github
# --remote-components ejs:npmthat is all, you can continue downloading everything from youtube or streaming the videos with mpv (it downloads to a tmp dir)
i still remember this thread about keepassxc https://dev1galaxy.org/viewtopic.php?id=7379
ah, i was kinda expecting ya to build a gui wrapper for pass(1), since that was one of the suggestion for building a complete replacement to stuff like keepassxc in the thread where keepassxc was discussed, there were more suggestion in that thread tho.
using pass as the "backend" or rolled out your own?
everything i cobble together is interesting and unheard of, it just gets no traction.
heh i got into linux back in ubuntu 10.04 but never got used to how synaptic works, dunno didn't mesh with my thought process so a while ago i found a script named "debianUI" which implemented a TUI wrapper over apt with fzf, seems like the author deleted the repo so i began working and created my own version in posix shell, still using fzf and made it configurable, it fuzzy searches packages by name and short description, provide a scrollable preview with the long description of the package under the "cursor".
the script is available at https://github.com/eylles/devuan-script … /apt-ui.sh and https://git.devuan.org/eylles/devuan-sc … /apt-ui.sh
i reckon just a description of a TUI program is not enough to have a couple screenshots, expect colors to be different in your terminal emulator


i develop shed, which is simpler as it is written in posix shell, it does some simple and rudimentary implementation of XDG_RUNTIME_DIR management, service files are just simple key=val files, it has multiple shortcomings as of right now as in spite of some users being interested and even using shed i'm the sole developer.
shed is intended to eventually provide the expected functionality of what debian defines as "x-session-manager" however at the time it does not and needs to be started before the window manager in the xsession, at the moment the design considers only x11 but eventually it aims to be agnostic to the session type so it can be used for tty sessions, x11 sessions, wayland sessions and even ssh sessions, it implements exactly 0 dbus anything.
if anyone is curious here's the repo https://git.devuan.org/eylles/shed it has gathered very low traction specially here on the devuan forums
ah offtopic discussions, the pepsi to the coca cola of on topic discussions, seems like the forum loves pepsi
anyway, back on track would be a good thing to have the easydeb repo and the DUR proposed repo in more forges than just gitea cuz the gitea links posted in this thread are innacessible to me, also cuz mirrors are a good thing and there's no such thing as too many mirrors
since the user made content was mentioned, and the stated goal of the proposed devuan user repo is to be an "educational staging area" it may be a nice idea to encourage stuff from the user made content and the DIY forum to be packaged in the DUR proposal, i mean there are more than a pair of scripts from greenjeans that many would add to their setups if there was a package or at least a package recipe.
i have no idea how to avoid that tbh, what i did is reduce the speed/amount the cache buffers fill by implementing dynamic polling, sort of, the current master commit of afreq.sh increases the time of the sleep calls from a fixed 500ms up to 5000ms (5 seconds) if the governor and boost stay stable (say at idle) for at least 5 ticks (5 runs of the tick function), it also reduces the sleep time down by 100ms if there is not a stable state and will keep doing so until every sleep is just 100ms with time going up once there are 5 stable states.
in my testing the buffers usage went down by 1GB, but i got other daemons that are also written in posix shell and operate in the same type of wait sleep cycle...
did my own digging, it is because of the buffers and caches getting filled by the instances of busybox usleep, i didn't notice earlier because i also use zram (through https://github.com/eylles/zram-service) with zstd so i don't really think of ram usage as all data that goes onto zram is effectively compressed to about 1/4 the size (in average 1/3rd the ram consumption)
did ya figure it out?
"remedial classes" now that is fun, no education ministry in the americas nor western europe has had competency as a goal for the students in at least 2 decades and i can back that claim by first hand experience, the technological illiteracy of modern times is not result of the youth collectivelly flunking a computers class but moreso the result of the never getting one or at least a decent one in the first place.
It needs more hands on deck to take care of the essentials that are required. Currently, there is little or no redundancy to maintain those essential tasks and the new ones that keep popping up. Better use of your talents would be to join the team
when there is no one young whom know how to build a bridge the standing bridges begin to fall with no one in sight to repair them less alone build new ones for generations, but all easy learning is bad, learning must be hard enough to chase away everyone otherwise there's no worth in the learning itself am i right?
all ideas are good, seeing them in action is another thing
i've tried to get into packaging some of the software i cobble for debian but gave up and have not looked back since, so i only release programs once in a while but package absolutely nothing.
that is extremely odd
you can get the PID of the running afreq instance by running cat /var/run/afreq/status
with vmrss https://github.com/ThePrimeagen/vmrss it says that afreq is using 1.88281 MB of memory
with btop tree view on the sleep part of the cycle it shows that afreq is using 1.8 MB while the busybox usleep is consuming also 1.8 MB (yes it does prefer busybox usleep when available as that is more reliable than just hoping sleep supports decimals as the system could be using a sleep implementation other than gnu sleep), the busybox usleep program runs every 500 milliseconds so at about 2MB per millisecond it uses 4 MB each second (even tho those are 2 different invocations), so if a program is measuring the memory usage every X seconds then it may get that afreq is using 6 MB times X seconds, say 5 seconds that ought to sum up to 30 MB, tho i dunno if some system monitoring program measures that way, unless this is some shenanigans with the caches...

during tick the programs vmstat, tail, awk and others are invocated, they complete so fast that btop could only register vmstat, tail and awk, in the tick step afreq would have a memory footprint of 12MB (i'm ceiling the sum)

looking at htop these are the numbers of resource usage for afreq and as far as i know those are in kilobytes

so i am at a loss of how afreq could balloon all the way to 1960 megabytes on your machine
yes powermgmt-base is a dependency tho the afreq.sh repo bundles a copy of on_ac_power for tho whol don't want to install powermgmt-base or for distros that don't ship said package, as for the memory usage that is odd, it really shouldn't use anywhere even close to that amount of memory consumption as it is a shell script after all, how did you got that number for memory consumption? if you check with btop what does it say? i'm not at home rn so cannot check the memory usage on my personal machine.
yeh auto-cpufreq has one of the designs of all time... that and it requiring python for doing something so simple as it is to just write to a handful of locations inside the kernel sysfs among other reasons got me to write an alternative, it is tried and tested in devuan under sysvinit and elogind, have not tried on even more minimal setups like ones lacking elogind so cannot comment there, also i know it isn't what you want but just putting it out here since i was also unable to get the auto-cpufreq daemon properly running on devuan