Thursday, June 16, 2011

How to add the Force Quit Button in Ubuntu 11.04+

If you use Ubuntu 11.04+ Unity(app panel to the left), you cannot add application shortcuts to the top panel any more. In order to add a Force Quit Button in the apps panel:

Open the "Terminal" and Copy and Paste, hit enter:

gedit ~/.local/share/applications/quit.desktop

Copy and Paste in the Text Document and hit enter:

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=xkill
Name=Force Quit
Icon=/usr/share/icons/Humanity/actions/48/process-stop.svg--adjust

Save the Text Document, then open home folder (view > show hidden files), browse to

.local/share/applications

And drag the quit.desktop onto the launcher

If you are using Gnome (Classic), here is what it would look like:


5 comments:

  1. This seems to work, but when I click on the red X in the launcher, nothing happens. If I click on it again the launcher reboots.

    ReplyDelete
  2. I just did this yesterday, can you please tell me what you exactly did, step by step, maybe I forgot to add something.

    ReplyDelete
  3. Ah when you click the "red X" button, your cursor should change to an "X", then you can click the application you wish to kill.

    You clicked the "red X" and then click again, which was on the launcher, so you killed the launcher and it automatically restarted.

    Does this help?

    ReplyDelete
  4. awesome! works great!
    many thanks.

    ReplyDelete
  5. Works a treat - thanks - not as nice as having it on the top bar, but changes are inevitable I guess!

    ReplyDelete

Please make suggestions :)