Name

xkillall — Kills all X windows running a specific command.

Synopsis

xkillall -c TEXT | --command TEXT [ -d TEXT | --display TEXT ] [ -h [true]|false | --help [true]|false ] [ -H [true]|false | --help-long [true]|false ] [ -v [true]|false | --verbose [true]|false ] [ --version [true]|false ]

Options

The following command line options are available:

-c TEXT | --command TEXT

This option is used to specify the name of the command to be killed. It must match the basename of the command reported by xlsclient -al (the first field next to the Command: label).

[-d TEXT] | [--display TEXT]

By default, we kill the commands found on the current X display (as dictated by the DISPLAY environment variable). If you want to kill a command running on a different X display (or your DISPLAY environment variable isn't set), you can use this option. For example: xkillall -c wmmemload -d ":7.0" could be used to kill all wmmemload dockapps running on X display 7.

[-h [true]|false] | [--help [true]|false]

When this option is specified, xkillall will display a short one line description of xkillall, followed by a short description of each of the supported command line options. After displaying this information xkillall will terminate.

[-H [true]|false] | [--help-long [true]|false]

This option will attempt to pull up additional xkillall documentation within a text based web browser. You can force which browser we use setting the environment variable TEXTBROWSER, otherwise, we will search for some common ones.

[-v [true]|false] | [--verbose [true]|false]

When you set this option to true, xkillall will produce additional output. This is typically used for diagnostic purposes to help track down when things go wrong.

[--version [true]|false]

If this option is specified, the version number of the script is displayed.