How to Install Gnome Shell Extension on CentOS 7.6

Hello everyone, I am not a fan of CentOS desktop but today I am going to share a quick tip for you who run CentOS 7.6 Desktop. As you might known from my previous tutorial, it is pretty easy to install Gnome Shell Extension on Ubuntu, Debian or Linux Mint. But, if you are running CentOS especially CentOS 7.6 and you want to enable the Gnome Shell Extension, you will need to do some extra steps.

Gnome Shell Extension is a third party code or application that will add some functionality to Gnome. There are many extensions you can find on the official Gnome Shell Extension website. In order to be able to install extension from that website, do the following in CentOS 7.6.

Without chrome-gnome-shell package

Build chrome-gnome-shell package on CentOS 7.6

Add EPEL repository and install some required packages. Execute these as root.

yum install epel-release
yum install git cmake coreutils pygobject2 python-requests jq

Next, follow these instructions as normal user (non root)

git clone https://gitlab.gnome.org/GNOME/chrome-gnome-shell.git
cd chrome-gnome-shell/
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXTENSION=OFF ../
su
make install
exit

Now open the Gnome Extension website and try install an extension. Now it should works as follow

Source.

Be the first to comment

Leave a Reply