How To Install gtrayicon on Fedora 36

In this tutorial we learn how to install gtrayicon in Fedora 36. gtrayicon is Generic tray icon for GNOME

Introduction

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

What is gtrayicon

Gtrayicon is a generic tray icon for GNOME. It defines two actions and deactivate, that are alternated by clicking in the tray icon. You choose what commands to run on each action. You can also define each action’s icon and a custom menu that is shown on left click. A sample menu file is included with the package. Check /usr/share/doc/gtrayicon-1.1/sample.menu for more info.

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

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

sudo dnf -y install gtrayicon

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

sudo yum -y install gtrayicon

How To Uninstall gtrayicon on Fedora 36

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

sudo dnf remove gtrayicon

gtrayicon Package Contents on Fedora 36

/usr/bin/gtrayicon
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/98416443e2ca78abdba085a2071fe49bdc9dcd
/usr/share/doc/gtrayicon
/usr/share/doc/gtrayicon/ChangeLog
/usr/share/doc/gtrayicon/LICENSE
/usr/share/doc/gtrayicon/README
/usr/share/doc/gtrayicon/sample.menu
/usr/share/gtrayicon
/usr/share/gtrayicon/activate.svg
/usr/share/gtrayicon/deactivate.svg
/usr/share/gtrayicon/gtrayicon.glade
/usr/share/man/man1/gtrayicon.1.gz

References

Summary

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