It's rare I need to reboot a locked up system but I'd like to have the option available if it should happen.
I use a wireless keyboard which isn't full size and unfortunately doesn't have a Sysrq or Printscreen key. Am I out of luck with using Magic Sysrq keys or is there a way to use an alternative key combination?
Thank you
9 Comments
hexagonwin@lemmy.today · 7 pts · 136d
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)
eldavi@lemmy.ml · 4 pts · 136d
i'm likely wrong, but i was under the impression that we've left out sysreq keys out of the kernel a while ago.
qprimed@lemmy.ml · 11 pts · 136d
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
earthling@piefed.social · 6 pts · 136d
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.
floquant@lemmy.dbzer0.com · 3 pts · 136d
Just FYI, mentions don't create notifications on edits as far as I'm aware
qprimed@lemmy.ml · 2 pts · 136d
hey there. thanks for the heads up - sounds like a possible feature request perhaps.
MonkderVierte@lemmy.zip · 6 pts · 135d
Also, you need to create a .conf file in /etc/sysctl.d with
kernel.sysrq=1to enable it now. Or add it as kernel parameter in your bootloader.elmicha@feddit.org · 3 pts · 136d
I didn't try it, but this looks like it should work.
earthling@piefed.social · 2 pts · 135d
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.