XBANISH(1)

πŸ“¦
version 1.8 Β· 2 versions
  • 1.8 Β· alpine 3.24, debian bookworm, debian trixie, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.7 Β· ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 XBANISH β€” the xbanish(1) glow-up 🌸

okay bestie, gather round πŸ’– this is the xbanish manual page from the General Commands Manual (section 1, iykyk) and it is genuinely one of the most underrated little tools ever. it's giving "my cursor was being annoying so I fixed it globally." no cap.


✨ NAME ✨

xbanish β€” hide the X11 mouse cursor when a key is pressed πŸ–±οΈβž‘οΈπŸ’¨


✨ SYNOPSIS ✨

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

that's the whole vibe. flags in, cursor out. πŸ’…


✨ DESCRIPTION ✨

so like, here's the tea 🍡 β€” xbanish hides the X11 mouse cursor the moment you press a key. keyboard girlies stay winning.

the cursor comes back tho, don't worry 🫢 β€” it reappears when you move the mouse or press a mouse button. so it's not gone gone, it's just... waiting for you to need it. main character energy honestly.

this is similar to the pointerMode setting in xterm(1), but the plot twist is that the effect is global in the X11 session 🌈 β€” so it's not just one terminal being cute, it's everywhere. obsessed.


✨ OPTIONS ✨

  • -a β€” always keep the mouse cursor hidden while xbanish is running. like, forever. no takebacks. πŸ’€
  • -d β€” print debugging messages to stdout. for when you wanna see what's actually going on in there πŸ”
  • -i modifier β€” ignore a pressed key if modifier is being used. the modifiers you can pick from are:
    • shift
    • lock (that's CapsLock btw)
    • 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 the current window, then move it back when showing the cursor again. the w prefix is part of the corner spec, so you've got nw, ne, sw, se 🧭
  • -t seconds β€” hide the mouse cursor after seconds have passed without any mouse movement. yes, a timeout. yes, it's iconic. ⏱️
  • -s β€” ignore scrolling events πŸ–²οΈ (so your scroll wheel doesn't ruin the whole bit)

✨ SEE ALSO ✨


✨ AUTHORS ✨

xbanish was written by joshua stein <jcs@jcs.org>. king behavior fr fr πŸ‘‘


πŸ’‘ tiny reminder bestie: everything above is exactly what the page says, I just made it slay. don't come for me if you -a and then can't find your cursor β€” that's literally the feature πŸ’…

and that's the whole page!! πŸŽ€ this lil number came from Debian, dated March 13, 2020, and it lives in section 1 of the XBANISH(1) manpage. bye bestie, go hide that cursor πŸ¦‹βœ¨πŸ’–