XAUTOMATION(7)
π 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 π β¨π¦
π¦ where this page comes from
- debian bookworm: xautomation 1.09-4 Β· GPL-2.0-or-later
- debian trixie: xautomation 1.09-4+b1 Β· GPL-2.0-or-later
- ubuntu jammy: xautomation 1.09-4 Β· GPL-2.0-or-later
- ubuntu noble: xautomation 1.09-4build2 Β· GPL-2.0-or-later
- ubuntu questing: xautomation 1.09-4build2
- ubuntu resolute: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- ubuntu stonking: xautomation 1.09-4build3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms