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>.
Install
- All systems
-
curl cmd.cat/xkill.sh
- Debian
-
apt-get install x11-utils - Ubuntu
-
apt-get install x11-utils - Arch Linux
-
pacman -S xorg-xkill - Kali Linux
-
apt-get install x11-utils - CentOS
-
yum install xorg-x11-server-utils - Fedora
-
dnf install xorg-x11-server-utils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install x11-utils - Raspbian
-
apt-get install x11-utils
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
© tl;dr; authors and contributors