DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

xkill(XC)


xkill -- kill a client by its X resource

Syntax

xkill [-display displayname] [-id resource] [-button number] [-frame] [-all]

Description

xkill is a utility for forcing the X server to close connections to clients. This program is very dangerous, but is 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.

Options


-display displayname
This option specifies the name of the X server to contact.

-id resource
This option specifies the X identifier for the resource whose creator is to be aborted. If no resource is specified, xkill will display a special cursor with which you should select a window to be killed.

-button number
This option specifies the number of pointer button that should be used in selecting a window to kill. If the word ``any'' is 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
This option indicates that all clients with top-level windows on the screen should be killed. xkill will 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
This option indicates that xkill should 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.

X defaults


Button
Specifies a specific pointer button number or the word ``any'' to use when selecting windows.

See also

X(X), xwininfo(XC)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003