Magic Sysrq
2026-04-27 15:40 UTC
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 another way to safely reboot the system if it freezes?
Thank you
Replies (3)
-
@hexagonwin@lemmy.today 2026-04-27 16:25
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)
-
@elmicha@feddit.org 2026-04-27 20:47
I didn’t try it, but this looks like it should work.
-
@MonkderVierte@lemmy.zip 2026-04-28 10:15
Also, you need to create a .conf file in /etc/sysctl.d with kernel.sysrq=1 to enable it now.