The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

SysRq R E I S U B is not working.

asked 2013-06-20 07:21:31 +0000

J-Son-Quarc gravatar image

updated 2013-06-22 14:56:41 +0000

I installed i3 a few months ago under ubuntu 12.10 with gnome shell. I used the ubuntu package, i3 "registered" automatically with ldm, so on the rare occasion of a restart, I log in by choosing i3 in ldm.

Everything really works fine except for one thing: SysRq R E I S U B won't work, when my machine gets unresponsive.

Thanks in advance for any answer.

[Edit 2013-06-21 07:40] Well. Maybe I got carried away when I wrote "Thanks in advance for any answer". One cannot simply(TM) type "sudo reboot" once the machine is unresponsive, let alone switch to a workspace with an open terminal. As is explained quite nicely in the quoted wikipdia article, holding SysRq and typing the aforementioned sequence of keys is kind of a last resort to regain control over your machine when the beast won't do anything anymore.

[Edit 2013-06-22 16:42] Maybe it's not i3's fault. Maybe the kernel got into a condition, from which nothing could be done anyway. I'll try to explain the details: I was listening to some music with XBMC on HDMI1, while at the same time changing some Firefox preferences on LVDS1. I put the preference dialog into floating mode and started changing. Once I tried to save the new settings, the floating window became unresponsive and a very small portion of the track I was listening to started to loop. So a was sitting there with a pseudo-techno loop and an unresponsive screen. I tried SysRq R E I S U B -- but I had to hard-reset my machine. That's about it.

edit retag flag offensive close merge delete

Comments

Call me ignorant and too lazy to search but as this FAQ wants to have questions ans answers showing up at search engines, care to explain why you would like to type R E I S U B ?

joepd gravatar imagejoepd ( 2013-06-20 22:24:43 +0000 )edit

http://en.wikipedia.org/wiki/Magic_SysRq_key

bruno.braga gravatar imagebruno.braga ( 2013-06-20 22:33:40 +0000 )edit

@bruno: Thanks for the link! @J-Son-Quarc: does the key work with another window manager?

joepd gravatar imagejoepd ( 2013-06-22 09:34:32 +0000 )edit

@joepd: AFAIK it works for Linux in general. And I can use it under i3 when the machine is responsive -- but that's not when you want to use it. Maybe it's not i3's fault at all.

J-Son-Quarc gravatar imageJ-Son-Quarc ( 2013-06-22 14:37:20 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-06-20 22:33:15 +0000

Why doesn't work? What happens?

Have you tried:

sudo reboot

I never worried about SysRq because:

  • I run on a Apple hardware (they don't have this key);
  • Laptop nowadays you never need to shutdown, just suspend by lid action;
  • and lastly, I rarely have a window without a terminal on it, so typing reboot is not much of a pain to me, when I need it.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-20 07:21:31 +0000

Seen: 307 times

Last updated: Jun 22 '13