There are times when an application goes haywire and become unresponsive and it doesn’t close even when you click the Close button. To kill an unresponive app in Ubuntu, there are a few ways that you can go about doing it:
Using the System Monitor
1. Open the System Monitor app. In the Processes tab, scroll down the list until you find the unresponsive app.
2. Right click on it and select “Kill Process”.
Once confirmed, this will kill the unresponsive application.
Using a keyboard shortcut
You can assign a custom keyboard shortcut to kill an application when it becomes unresponsive.
1. Go to “Settings -> Keyboard” and click on the “Shortcuts” tab.
2. Select the “Custom Shortcuts” on the left pane, and click the “+” button.
3. Enter “
xkill” for both the name and command. Click “Apply”.
4. Click the “Disabled” field to assign a keyboard shortcut (say “Ctrl + alt + k”) to this command.
Now, whenever an become unresponsive, you can just press the shortcut key “ctrl + alt + k” and your cursor will become a “X”. Click the “X” on the unresponsive app and it will kill the application.