Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
earlyoom
- Earlyoom – Early OOM Daemon for Linux
- Fedora Workstation 39
-
earlyoom VS thrash-protect - a user suggested alternative
2 projects | 12 Oct 2023
-
Linuxatemyram.com
> The system is not supposed to 'lock up' when you run out of physical RAM. If it does, something is wrong. It might become slower as pages are flushed to disk but it shouldn't be terrible unless you are really constrained and thrashing. If the Kernel still can't allocate memory, you should expect the OOMKiller to start removing processes. It should not just 'lock up'. Something is wrong.
I don't why but locking up is my usual experience for Desktop Linux for many years and distros, and I remember seeing at least one article explaining why. The only real solution is calling the OOMKiller early either with a daemon or SysRq.
> It should not take minutes. Should happen really quickly once thresholds are reached and allocations are attempted. What is probably happening is that the system has not run out of memory just yet but it is very close and is busy thrashing the swap. If this is happening frequently you may need to adjust your settings (vm.overcommit, vm.admin_reserve_kbytes, etc). Or even deploy something like EarlyOOM (https://github.com/rfjakob/earlyoom). Or you might just need more RAM, honestly.
Yeah. Exactly. But as the thread says, why aren't those things set up automatically?
- OOM still a disaster zone
-
Fedora spins
It's not that simple: some defaults may differ, and some features may arrive at different times (if ever). For example, earlyoom has been enabled on Workstation since F32, but the KDE Plasma spin got it one release later.
-
So what exactly do I do if Linux crashes?
Most answers will answer your question, but you can do better and avoid the freezes in the first place. IME almost every time the system froze up and didn't come back in a few seconds it was out of memory. The obvious solution is to add memory, but you can use Early OOM to kill hungry processes if you're running out of memory instead.
- Why is there no reliable way to receive signal when OOM killer decides to kill you
-
What do you do when Linux becomes unresponsive (in a frozen state,mouse clicks or keyboard doesn't work)
It sounds like you're running out of memory though, so if your OS's OOM killer isn't working as well as it should, you can try earlyoom as an alternative.
-
Linux Desktop Environments System Usage (Gnome, KDE, XFCE, LXQT, Cinnamon, Mate)
Swap is indeed supposed to prevent this AFAIK. You can though try some tools like EarlyOOM and see if it helps : https://github.com/rfjakob/earlyoom
linux
-
Linux Mint Working on Wayland Support
It's actually incredibly useful to have apps like window managers or apps that rely on manipulating user input like xcape read another apps data. In fact such are still possible just 10x as complicated as they now involve writing awful little programs in some combination of c and yaml instead of a dead simple single line shell invocation of a program.
See https://gitlab.com/interception/linux/tools
The fact that this can work at all seems to suggest that its just as possible for malicious code running as user to compromise your security and the only thing actually broken is useful apps.
-
Issue with interception-tools
After updating my system after a while, i found Interception-tools to not working . It fails on a dependency on libyaml-cpp.so.0.7
-
<ESC> substitution
You can try to use https://gitlab.com/interception/linux/tools/-/tree/master
- Mapping Caps-Lock to Esc is life changing
-
What's a very simple config change that you can't live without?
Having both is a game-changer. Depends on your OS. On Mac, I use Karabiner. Linux I used use caps2esc and on Windows I use a custom AutoHotKey.
-
Emacs-written novel on the German bestseller list
Before that I had used interception tools for key rebindings, which relied on the udevmon service to intercept keypress events, and thus even works in a TTY terminal, not requiring a window manager. I use vim keybindings in Emacs and for that I found it useful to rebind ESC to CTRL if tapped, but it still acts as CTRL when held (now I have implemented that in my keyboard firmware).
-
newbie doubt here
In addition to using ctrl+a as prefix... some of us remap capslock to ctrl so then the two buttons are right next to each other and easy to press with one motion. (This then makes it possible to have that key be ctrl when pressed in combo with another key or esc when pressed on its own.)
-
Mapping Alt+hjkl to arrow keys (sway, wayland)
i use both X and Wayland and i also have a lot of key switching going on. So to have a universal config that works under both protocols i have to go lower than the display server protocols. I looked around for such a thing and finally found the interception tool
-
How to swap Caps Lock and Ctrl?
Do you know about https://gitlab.com/interception/linux/plugins/caps2esc? It makes it ctrl when held in combo with another key or esc when pressed on its own w/o other key (I loved it before ergodox) and there are some related plugins there for other keyboard customizations as well.
-
TUTORIAL: Making Caps do both Control and Esc like Caps2Esc, but with only hyprland+ydotool
Caps2Esc is a very useful input remapping utility: it turns the Caps key into either Esc or Control depending on how it's used: - if the Caps key is released before another key is pressed, it emits Esc - If the Caps key is used in chording mode, like by pressing Caps and C, it emits Control, to send Control-C
What are some alternatives?
oomd - A userspace out-of-memory killer
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
nohang - A sophisticated low memory handler for Linux
keyd - A key remapping daemon for linux.
systemd - The systemd System and Service Manager
kinto - Mac-style shortcut keys for Linux & Windows.
darling - Darwin/macOS emulation layer for Linux
xcape - Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
XMousePasteBlock - Userspace tool to disable middle mouse button paste in Xorg
Mailspring-Libre - (archived) Mailspring Libre build – aiming at removing Mailspring's dependecy on a central server
le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions
QuickLook - Bring macOS “Quick Look” feature to Windows