How To Install wmname on Fedora 36

In this tutorial we learn how to install wmname in Fedora 36. wmname is Prints/sets the EWMH WM name property

Introduction

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

What is wmname

wmname prints/sets the window manager name property of the root window similar to how hostname(1) behaves. wmname is a nice utility to fix problems with JDK versions and other broken programs assuming a reparenting window manager for instance.

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

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

sudo dnf -y install wmname

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

sudo yum -y install wmname

How To Uninstall wmname on Fedora 36

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

sudo dnf remove wmname

wmname Package Contents on Fedora 36

/usr/bin/wmname
/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/378e82a9298df2a9114d7e919dbb425ffba96e
/usr/share/doc/wmname
/usr/share/doc/wmname/LICENSE
/usr/share/doc/wmname/README

References

Summary

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