Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

What are all the ways to kill a buggy GUI app?

I can't right-click on its icon in the whatever-its-called bar, or use the top-of-window menu. The app does not respond to anything, and does nothing but eat more and more memory as times goes on.

In Linux, there's xkill. Is there something similar on OSX?

share|improve this question
add comment

5 Answers 5

up vote 14 down vote accepted

You can access the Force Quit dialog box by pressing ++esc, or using the Apple Menu (top left corner of the screen) and choosing Force Quit.... Select the problem app, and click the Force Quit button.

enter image description here

You can also kill an app using the command line (/Applications/Utilities/Terminal):

killall 'Google Chrome'

You can also use the Activity Monitor app (/Applications/Utilities). Select an app and click the Quit button: enter image description here Then, from the dialog that slides down, click Force Quit.

share|improve this answer
1  
Very comprehensive :) –  stuffe Aug 16 '11 at 22:01
3  
Holding ⌥⇧⌘⎋ for a few seconds also quits the frontmost application. –  Lri Aug 17 '11 at 22:29
1  
@Lri Hey, I didn't now abou that one! Cool! –  Nathan Greenstein Aug 17 '11 at 22:37
    
@Lri Very cool! I will have to keep that one in mind. –  daviesgeek Aug 17 '11 at 22:47
add comment

The "kill" command also exists in OS X (check out "man kill"); you can also kill an app using a couple of GUI-based tools:

  1. press ++esc. That brings up a "force quit" menu
  2. launch the Activity Monitor application. You can also force-quit an app from there.
share|improve this answer
    
The salient feature of xkill is that it will kill the owner of a window in X. I do wish there were such an interface in OS X. –  kojiro Apr 10 at 18:27
add comment

All the ways? There's always another way :-)

Sometimes + will get focus away from the app so you can talk to the Dock or Finder.

++esc should bring up the Force Quit dialog box.

If you have/can get to a Terminal window, there's the kill command.

If you have another machine and have enabled remote login, you can ssh in to your machine and issue a kill even if the GUI won't respond at all (and if kill doesn't work there's always sudo reboot as a last resort).

share|improve this answer
add comment

You also have the option of -right-clicking the icon in the dock, which (after a few seconds, likely) will pop up and have a 'Force Quit' option, which you can use to kill an app.

share|improve this answer
add comment

++esc

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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