30
Magic Sysrq (piefed.social)
submitted 3 days ago* (last edited 2 days ago) by earthling@piefed.social to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] hexagonwin@lemmy.today 7 points 2 days ago

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 3 points 2 days ago

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 10 points 2 days ago* (last edited 2 days 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

[-] earthling@piefed.social 6 points 2 days ago

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 points 2 days ago

Just FYI, mentions don't create notifications on edits as far as I'm aware

[-] qprimed@lemmy.ml 1 points 2 days ago

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

this post was submitted on 27 Apr 2026
30 points (100.0% liked)

Linux

64945 readers
215 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS