Where is force quit on Ubuntu 11.10?

Solution 1:

The command, as WarriorIng64 already said, is xkill.

To show some instructions for the end user, maybe use

notify-send "Click on an application to force-close it, or right-click to cancel."

Now to combine two commands into one launcher, you'll have to wrap them in sh -c '...', so your .desktop file should say

Exec=sh -c 'notify-send "Click on an application to force-close it, or right-click to cancel."; xkill'

Solution 2:

Instead of writing your own you can try this:

Flashfreeze

Go here and check it out; http://www.omgubuntu.co.uk/2011/10/freezeunfreeze-unity-app-killer/

or http://www.omgubuntu.co.uk/2011/10/force-quit-applet-unity-launcher/