Linux Hint published a tutorial about how to stop not responding applications in Ubuntu.
Killing frozen applications in Ubuntu
When an application stops responding, several methods can be used to kill it without rebooting your Linux system. In this article, we will show you how to use xkill, system monitor utilities, and the commands kill, pkill, and killall to kill unresponsive applications.
Killing frozen applications in Ubuntu – Linux Hint