How To Install xautomation on Fedora 36

In this tutorial we learn how to install xautomation in Fedora 36. xautomation is Tools to automate tasks in X, even detecting on screen images

Introduction

In this tutorial we learn how to install xautomation on Fedora 36.

What is xautomation

Control X from the command line for scripts, and do “visual scraping” to find things on the screen. The control interface allows mouse movement, clicking, button up/down, key up/down, etc, and uses the XTest extension so you don’t have the annoying problems that xse has when apps ignore sent events. The visgrep program find images inside of images and reports the coordinates, allowing programs to find buttons, etc, on the screen to click on.

We can use yum or dnf to install xautomation on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xautomation.

Install xautomation on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xautomation using dnf by running the following command:

sudo dnf -y install xautomation

Install xautomation on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xautomation using yum by running the following command:

sudo yum -y install xautomation

How To Uninstall xautomation on Fedora 36

To uninstall only the xautomation package we can use the following command:

sudo dnf remove xautomation

xautomation Package Contents on Fedora 36

/usr/bin/pat2ppm
/usr/bin/patextract
/usr/bin/png2pat
/usr/bin/rgb2pat
/usr/bin/visgrep
/usr/bin/xmousepos
/usr/bin/xte
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/b62e8347ee0a0a42d1332cc5148365587fd6d5
/usr/lib/.build-id/30
/usr/lib/.build-id/30/569b8bbae1f5492e6870dfca17de8aeba342c7
/usr/lib/.build-id/42
/usr/lib/.build-id/42/6ee9a66660a170be90b152c21172bd210c1586
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/27fa93e1c48a1269efbc5b7e48931f18fee4fb
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/78ec22658ce0f9721fe284230f9c744ef13818
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/5ef27ecb406c951c2fb38df3acc67128096808
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/57d31cc68b1702d744ca8ecf02bab665905576
/usr/share/doc/xautomation
/usr/share/doc/xautomation/AUTHORS
/usr/share/doc/xautomation/README
/usr/share/licenses/xautomation
/usr/share/licenses/xautomation/COPYING
/usr/share/man/man1/pat2ppm.1.gz
/usr/share/man/man1/patextract.1.gz
/usr/share/man/man1/png2pat.1.gz
/usr/share/man/man1/rgb2pat.1.gz
/usr/share/man/man1/visgrep.1.gz
/usr/share/man/man1/xmousepos.1.gz
/usr/share/man/man1/xte.1.gz
/usr/share/man/man7/xautomation.7.gz

References

Summary

In this tutorial we learn how to install xautomation on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).