HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xkill — Kill a window interactively in a graphical session. See also: `kill`, `killall`. More information: <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandgraphicalinteractivelyxkillclikillsessionwindow

Problem

How to use the xkill command: Kill a window interactively in a graphical session. See also: kill, killall. More information: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.

Solution

xkill — Kill a window interactively in a graphical session. See also: kill, killall. More information: <https://www.x.org/releases/current/doc/man/man1/xkill.1.xhtml>.

Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel):
xkill


Display a cursor to select a window to kill by pressing any mouse button:
xkill -button any


Kill a window with a specific ID (use xwininfo to get info about windows):
xkill -id {{id}}

Code Snippets

Display a cursor to kill a window when pressing the left mouse button (press any other mouse button to cancel)

xkill

Display a cursor to select a window to kill by pressing any mouse button

xkill -button any

Kill a window with a specific ID (use `xwininfo` to get info about windows)

xkill -id {{id}}

Context

tldr-pages: common/xkill

Revisions (0)

No revisions yet.