How to Force Quit and Kill Unresponsive Applications in Ubuntu

While Ubuntu is renowned for its stability, heavy memory workloads, browser tab crashes, or buggy third-party applications can occasionally cause a program to freeze completely. When an application locks up, its window turns grey, the close button fails to respond, and the operating system displays a prompt asking whether to “Wait” or “Force Quit”. If the standard prompt fails to terminate the frozen software, Ubuntu provides multiple graphical tools and command-line utilities to terminate runaway processes cleanly without rebooting your computer.

Method 1: Force Quit via the Ubuntu System Monitor (GUI)

The System Monitor is Ubuntu’s visual task manager, similar to Task Manager on Windows or Activity Monitor on macOS:

  1. Press the Super key (Windows key), type System Monitor, and launch the utility.
  2. Click on the Processes tab at the top of the window.
  3. Scroll through the list or use the search magnifying glass in the top-right corner to find the frozen application name (e.g., chrome, firefox, or gimp).
  4. Right-click on the unresponsive process.
  5. Select End (sends a graceful SIGTERM signal allowing the app to save open buffers).
  6. If the application remains frozen, right-click again and select Kill (sends SIGKILL to immediately terminate execution).

Method 2: Use the xkill Crosshair Shortcut (Fastest Graphical Method)

The xkill tool transforms your mouse cursor into an instant “kill cursor”:

  1. Press Alt + F2 to open the Ubuntu quick command prompt.
  2. Type xkill and press Enter.
  3. Your mouse pointer will transform into a black skull or an “X” crosshair icon.
  4. Click anywhere on the frozen application window. The window will vanish instantly.
  5. To cancel xkill without killing a window, simply right-click anywhere on an empty desktop space.

Method 3: Terminate Unresponsive Programs via Terminal

If your desktop interface is partially lagging, the command line offers instant precision:

  1. Open the Terminal by pressing Ctrl + Alt + T.
  2. To find the process ID (PID) of an application, run:
    pgrep -l app-name
  3. To terminate all instances of an application by its name:
    killall firefox
  4. If the program stubbornly ignores standard kill signals, force immediate termination:
    killall -9 app-name

Mastering these kill techniques ensures you can recover from runaway software crashes in seconds without losing open work in other applications.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.