I have just migrated from Ubuntu 10.04 to 12.04. As most of the UI elements have been changed I don't know to add Force quit icon, which is needed for most of the not responding applications. So, how to add force quit icon in ubuntu 12.04?


In the terminal, run these commands:

  1. cat > ~/.local/share/applications/Force_Quit.desktop <<EOF
    [Desktop Entry]
    Name=Force Quit
    Comment=Force Kill an Unresponsive Running Application or Window
  2. nautilus ~/.local/share/applications/
  3. Now in the window that popped up, drag Force_Quit.desktop to the Unity launcher.

xkill will now be invoked every time you click on the new launcher icon.

                                  [Force Quit on the Launcher]

Source: How To Add A Force Quit Icon To The Unity Launcher - Ubuntu 11.10/12.04

  • Why these much steps needed in Ubuntu 12.04. I did with a single click in 10.04. Is there any easy way for that? - @Deltik – arulappan Aug 1 '12 at 17:21
  • I created a new file in the name of ForceQuit.desktop. But I couldn't open the file to copy the provided content. It says, "There was an error launching the application." – arulappan Aug 1 '12 at 17:28
  • I opened the file via gedit and pasted the content. Finally, I got the Force Quit functionality. – arulappan Aug 1 '12 at 17:32
  • 1
    I edited the answer to make it easier to follow. – Deltik Aug 1 '12 at 17:33
  • Your previous solution can be followed by even those who don't have the internet connection to access pastebin.com/raw.php?i=MHRX6KEV - @Deltik – arulappan Aug 1 '12 at 17:36

A far easier way is to simply head over to your keyboard shortcuts, add a custom one to let's say F11, name it something like "Kill non-responsive windows" and with the command used xkill.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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