How To Install gnome-shell-extension-do-not-disturb-button on CentOS 7

In this tutorial we learn how to install gnome-shell-extension-do-not-disturb-button on CentOS 7. gnome-shell-extension-do-not-disturb-button is Hide desktop notifications until you’re ready to look at them

Introduction

In this tutorial we learn how to install gnome-shell-extension-do-not-disturb-button on CentOS 7.

What is gnome-shell-extension-do-not-disturb-button

Do Not Disturb Button provides a panel button to temporarily hide incoming notifications in GNOME Shell. A count of notifications appears next to the panel button, and notifications remain hidden in the notifications message tray, until you choose to show and dismiss them. You can also assign a keyboard shortcut to toggle the Do Not Disturb status. (Do Not Disturb Button allows you to set the “available” or “busy” status for desktop notifications only, not the status of chat or other applications connected to GNOME’s Online Accounts.)

We can use yum or dnf to install gnome-shell-extension-do-not-disturb-button on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install gnome-shell-extension-do-not-disturb-button.

Install gnome-shell-extension-do-not-disturb-button on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install gnome-shell-extension-do-not-disturb-button using yum by running the following command:

sudo yum -y install gnome-shell-extension-do-not-disturb-button

Install gnome-shell-extension-do-not-disturb-button on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install gnome-shell-extension-do-not-disturb-button

How To Uninstall gnome-shell-extension-do-not-disturb-button on CentOS 7

To uninstall only the gnome-shell-extension-do-not-disturb-button package we can use the following command:

sudo dnf remove gnome-shell-extension-do-not-disturb-button

References

Summary

In this tutorial we learn how to install gnome-shell-extension-do-not-disturb-button on CentOS 7 using yum and dnf.