Also, you need to create a .conf file in /etc/sysctl.d with kernel.sysrq=1 to enable it now. Or add it as kernel parameter in your bootloader.
AFAIK there's no way to change it other than modifying the hardcoded keycodes and recompiling the kernel. (please correct me if I'm wrong)
i'm likely wrong, but i was under the impression that we've left out sysreq keys out of the kernel a while ago.
sysrq is often a runtime config in many distributions (e.g. Debian). sysrq+reisub is really useful on occasion.
@earthling@piefed.social some keyboards without a dedicated sysrq/printscr key will emulate with a different key combo (many thinkpads use Fn+k)
edit: ping
I think I'm out of luck then, I did some research before making this post and my keyboard (Logitech k400+) doesn't have an alternative key combo.
I guess I'll have to keep doing safe reboots by logging into a terminal, a little less convenient than Sysrq + reisub but not a big deal.
Thanks everyone.
Just FYI, mentions don't create notifications on edits as far as I'm aware
hey there. thanks for the heads up - sounds like a possible feature request perhaps.
I didn't try it, but this looks like it should work.
Thanks but it looks to be more trouble than it's worth I'm not very tech savvy, I hoped there would be an easy fix but I'll go without the Magic Sysrq commands.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0