SEARCH

How-To Geek

Force Quit an Unresponsive Graphical Application in Ubuntu

There are lots of command-line utilities to kill unresponsive programs in Linux, but for the button-pushing-inclined, the Force Quit panel button lets you kill any app that you can click on without needing to remember anything.

sshot-8

We’re not exaggerating about the amount of ways you can kill applications in Linux – we’ve covered three previously. However, this method has a few advantages: first, it’s incredibly easy – you just have to click a button and click on the frozen application. Second, in our testing, it’s been slightly more reliable in shutting down unresponsive GUI applications than other solutions like xkill. On the flip side, it won’t work at all for non-graphical programs.

Since this is a panel button, it will go on one of the panels on your Ubuntu environment. By default, you have two panels: one at the top, with shortcuts to applications, the clock, and other buttons; and one at the bottom, where open programs will be listed.

We’re going to add the Force Quit button to the bottom panel. Right click where you want to add it, and choose Add to Panel.

sshot-1

Scroll through the list and find Force Quit. Select it, and press the Add button.

sshot-2

Close the Add to Panel window and you’ll see the Force Quit button where you chose to add it.

sshot-3

Now, when you have an unresponsive application…

sshot-5

Click on the Force Quit panel button. You will see an explanatory message, and the cursor will change to a crosshair.

sshot-7

Click on the offending program, and you’ll be given a prompt to force it to quit.

sshot-8

Cross your fingers that you won’t lose much data! But at least you now have control over your Ubuntu machine again.

Trevor is our resident Linux geek, but always keeps his eyes open for neat Windows tricks too.

  • Published 07/22/10

Comments (9)

  1. m.c.cookie

    Thanks. Great tip and clear as a bell.

  2. Tanino Rulez

    You can use xkill from terminal too :)

  3. GreyGeek

    How is this better than Alt+Ctl+Esc ?

  4. IGnatius T Foobar

    I solved this problem years ago by simply putting a launcher for xkill in my taskbar. But it’s nice that there’s a built-in way now.

  5. onhowto

    Nice to know, thanks for the article. Now, is there something like that to be used at KDE, LXDE and XFCE?

    Also, what happen if I use the xkill command? Does it kills all my opened GUI, or may I be able to add the name of just the unresponsive one?

  6. Hariks

    I have set Super+Delete in compiz to invoke xkill among many others. Read on at ubuntu forums.

  7. João Henriques

    Why complicate when you have xkill in the terminal?

  8. ethnopunk

    xkill is annoying, it keeps leaving its “click on a window to force the application to quit….” dialogue on screen. How can I remove this without restarting x?

  9. latif

    ye ye, Bye-bye Ctrl+Alt+Del -> End Process Tree

    Thanks Bro

Enter Your Email Here to Get Access for Free:

Go check your email!