Does Linux have a CTRL+ALT+DEL equivalent?
|
migrated from stackoverflow.com Sep 28 '10 at 13:57
|
X can be killed using Ctrl+Aal+BackSpace, and if you hit Ctrl+Alt+F1 (or F2 through 6), you'll be dropped to a virtual console where you can type commands to kill the bad app. To switch back to the GUI, hit Ctrl+Alt+F7. |
|||||||
|
|
Under GNU/Linux [at least those based on the SystemV init style], the behavior of ctrl+alt+del relies on the configuration file
(example from an ArchLinux distribution) which means that the system will be shutdown when it receives the key combination. But you may want to do something else, like*:
(which is much more useful :) |
|||||
|
|
Yes, however the action it takes depends on desktop manager configurations. In KDE it shows a dialog for which you can choose if restart or halt the system. |
|||
|
|
|
In the Linux console, by default in most distributions, Ctrl+Alt+Del behaves as in the MS-DOS - it restarts the system. In the GUI, Ctrl+Alt+Backspace will kill the current X server and start a new one, thus behaving like the SAK sequence in Windows (Ctrl+Alt+Del). |
||||
|
|
|
In gnome, there's a feature called "Keyboard Shortcuts" that lets you customize keyboard shortcuts. The process manager for Gnome is called gnome-system-monitor, so if you go to: - System; - Preferences; - Keyboard Shortcuts and add gnome-system-monitor as CTRL+ALT+DEL it should work for you :) |
||||
|
|
|
REISUB would be the closest equivalent. Magic SysRq keys are the only way of emulating traditional Windows / DOS hard-resets in Linux / UNIX. For a Program Manager-like interface, use top and hit 'k' for 'k'ill. Ctrl+Alt+Backspace is disabled by default in X Servers > 1.6 (although some distros re-enable it in the config files that they ship). Although it doesn't do what Windows Ctrl+Alt+Del does in general killing X and fixing misbehaving programs is preferred over restarting the machine. |
||||
|
|
Yes, they are the same keys as on Ubuntu but they may vary according to your distribution. |
||||
|