Force-Close a Frozen Window with xkill
Run xkill and click any misbehaving window to terminate that application immediately.
Run `xkill`, then click the frozen window to force it to close.
01Command
Command
$ xkill02What it does
xkill turns the cursor into a skull/cross and closes the selected window's X connection, which ends the app without asking it to clean up — the graphical equivalent of kill -9 for one window. Press Escape or right-click to cancel without killing anything. On Wayland sessions xkill cannot target native Wayland windows; use GNOME's 'Force Quit' dialog or `killall <process>` instead.
03Risk
!Warning: Force-killing loses unsaved work in that window — try the app's own close button or `kill -TERM` on the process first.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- xkill(1) - Linux manual pageEvidence: xkill forces the X server to close the connection of the application whose window you click, forcing it to exit.
Last verified: 2026-09-18 · Category: System & Settings