Sometimes we may face situations where a program running on Ubuntu gets unresponsive and you are left with no other choice but to terminate it manually. And the newbies who just migrated from Windows to Ubuntu might be left with no clue on how to terminate the program manually and now is the time when they miss the CTRL+ALT+DLT(Windows task manager) the most. Well don’t worry, Ubuntu has a tool for it, it comes with the Xkill package which is part of X11 utilities pre-installed in Ubuntu.
- Go to System Settings > Personal > Keyboard Shortcuts
- Click the Add button to create a custom shortcut
- Enter ‘Xkill’ to both the Name and Command boxes and click Apply button
- Click on ‘Disable’ at the xkill row in the Keyboard Shortcut window
- Enter the new key combination (e.g. CTRL+ALT+X) when ‘New Shortcut’ is displayed.
- Close the window.
You are now done. Just press the new key combination you just entered and your cursor will turn into an ‘x’ sign. Move it over to the program window which has turned unresponsive and click! You just have learned how to terminate a program manually on Ubuntu in a very configurable way!
But what if your computer totally hangs and you can’t move your cursor at all? Is manually restarting the system the only way? A more time saving way is ALT+PRINT SCREEN+K, it will immediately take you back to your log in screen. Of course you will lose your unsaved work.
If this article helps you, don’t forget to leave a comment below. To get regular updates, subscribe to this blog by email.