How To Install xrestrict on Fedora 36

In this tutorial we learn how to install xrestrict in Fedora 36. xrestrict is A utility to modify the “Coordinate Transformation Matrix” of an XInput2 device

Introduction

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

What is xrestrict

A utility to modify the “Coordinate Transformation Matrix” of an XInput2 device. The typical application is restricting graphical tablet drawing area to a single monitor in multi-monitor set-ups.

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

Install xrestrict 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 xrestrict using dnf by running the following command:

sudo dnf -y install xrestrict

Install xrestrict 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 xrestrict using yum by running the following command:

sudo yum -y install xrestrict

How To Uninstall xrestrict on Fedora 36

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

sudo dnf remove xrestrict

xrestrict Package Contents on Fedora 36

/usr/bin/xrestrict
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/702d0dfc44c8ea47162586b90ea7307220ac19
/usr/lib/.build-id/df
/usr/lib/.build-id/df/3b595c8ce3dd0b3559702871909afd634530f9
/usr/share/doc/xrestrict
/usr/share/doc/xrestrict/README.md
/usr/share/licenses/xrestrict
/usr/share/licenses/xrestrict/COPYING

References

Summary

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