Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21549 ideas, 132424 comments, 2606791 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #18217: Ctrl-alt-delete equivalent for software hangs

Written by jarko_ the 22 Feb 09 at 12:46. Related project: Gnome. Status: New
Rationale
As far as I know, there is no equivalent for Ctrl-Alt-Delete in Ubuntu. I know there are Ctrl-Alt-F1, F2, etc. virtual consoles, Ctrl-alt-backspace (DontZap will be disabled in 9.04) and Sys Rq REISUB method. None of these aren't really conventional ways to kill hanged programs.

EDIT: I don't personally have any problems with killing programs in command line. But other people may have. The Gnome way to Force programs quit doesn't help for example when you are using some fullscreen apps.

I posted this idea after World of Goo got jammed on quit...there was no average user method to kill the program.

612
votes
closed
Solution #1: Give key combination that forces 'recovery screen' on screen
Written by jarko_ the 22 Feb 09 at 12:46.
Like in some other systems, associate key combination to bring up 'recovery screen' or similary named one.

This window doesn't have to be normal GTK-window, but something from the upper level, like GDM (or xorg if going for extreme) created 'recovery screen/task manager'. This should ensure that no window or full screen application could hide or block the 'recovery screen'.

This recovery screen could have options to kill programs, log out, shutdown and lock computer etc.
-134
votes
closed
Solution #3: Add "close annoying application" to System Monitor
Written by Magnes the 23 Feb 09 at 07:46.
If there is an application that uses all the resources allow closing it (if it uses all the memory) or make it nicer (if it uses all the CPU) by one click in System Monitor.
53
votes
closed
Solution #4: Solution #1 + Separate X Session & NCurses
Written by jamessnell the 26 Feb 09 at 20:37.
== Graphical ==
If a separate X session configured entirely to show a System Monitor could be very well insulated from buggy applications.

In those cases where a game causes you to change video modes and then screws up, you'll still have a graceful way to touch the System Monitor.

== Command-Line ==
An ncurses interface (like that of "aptitude") for the command line would also be awesome for those cases when the entire Xorg system ignores you. This would help when the keyboard is being ignored as it'd be fast to pull up over ssh.


Yes this is could basically be a wrapper interface to ps.
-52
votes
closed
Solution #5: Just make a ncurses application (with mouse support)
Written by zooounds the 3 Mar 09 at 11:15.
It rest in a tty until needed and can be used to kill application even if X is totaly broken.
-46
votes
closed
Solution #7: Add "Open System Monitor" option to Logout dialog
Written by cousteau the 5 Mar 09 at 17:27.
Ctrl+Alt+Del opens the Logout dialog (at least on Hardy). So it would be nice to add an "Open System Monitor" option to it.
85
votes
closed
Solution #8: Add xKill and gnome-system-monitor to the available functions for shortcuts
Written by jackmcslay the 7 Mar 09 at 14:57.
This is a continuation of #2. We should get xkill and gnome-system-monitor among the available action options on
System>Preferences>Keyboard shortcuts

so, even if Ctrl+Alt+Del remains as "logout" shortcut, the option of binding it to Ctrl+Alt+Del remains available
89
votes
closed
Solution #9: Bring back ctrl-alt-esc to fire up xkill (or gnome equivalent)
Written by Tom Mann the 12 Mar 09 at 20:47.
In KDE and XFCE, if you hit CTRL-ALT-ESC, your cursor turns into an X (or a skull and crossbones) and clicking any app (it doesn't have to be stuck) kills it.

I still don't get why it disappeared from Ubuntu's Gnome Desktop (I'm not sure if this happens on any other distros Gnome desktop)
20
votes
closed
Solution #10: Renice too-busy processes + bring up system monitor
Written by quartz the 20 Mar 09 at 17:12.
The system monitor window needs to be responsive, not just there.

Just bringing up system monitor (or a new manager if necessary) is not enough is the CPU is totally taken, if it comes up, any process(es) that might be hogging resources should be reniced to a slightly lower priority and the system monitor process should be started fairly high.

(A good question is what to do if the problem is with X itself, since renicing it might slow down the system monitor too)
20
votes
closed
Solution #11: Capture CAD in kernel and GUI task manager draw direct to screen (framebuffer)
Written by Craig73 the 21 Mar 09 at 14:28.
Capture CTRL+ALT+DEL (or perhaps the second CTRL+ALT+DEL for just "frozen systems") at the kernel level, which opens a graphical task manager (logoff / process manager / whatever) which draws directly to the screen (bypassing X which may be frozen)

To implement this - it would write to the framebuffer, and would likely require KMS and DRI2. [Ideally it would capture the current screen in the framebuffer, and draw the dialog on top, for a integrated feeling].

Then have it fall back to VGA text only if it can't grab a graphical framebuffer (things are really hurting)

My intent is to handle cases such as X being frozen, or in a full screen game, etc.
7
votes
closed
Solution #12: Add a "magic keys" combinaison
Written by qwerty800 the 11 Jun 09 at 21:17.
It would be really nice to have a shortcut like Alt+SysRq+X, that automatically kill the focused application. Using a such shortcut would avoid the inconvenience of passing trough the task manager, nor restart the whole X server and to work with the full screen programs! Having a 16:10 monitor often causes me to get stuck with unsupported resolutions. When that happens, I have to restart my whole X server and THAT'S annoying!

Plus, "X" is easy to remember, because:
*It's not currently used.
*It can refer to Xkill
*It can refer to Xorg
*It can refer to the Window decoration (X=Close)!
11
votes
closed
Solution #13: Set xkill command for Ctrl+Alt+Esc by default
Written by Shnatsel the 25 Jul 09 at 10:09.
Xfce did so, and if something hangs, it's easy to kill it. GNOME has a panel applet for such purposes, but if a fullscreen game hangs, it's useless.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
migueleonm wrote on the 22 Feb 09 at 17:49
Yeap... like others important ideas (basic features)... all ignored.

+1 but everybody knows, it will be ignored.

jarko_ wrote on the 22 Feb 09 at 17:53
The problem when starting (only) gnome system monitor is that it basically is just a normal program. When using something from the upper level, it is almost guaranteed to work.

aliam13_2 wrote on the 22 Feb 09 at 22:12
Yes it would be nice to have a nice GUI on a 3 button press to kill dead applications. Currently I think "killall app_name_here" in a terminal is the best solution. I don't know of any better method (for me atleast), if you do then tell me please.

In the rational of this idea it states that
Ctrl-Alt-F1, F2, etc. virtual consoles are disabled in 8.10. This is not the case for me. I don't think the virtual consoles are intended to be disabled in 8.10 - I suspect this is a bug with the idea contributors system. Can any one elaborate on this please?

andreibranescu wrote on the 23 Feb 09 at 05:15
This thing would be very useful for windows users that switch to ubuntu. It should be implemented.

nandhp wrote on the 23 Feb 09 at 21:43
If you try to close the program that is hung, it will ask if you want to kill it. Is there any reason that doesn't work for you? (This doesn't work for terminal apps, but if you're using a terminal app, then you probably know about Ctrl+C or killall)

viraptor wrote on the 24 Feb 09 at 01:11
System -> Administration -> System monitor? It could be bound to c-a-del...

If it's X that hangs, you won't be able to get any fancy application to display anyway (so terminal is the only real way out).

cheesehead (Brainstorm admin) wrote on the 24 Feb 09 at 01:45
Isn't soluton #3 already implemented? I can already right-click on a process in System Monitor and renice it, stop it, or kill it.

migueleonm wrote on the 24 Feb 09 at 05:18
Terminal is the only way out??? wow... atom cannot be divided too and the moon is unreachable...

Yes an stone age linux is the solution.

imanumber wrote on the 24 Feb 09 at 13:55
CTRL+ALT+ Escape works in GNOME and KDE, right?

viraptor wrote on the 24 Feb 09 at 14:26
@migueleonm:
Stone age? That's a strange way to put it.

"Terminal is the only way out?" was taken out of context. When some program hangs on a call to X, and X is unresponsive, then yes - terminal is the only way out. If you get rid of that option, you're left with the reset button only.

So why not a text-based system-monitor (`top` with ability to kill and renice) working on one of the standard consoles?

jtsop wrote on the 24 Feb 09 at 22:20
[sarcasm] What a nice feature!!!!![/sarcasm].
Now I have jaunty alpha and I cannot restart X WTF???? Default should be ON!!!!

theaceoffire wrote on the 25 Feb 09 at 19:47
I have had several experiences where my WHOLE SCREEN would lock up, while playing with dangerous programs that had my processor go nuts.

Had to guess at the key combinations, and every click or movement would take 3-6 minutes to activate due to how hard my processor would be working.


I eventually had to map the kill command to windows key + Q, so that I could STOP things that were killing my processor.

animaniac wrote on the 25 Feb 09 at 21:38
I find the current way that Ubuntu has of handling crashes good enough, If you want something more violent theres always xkill which works excellently, otherwise if all else fails ctrl-alt-backspace doese the job fine. although i have not needed to use the latter in any stable release.

phiphi wrote on the 26 Feb 09 at 14:41
The Problem with "showing the system monitor" is also that it uses really a lot of CPU, so if one Application already uses all of the CPU, starting system monitor makes it even worse.

There should be a Emergency Break in a operating system. If DontZap is enabled (Ctrl+Alt+Backspace does not work anymore) there has to be a better Alternative. Ctrl+Alt+R or whatever should you ought to use, is not intuitive! (you see I already forgot it!)

A new user will be completely lost. How should you know?

In that Emergency-/ Recovery-/ TaskManager-Screen the "kill window-Button" should also be shown. (The one that you can find in the panel-apps)

I'm always looking forward to improvements!

phiphi wrote on the 26 Feb 09 at 14:47
The Emergency screen should also show up when you hit [Esc] 3 or 4 times in a row, because that's what (unexperienced) users normally do instinctively.

Is that possible in Ubuntu?
I know that in Windows, when you hit [Shift] 5 times a Dialog "Snapping-Function" appears.

zooounds wrote on the 4 Mar 09 at 15:30
phiphi: I I HATE these dialogs :)

cousteau wrote on the 5 Mar 09 at 16:52
On the Aspire One's Linpus, Ctrl+Alt+Del opens the gnome-system-monitor (as suggested on Solution #2).

adelie wrote on the 7 Mar 09 at 19:20
To all the haters out there, RTFM! There are TONS of ways to kill hung applications. I do not know why ctrl-alt-backspace was disabled, because that has been a classic, great feature.

In short, what makes you think that anyone would pay attention to any new way of doing this when they are unwilling to take 5 minutes to learn how to do it the old way.

There is a very good reason why this suggestion is being ignored, and hopefully it will stay that way.

If there is a keystroke that is missing, add it yourself!

gconf-editor / -> apps -> metacity -> metacity -> global_keybindings / keybinding_commands

there, you can make whatever key combination you like launch system monitor, run xkill, or whatever tool / script you like to fix the problem.

If programs are crashing all the time, that is not normal behavior. it means something needs to be fixed. Track down the problem and file a bug report. Why not let people spend time fixing problems rather than coming up with all kinds of crazy ways to work around them. Further, spend some time in the ubuntu forums looking or asking for help rather than leaping to a solution.

Why not start with a thread in ubuntu forums with something humble like "I like playing a number of full screen games that are still pretty buggy and lock up every once in awhile. In addition to just restarting the X server with ctrl-alt-backspace, anyone have any suggestions on how to recover from this situation?"

That would be much more appropriate, and I am sure would help resolve your issue.

To the first few posters: Just because a lot of people whine about something doesn't mean they get their way. This is a community, not a bureaucracy. If you want a system where everything is designed by popular demand, that is exactly what Vista is.

ikajaste wrote on the 7 Mar 09 at 21:05
"If there is a keystroke that is missing, add it yourself!"

Uh, right, tell this to the new user, coming to Ubuntu from Windows. Usability (unfortunately) doesn't happen in a small closed box, it's also about consistency between systems. I'm of course not saying everything needs to be done like it's done in other OS, especially not in cases where there's a good reason to do it differently.

But for cases like this where consistency really isn't in the way since there isn't even a competing stardard withing linux community (as far as I know) there's no point in ignoring consistency between systems. So why not make the CRTL-ALT-DEL default for "I want to handle a problem with the system", like it is in Windows?

If that keystroke would really bother you, remove it yourself!

Craig73 wrote on the 21 Mar 09 at 14:25
@adelie ... I agree - that RTFM is not the appropriate response. Users (rightfully) except certain conventions. We don't have to copy Windows and MacOSX but something like CTRL+ALT+DEL is second nature to many and should do something consistent across all platforms.

In a broader sense... I'm annoyed with RTFM because the "better" system should be more naturally discoverable. You will need to read the manual eventually, but that shouldn't be the first defense to pour User Interaction Design.

(Also - CTRL+ALT+ESC often bring up task manager in Windows, so it would seem dangerous to tie KILL directly to it, even if convenient)

I would suggest that CTRL+ALT+DEL is captured at the kernel level, which initiates a graphical process manager / logoff / etc. screen. To implement this - it would write to the framebuffer, and would likely require KMS and DRI2. [Ideally it would capture the current screen in the framebuffer, and draw the dialog on top, for a integrated feeling]

Tom Mann wrote on the 16 Apr 09 at 13:32
@Craig73

It's CTRL+SHIFT+ESC for task manager, I believe...


Post your comment