How To Install gnome-shell-extension-caffeine on Rocky Linux 8

In this tutorial we learn how to install gnome-shell-extension-caffeine on Rocky Linux 8. gnome-shell-extension-caffeine is Disable the screen saver and auto suspend in gnome shell

Introduction

In this tutorial we learn how to install gnome-shell-extension-caffeine on Rocky Linux 8.

What is gnome-shell-extension-caffeine

This extension allows the user to easily disable the screen saver and auto suspend in gnome shell via an icon in the top bar. By default, this function is also enabled if a full screen application is running, and can be configured to disable gnome shell’s night light as well.

We can use yum or dnf to install gnome-shell-extension-caffeine on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gnome-shell-extension-caffeine.

Install gnome-shell-extension-caffeine on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gnome-shell-extension-caffeine using dnf by running the following command:

sudo dnf -y install gnome-shell-extension-caffeine

Install gnome-shell-extension-caffeine on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gnome-shell-extension-caffeine using yum by running the following command:

sudo yum -y install gnome-shell-extension-caffeine

How To Uninstall gnome-shell-extension-caffeine on Rocky Linux 8

To uninstall only the gnome-shell-extension-caffeine package we can use the following command:

sudo dnf remove gnome-shell-extension-caffeine

gnome-shell-extension-caffeine Package Contents on Rocky Linux 8

/usr/share/gnome-shell/extensions/[email protected]
/usr/share/gnome-shell/extensions/[email protected]/convenience.js
/usr/share/gnome-shell/extensions/[email protected]/extension.js
/usr/share/gnome-shell/extensions/[email protected]/icons
/usr/share/gnome-shell/extensions/[email protected]/icons/my-caffeine-off-symbolic.svg
/usr/share/gnome-shell/extensions/[email protected]/icons/my-caffeine-on-symbolic.svg
/usr/share/gnome-shell/extensions/[email protected]/locale
/usr/share/gnome-shell/extensions/[email protected]/locale/de
/usr/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/de/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/es
/usr/share/gnome-shell/extensions/[email protected]/locale/es/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/es/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/es/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/fr
/usr/share/gnome-shell/extensions/[email protected]/locale/fr/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/fr/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/fr/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/hu
/usr/share/gnome-shell/extensions/[email protected]/locale/hu/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/hu/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/hu/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/it_IT
/usr/share/gnome-shell/extensions/[email protected]/locale/it_IT/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/it_IT/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/it_IT/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/ja
/usr/share/gnome-shell/extensions/[email protected]/locale/ja/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/ja/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/ja/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/pl
/usr/share/gnome-shell/extensions/[email protected]/locale/pl/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/pl/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/pl/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_BR
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_BR/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_BR/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_BR/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_PT
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_PT/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_PT/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/pt_PT/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/ru
/usr/share/gnome-shell/extensions/[email protected]/locale/ru/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/ru/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/ru/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/sk
/usr/share/gnome-shell/extensions/[email protected]/locale/sk/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/sk/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/sk/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/sv
/usr/share/gnome-shell/extensions/[email protected]/locale/sv/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/sv/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/sv/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/tr
/usr/share/gnome-shell/extensions/[email protected]/locale/tr/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/tr/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/tr/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/locale/zh_CN
/usr/share/gnome-shell/extensions/[email protected]/locale/zh_CN/LC_MESSAGES
/usr/share/gnome-shell/extensions/[email protected]/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-caffeine.mo
/usr/share/gnome-shell/extensions/[email protected]/locale/zh_CN/LC_MESSAGES/gnome-shell-extension-caffeine.po
/usr/share/gnome-shell/extensions/[email protected]/metadata.json
/usr/share/gnome-shell/extensions/[email protected]/prefs.js
/usr/share/gnome-shell/extensions/[email protected]/schemas
/usr/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled
/usr/share/gnome-shell/extensions/[email protected]/schemas/org.gnome.shell.extensions.caffeine.gschema.xml
/usr/share/licenses/gnome-shell-extension-caffeine
/usr/share/licenses/gnome-shell-extension-caffeine/COPYING

References

Summary

In this tutorial we learn how to install gnome-shell-extension-caffeine on Rocky Linux 8 using yum and dnf.