Bug 40175 - Control-Alt-Backspace should be enabled by default
Summary: Control-Alt-Backspace should be enabled by default
Status: RESOLVED NOTOURBUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 11:13 UTC by propalo
Modified: 2011-08-17 13:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description propalo 2011-08-17 11:13:02 UTC
The Control-Alt-Backspace key combination to restart the X server was changed to the more unlikely combination Right-Alt+K+SysRq.  For some users, this key combination does not work.  I suggest that we change the default combination back to Control-Alt-Backspace as it is more user-friendly.

The following are some examples of the key combination Right-Alt+K+SysRq not doing what it is supposed to:

=====
Cheryl corrupted her filesystem because alt-printscrn/sysrrq-k conflicted with her download manager and deleted all her downloads.

http://www.ubuntugeek.com/restart-ubuntu-gnome-session-without-rebooting.html

=====
SaintDanBert could not use the key combination to restart his server, because it does not work with his keyboard layout.  Instead it launches a "storm of gnome-screenprnt commands."

bluemushroom also could use the key combination because of his keyboard layout.

http://ubuntuforums.org/showthread.php?t=1183156

====
For JohnE1, the key combination kills the X server but doesn't not restart it.  He also reports that it is similar to the key combination Ctrl + Alt + SysRq + B, which reboots the machine.

http://ubuntuforums.org/showthread.php?t=1183156&page=2

Some administrators have trouble getting back the old key combination of Control-Alt-Backspace.  Here is an example:

====
milomak reports that Control-Alt-Backspace does not work after setting "DontZap" to "false"

http://forums.debian.net/viewtopic.php?t=38046

Other users have expressed frustration over the change.

Conclusion:
The key combination to restart the X server should be intuitive, easy to remember, and work across a range of computers.  If the X server locks up then the user will be unable to google for the new key combination on his particular machine.  Experienced users will not know about the change until their X server locks up and Control-Alt-Backspace suddenly doesn't work.  For this reason, I suggest that we change the key combination back to Control-Alt-Backspace to be as user-friendly as possible.
Comment 1 Alan Coopersmith 2011-08-17 11:24:19 UTC
> The Control-Alt-Backspace key combination to restart the X server was changed
> to the more unlikely combination Right-Alt+K+SysRq.

Not by us - if someone did that, it's your distro.

The upstream change simply didn't map it by default, with an easy option
to restore it if desired:
http://www.x.org/releases/X11R7.6/doc/xorg-docs/input/XKB-Config.html#zap
http://who-t.blogspot.com/2009/04/zapping-server.html
Comment 2 James Cloos 2011-08-17 13:40:23 UTC
> The Control-Alt-Backspace key combination to restart the X server was
> changed to the more unlikely combination Right-Alt+K+SysRq.

Alt-SysRq+k is not an X server command, but instead a Linux kernel
MAGIC_SYSRQ keystroke for Secure Access Key (SAK), which ‘kills all
programs on the current virtual console’.

Cf the Documentation/sysrq.txt file in the linux src.

That SAK happens to kill the X server is a coincidence.

Your actual complaint is that C-A-BS was disabled by default.

(MAGIC_SYSRQ has been around almost since the beginning.)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.