11

I have a Lenovo T410, and I would like to use the SysRq key, but whenever I press the Alt+SysRq+letter combination, I keep getting the print screen dialog in linux.

Is there a way around this? I have tried pressing Ctrl+Alt+SysRq+letter as well as Fn+Ctrl+Alt+SysRq+letter but to no avail for any of these. Any information to get around this would be great.

11

It's not the same for all laptops unfortunately, but the general idea is to consult the manual to figure out the SysRq and then use Alt in addition to that, for example this is Lenovo X1:

Lenovo X1 Carbon user manual mentions SysRq is Fn + S, I managed to trigger SysRq combination using the following sequence:

  • Press and hold Fn + Alt + S
  • Release both Fn and S
  • Press and release the desired key (e.g. h to show the SysRq help)
  • Release Alt
3

I was struggling a bit with the answers given here, so maybe the following additional details might help others like me who have no prior experience with the sysrq key and would like to give it a try:

According to the manual, on my W510 the sysrq key is Fn + PrintScreen. (Googling Thinkpad <your Thinkpad model> manual should get you the manual. Then, search for sysrq in the manual itself.)

Finally, the magic sysrq key combinations can be reached through:

  1. Hold down Alt.
  2. Hold down Fn and PrintScreen for a moment and then release the two keys again. (They basically act as one key.) Meanwhile, keep holding down Alt.
  3. Hit the remaining key of the magic sysrq key combination you would like to use (e.g. h for help or b for reboot).
  4. Release Alt.

Side note 1: For ergonomic reasons I had swapped the Fn and Ctrl keys in my Thinkpad's BIOS (as is possible with practically any Thinkpad), so in my case I actually have to hit the left Ctrl key whenever I want to use the Fn key. In case of the sysrq key this is no different!

Side note 2: Whenever the table on Wikipedia says a key combination will "display" certain information, what is meant is that the information is going to be written to the system log, which can be accessed through e.g. $ dmesg or $ less /var/log/syslog. At the same time, if you're logged in on any TTY (Ctrl + Alt + F[1-6]), then the same information will also be displayed there. Similarly, the kernel will respond with a message in the logs if a certain sysrq operation you're trying to use is disabled.

Side note 3: On Ubuntu there's a file /etc/sysctl.d/10-magic-sysrq.conf controlling which magic sysrq key chords are available/enabled and which aren't.

1

On most laptops (I haven't verified on the T410):

  • Press and hold both Fn and Alt.
  • Press and hold SysRq.
  • Release Fn, and optionally Alt (but keep SysRq down).
  • Press the letter or other key.
  • Release everything and massage your sore fingers.

This holds for desktops as well: you can release Alt after you're holding SysRq, that way you only need to hold two keys at a time.

1
  • In my HP i do: Alt Fn SysRq (release Fn) (release SysRq) (release Alt)
    – LatinSuD
    Sep 10 '13 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.