xbanish(1)

xbanish1

Hide the x11 mouse cursor when a key is pressed

Usage

xbanish [-a] [-d] [-i modifier] [{-m [w] nw | ne | sw | se}] [-t seconds] [-s]

Overview

xbanish hides the X11 mouse cursor when a key is pressed. The cursor is shown again when it is moved or a mouse button is pressed. This is similar to the xterm(1) setting pointerMode but the effect is global in the X11 session.

Options

-a

Always keep mouse cursor hidden while xbanish is running.

-d

Print debugging messages to stdout.

-i modifier

Ignore pressed key if modifier is used. Modifiers are: shift, lock (CapsLock), control, mod1 (Alt or Meta), mod2 (NumLock), mod3 (Hyper), mod4 (Super, Windows, or Command), mod5 (ISO Level 3 Shift), and all

-m [w]nw|ne|sw|se

When hiding the mouse cursor, move it to this corner of the screen or current window, then move it back when showing the cursor.

-t seconds

Hide the mouse cursor after seconds have passed without mouse movement.

-s

Ignore scrolling events.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

-s since Debian 12 (Bookworm); -t since Debian 12 (Bookworm).

Authors

xbanish was written by joshua stein ⟨[email protected]⟩.

From xbanish 1.8-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.