XAUTOMATION(7)

πŸ“¦
version 1.09 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

xautomation β€” control X from the command line, and find things on the screen πŸ¦‹


✨ DESCRIPTION ✨

okay so bestie, xautomation is literally a whole set of command line programs that do two iconic things: they control X, and they do "visual scraping" to find things on the screen. no cap. πŸ‘‘

The control interface is giving everything you'd want β€” mouse movement, clicking, button up/down, key up/down, etc. and the way it does it?? it uses the XTest extension, so you don't get stuck with the annoying problems that xse has when apps just... ignore sent events. 😭 apps being shady? not on our watch.

Then there's visgrep, which finds images inside of images and reports the coordinates πŸ“ β€” so your programs can find buttons (etc.) on the screen and click on them. it's giving main character energy fr fr.

xautomation consists in the following programs:

  • pat2ppm β€” Converts an image file from PAT to PPM format. πŸ’…
  • patextract β€” Extract a part of a PNG image file. πŸŽ€
  • png2pat β€” Converts an image file from PNG to PAT format. πŸ¦‹
  • rgb2pat β€” Converts an image file from 24-bit RGB to PAT format. ✨
  • visgrep β€” Visual grep, greps for images in another image. πŸ”πŸ”₯
  • xmousepos β€” Gets and prints the current mouse position. πŸ­πŸ“
  • xte β€” Generates fake input using the XTest extension. πŸ‘‘

For more information, please see the individual manpages of these programs. (yes, there's a whole cinematic universe of them, iykyk πŸ“)


🌈 SEE ALSO 🌈

pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1), xmousepos(1), xte(1). 🫢


πŸ‘‘ AUTHOR πŸ‘‘

xautomation was written by Steve Slaven <bpk@hoopajoo.net>. πŸ’–

This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian project (but may be used by others). 🌸


and that's the whole vibe check bestie β€” this page is from the Miscellaneous Information Manual, dated June 05, 2020. slay, go read the individual manpages now πŸ’…βœ¨πŸ¦‹