XKILL(1)
๐
XKILL(1) โ xkill, X Version 11 โ kill a client by its X resource ๐
๐ธ NAME ๐ธ
xkill โ kill a client by its X resource โจ
๐ SYNOPSIS ๐
xkill [-display displayname] [-id resource] [-button number] [-frame]
[-all] [-help|-version]
๐ DESCRIPTION ๐
okay so bestie, xkill is a utility for forcing the X server to close connections to clients. This program is very dangerous, but it's useful for aborting programs that have displayed undesired windows on a user's screen. ๐ญ
If no resource identifier is given with -id, xkill will display a special cursor as a prompt for the user to select a window to be killed. If a pointer button is pressed over a non-root window, the server will close its connection to the client that created the window. That's the whole tea. ๐
โจ OPTIONS โจ
-displaydisplayname โ specifies the name of the X server to contact. ๐ฆ-idresource โ specifies the X identifier for the resource whose creator is to be aborted. If no resource is specified,xkillwill display a special cursor with which you should select a window to be killed. ๐ฏ-buttonnumber โ specifies the number of pointer button that should be used in selecting a window to kill. If the wordanyis specified, any button on the pointer may be used. By default, the first button in the pointer map (which is usually the leftmost button) is used. ๐ฑ๏ธ-allโ indicates that all clients with top-level windows on the screen should be killed.xkillwill ask you to select the root window with each of the currently defined buttons to give you several chances to abort. Use of this option is highly discouraged. ๐-frameโ indicates thatxkillshould ignore the standard conventions for finding top-level client windows (which are typically nested inside a window manager window), and simply believe that you want to kill direct children of the root. ๐ช-helpโ makesxkillprint a usage message and exit without killing anything. ๐ซถ-versionโ makesxkillprint its version and exit without killing anything. โญ
โ ๏ธ CAVEATS โ ๏ธ
This command does not provide any warranty that the application whose connection to the X server is closed will abort nicely, or even abort at all. All this command does is to close the connection to the X server. Many existing applications do indeed abort when their connection to the X server is closed, but some can choose to continue. ๐ญ
no cap, this is not a "process guaranteed dead" button โ it's a "close the X connection and hope" button. Choose your chaos wisely. ๐
๐ XDEFAULTS ๐
Buttonโ Specifies a specific pointer button number or the wordanyto use when selecting windows. ๐ธ
๐ฆ SEE ALSO ๐ฆ
xwininfo(1)XKillClient(3)XGetPointerMapping(3)X(7)KillClientin the X Protocol Specification
๐ AUTHOR ๐
- Jim Fulton, MIT X Consortium
- Dana Chee, Bellcore
๐ซถ Cute sign-off: this is xkill 1.0.7, dated 2025-04-05, from the XKILL(1) manual page. Byeee bestie, go close that connection with main character energy ๐โจ
๐ฆ where this page comes from
- alpine 3.24: xkill-doc 1.0.7-r0 ยท MIT
- arch rolling: xorg-xkill 1.0.7-1 ยท MIT-open-group
- nixos 26.05: xkill 1.0.7
- nixpkgs unstable: xkill 1.0.7
- Copyright 1988, 1998 The Open Group
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms