How To Install xwrits on Fedora 34

xwrits is Reminds you take wrist breaks

Introduction

In this tutorial we learn how to install xwrits on Fedora 34.

What is xwrits

Xwrits reminds you to take wrist breaks, which should help you prevent or manage a repetitive stress injury. It pops up an X window when you should rest; you click on that window, then take a break. Xwrits’s graphics are brightly colored pictures of a wrist and the attached hand. The wrist clenches and stretches ``as if in pain’’ when you should rest, slumps relaxed during the break, and points forward valiantly when the break is over. It is trapped behind bars while the keyboard is locked. Other gestures are included. Extensive command line options let you control how often xwrits appears. It can escalate its behavior over time – by putting up more flashing windows or actually locking you out of the keyboard, for example – which makes it harder to cheat.

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

Install xwrits on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install xwrits

Install xwrits on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install xwrits

How To Uninstall xwrits on Fedora 34

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

sudo dnf remove xwrits

xwrits Package Contents on Fedora 34

/usr/bin/xwrits
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e6d174989dfeb999ff97ffd83ddf78d0fce6e5
/usr/share/applications/xwrits.desktop
/usr/share/doc/xwrits
/usr/share/doc/xwrits/GESTURES
/usr/share/doc/xwrits/NEWS
/usr/share/doc/xwrits/README
/usr/share/doc/xwrits/TODO
/usr/share/man/man1/xwrits.1.gz
/usr/share/pixmaps/xwrits.png

References

Summary

In this tutorial we learn how to install xwrits on Fedora 34 using yum and dnf.