How To Install xxkb on Fedora 34

xxkb is Keyboard layout indicator and switcher

Introduction

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

What is xxkb

The xxkb program is a keyboard layout switcher and indicator. Unlike the programs that reload keyboard maps and use their own hot-keys, xxkb is a simple GUI for XKB (X KeyBoard extension) and just sends commands to and accepts events from XKB. That means that it will work with the existing setup of your X Server without any modifications.

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

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

sudo dnf -y install xxkb

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

sudo yum -y install xxkb

How To Uninstall xxkb on Fedora 34

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

sudo dnf remove xxkb

xxkb Package Contents on Fedora 34

/usr/bin/xxkb
/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/1eadf3b07b124ecf319c3a2bfb932c31325ba5
/usr/lib/X11
/usr/lib/X11/app-defaults
/usr/share/X11/app-defaults/XXkb
/usr/share/doc/xxkb
/usr/share/doc/xxkb/README
/usr/share/licenses/xxkb
/usr/share/licenses/xxkb/LICENSE
/usr/share/man/man1/xxkb.1x.gz
/usr/share/xxkb
/usr/share/xxkb/bg15.xpm
/usr/share/xxkb/bg48.xpm
/usr/share/xxkb/by15.xpm
/usr/share/xxkb/by48.xpm
/usr/share/xxkb/de15.xpm
/usr/share/xxkb/de48.xpm
/usr/share/xxkb/en15.xpm
/usr/share/xxkb/en48.xpm
/usr/share/xxkb/il15.xpm
/usr/share/xxkb/il48.xpm
/usr/share/xxkb/ru15.xpm
/usr/share/xxkb/ru48.xpm
/usr/share/xxkb/su15.xpm
/usr/share/xxkb/su48.xpm
/usr/share/xxkb/ua15.xpm
/usr/share/xxkb/ua48.xpm

References

Summary

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