Magic Sysrq

English

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

  • Also, you need to create a .conf file in /etc/sysctl.d with kernel.sysrq=1 to enable it now.

  • 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)

    • 19 hours

      i’m likely wrong, but i was under the impression that we’ve left out sysreq keys out of the kernel a while ago.

      • 19 hours

        sysrq is often a runtime config in many distributions (e.g. Debian). sysrq+reisub is really useful on occasion.

        @[email protected] 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.

          • 9 hours

            hey there. thanks for the heads up - sounds like a possible feature request perhaps.