How To Install sxhkd on Fedora 34
Introduction
In this tutorial we learn how to install sxhkd
on Fedora 34.
What is sxhkd
sxhkd is an X daemon that reacts to input events by executing commands. Its configuration file is a series of bindings that define the associations between the input events and the commands. The format of the configuration file supports a simple notation for mapping multiple shortcuts to multiple commands in parallel.
We can use yum
or dnf
to install sxhkd
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sxhkd.
Install sxhkd 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 sxhkd
using dnf
by running the following command:
sudo dnf -y install sxhkd
Install sxhkd 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 sxhkd
using yum
by running the following command:
sudo yum -y install sxhkd
How To Uninstall sxhkd on Fedora 34
To uninstall only the sxhkd
package we can use the following command:
sudo dnf remove sxhkd
sxhkd Package Contents on Fedora 34
/usr/bin/sxhkd
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/401a3ef981dca31f81acda823de6bbd436db41
/usr/lib/systemd/system/sxhkd.service
/usr/share/doc/sxhkd
/usr/share/doc/sxhkd/README.md
/usr/share/doc/sxhkd/examples
/usr/share/doc/sxhkd/examples/background_shell
/usr/share/doc/sxhkd/examples/background_shell/profile
/usr/share/doc/sxhkd/examples/background_shell/shell
/usr/share/doc/sxhkd/examples/background_shell/sxhkdrc
/usr/share/doc/sxhkd/examples/background_shell/xinitrc
/usr/share/doc/sxhkd/examples/notification
/usr/share/doc/sxhkd/examples/notification/autostart
/usr/share/doc/sxhkd/examples/notification/pam_environment
/usr/share/doc/sxhkd/examples/notification/sxhkd_notify
/usr/share/doc/sxhkd/examples/notification/xinitrc
/usr/share/licenses/sxhkd
/usr/share/licenses/sxhkd/LICENSE
/usr/share/man/man1/sxhkd.1.gz
References
Summary
In this tutorial we learn how to install sxhkd
on Fedora 34 using yum and dnf.