xkill(X) X Version 11 (11 July 1990) xkill(X)
NAME
xkill - kills a client by its X resource
SYNOPSIS
xkill [-options. . .]
DESCRIPTION
The xkill utility forces the X server to close connections
to its clients. This program is very dangerous, but it is
useful for aborting programs that have displayed undesired
windows on your screen.
If you don't specify a resource identifier as given with the
-id option, xkill displays a special cursor as a prompt you
can use to select the window to kill. If you press a mouse
button over any window but the root window, the server
closes its connection to the client that created that
window.
WARNINGS: The decorations (that is, title bars and borders)
surrounding most windows belong to the window manager. If
you you use the xkill prompt on any of these areas it will
kill the window manager, not the client. To make sure you
kill the client, use xkill near the center of the window.
Icons are also owned by the window manager. If you use
xkill on any icon, it kills the window manager.
OPTIONS
-display displayname
This option specifies the name of the X server to
contact.
-id resource
Specifies the X identifier for the resource whose
creator you want to kill. Use xwininfo to get the X
identifier number for the window you want to kill.
Note: if the number is hexadecimal, you must precede it
with 0x, or it may be interpreted with unpredictable
results.
-button number
Specifies the number of the mouse button you can use to
select a window to kill. If you specify "any," you can
use any mouse button. By default, xkill uses the
first button in the mouse map (which is usually the
left-most button).
-all Kills all clients with top-level windows on the screen.
xkill asks you to select the root window with each of
the currently defined buttons to give you several
chances to abort. Use this option with caution.
Page 1 (printed 7/3/90)
xkill(X) X Version 11 (11 July 1990) xkill(X)
XDEFAULTS
Button
Specifies a specific pointer button number or the word
"any" to use for selecting windows.
SEE ALSO
X(X)
xwininfo(X)
COPYRIGHT
Copyright 1988, Massachusetts Institute of Technology.
See X(X) for a full statement of rights and permissions.
AUTHOR
Jim Fulton, MIT X Consortium; Dana Chee, Bellcore.
Page 2 (printed 7/3/90)