
Thanks to the multitude of beta programs released each day for Linux, one can often find certain programs becoming unresponsive mid-use. The application window stops responding, it completely refuses to close and continues to eat valuable memory and cpu cycles.
You accept the fact that any unsaved data in that application is gone and the only way to exit that hung application is to kill it.
But how?
Most people in such situation tend to close their current Gnome/KDE session by either logging out or using Ctrl + Alt + Backspace. Some tend to use the terminal, finding the PID of the unresponsive application using the ps command and then killing it with the kill -9 pid command.
But smart people tend to use this method:
- When a program gets hung, hit Alt + F2 to bring up the Run dialog.
- Type in
xkilland hit enter. - Your mouse cursor will change into a cross or skull and bones.
- If the unresponsive application is not in focus, use Alt-Tab to switch to it. Left click anywhere on the application window to kill it.
Know any better method than this? Share it in the comments.








Yeah, just ssh in from one of the 3 or 4 other computers on your desk and kill the app that way.
@leoeris, got the sarcasm in your comment.
But let me remind you that this works over ssh too if you forward X traffic over ssh.
And I hope that anyone reading the post will understand that this method is intended at Graphical applications and not for killing command line applications.
Err, this exactly mimics what the Force Quit panel applet does. Except the panel applet, you just click the applet, it turns into a cross and you click the app; you don't have to press Alt+F2 and type in "xkill." If people bothered doing that, they would already know to run "killall appname>
I am a recent fan of Linux and this app would be a great help for me. Thanks
Great article. Thanks.
Thanks!
great..thanks for sharing
Your post is really informative for me. I liked it very much.
Greetings, I enjoy your blog. This is a nice site and I wanted to post a note to let you know, good job! Thanks
xiaoxiao123 08 25
Juicy Couture
Omega Watches
Post a Comment