How To Install swayidle on Fedora 36

In this tutorial we learn how to install swayidle in Fedora 36. swayidle is An idle daemon for wayland compositors

Introduction

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

What is swayidle

swayidle is an idle management daemon for Wayland compositors.

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

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

sudo dnf -y install swayidle

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

sudo yum -y install swayidle

How To Uninstall swayidle on Fedora 36

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

sudo dnf remove swayidle

swayidle Package Contents on Fedora 36

/usr/bin/swayidle
/usr/lib/.build-id
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/68ccf1b312c5a624e5bd9b5845804ac08aa07b
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/swayidle
/usr/share/doc/swayidle
/usr/share/doc/swayidle/README.md
/usr/share/fish
/usr/share/fish/vendor_completions.d
/usr/share/fish/vendor_completions.d/swayidle.fish
/usr/share/licenses/swayidle
/usr/share/licenses/swayidle/LICENSE
/usr/share/man/man1/swayidle.1.gz
/usr/share/zsh
/usr/share/zsh/site-functions
/usr/share/zsh/site-functions/_swayidle

References

Summary

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