How To Install xbanish on Rocky Linux 8

In this tutorial we learn how to install xbanish on Rocky Linux 8. xbanish is Banish the mouse cursor when typing, show it again when the mouse moves

Introduction

In this tutorial we learn how to install xbanish on Rocky Linux 8.

What is xbanish

xbanish hides the mouse cursor when you start typing, and shows it again when the mouse cursor moves or a mouse button is pressed. This is similar to xterm’s pointerMode setting, but xbanish works globally in the X11 session.

We can use yum or dnf to install xbanish on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xbanish.

Install xbanish on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install xbanish

Install xbanish on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install xbanish

How To Uninstall xbanish on Rocky Linux 8

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

sudo dnf remove xbanish

xbanish Package Contents on Rocky Linux 8

/usr/bin/xbanish
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/852e2f4db6faed8546fd9371ab13697e3d70af
/usr/share/doc/xbanish
/usr/share/doc/xbanish/README.md
/usr/share/man/man1/xbanish.1.gz

References

Summary

In this tutorial we learn how to install xbanish on Rocky Linux 8 using yum and dnf.