My PC has a dedicated key to kill all processes.
Comment on I don't believe Auto Save feature in any software
explodicle@local106.com 9 months ago
Ok here’s a question I should have asked like way sooner.
In Ubuntu (and similar distros), is there a hotkey to immediately kill the process? Like CTRL-C but harsher.
Vanshaj@lemmy.world 9 months ago
I use a process manager like btop for this.
GentriFriedRice@lemmy.world 9 months ago
CTRL-C – SIGINT CTRL-\ – SIGQUIT CTRL-Z +
kill -9 %1
– SIGTSTP + SIGKILL
SorryQuick@lemmy.ca 9 months ago
If you’re using X11, you can use xkill: https://en.m.wikipedia.org/wiki/Xkill
You can bind it to a key in gnome/kde (not sure how they handle custom keybinds. Otherwise add a call to xbindkeys to your .bashrc or equivalent). It kills any window you want, responsive or not.
As for the terminal, I don’t think you can send SIGKILL, but ctrl + \ will result in a core dump if you’re using bash.