Owlib.com Blogs Home News Contact About

How to install GNOME Shell Extensions on Oracle Linux 7.5

Date: Sep 7, 2018
Tags: Oracle Linux, GNOME Shell Extensions, GNOME Shell Integration, Google Chrome, Mozilla Firefox

In prior versions of Oracle Linux (and Centos) you could just execute the following and install the needed GNOME Shell Extensions from https://extensions.gnome.org/.

$ sudo yum install gnome-shell-browser-plugin

However, the above method no longer works. Now, we will need to install the Native Connector.

First, remove the gnome-shell-browser-plugin, if already installed.

$ sudo yum remove gnome-shell-browser-plugin

Following are the steps to install Native Connector for GNOME Shell Extensions on Oracle Linux 7.5:

$ sudo yum install git cmake coreutils jq
$ git clone https://github.com/GNOME/chrome-gnome-shell.git
$ cd chrome-gnome-shell
$ mkdir build
$ cd build
$ sudo make install

More details on installation can be found at: GNOME Shell integration for Chrome Installation Guide.

For Google Chrome, you will also need to install GNOME Shell Integration Extension from Google Chrome Web Store.

For Firefox, you will also need to install the GNOME Shell Integration Add-on from Firefox Add-ons.

This is how the output of these commands look like on my terminal.

[demo@oracle-linux ~]$ git clone https://github.com/GNOME/chrome-gnome-shell.git
Cloning into 'chrome-gnome-shell'...
remote: Counting objects: 3562, done.
remote: Total 3562 (delta 0), reused 0 (delta 0), pack-reused 3562
Receiving objects: 100% (3562/3562), 1.07 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (2434/2434), done.
[demo@oracle-linux ~]$ cd chrome-gnome-shell
[demo@oracle-linux chrome-gnome-shell]$ mkdir build
[demo@oracle-linux chrome-gnome-shell]$ cd build
[demo@oracle-linux build]$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_EXTENSION=OFF ../
-- Found base64: /usr/bin/base64
-- Found sha256sum: /usr/bin/sha256sum
-- Found ghead: /usr/bin/head
-- Found tr: /usr/bin/tr
-- Found jq: /usr/bin/jq
-- Calculated Chrome extension id: gphhapmejobijbbhgpjhcjognlahblep
-- Calculated Opera extension id: olkooankbfblcebocnkjganpdmflbnbk
-- Found PythonInterp: /usr/bin/python (found version "2.7.5") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/demo/chrome-gnome-shell/build
[demo@oracle-linux build]$ sudo make install
[sudo] password for demo: 
Scanning dependencies of target build-connector
running build
running build_scripts
creating build
creating build/scripts-2.7
copying and adjusting /home/demo/chrome-gnome-shell/connector/../build/chrome-gnome-shell -> build/scripts-2.7
changing mode of build/scripts-2.7/chrome-gnome-shell from 644 to 755
Built target build-connector
Scanning dependencies of target firefox-native-manifest
Built target firefox-native-manifest
Install the project...
-- Install configuration: "Release"
running install
running build
running build_scripts
running install_scripts
copying build/scripts-2.7/chrome-gnome-shell -> /usr/bin
changing mode of /usr/bin/chrome-gnome-shell to 755
running install_egg_info
Removing /usr/lib/python2.7/site-packages/chrome_gnome_shell-0.0.0-py2.7.egg-info
Writing /usr/lib/python2.7/site-packages/chrome_gnome_shell-0.0.0-py2.7.egg-info
-- Installing: /etc/chromium/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
-- Installing: /etc/opt/chrome/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
-- Installing: /usr/lib64/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
-- Installing: /usr/share/applications/org.gnome.ChromeGnomeShell.desktop
-- Installing: /usr/share/dbus-1/services/org.gnome.ChromeGnomeShell.service
-- Installing: /usr/share/icons/gnome/16x16/apps/org.gnome.ChromeGnomeShell.png
-- Installing: /usr/share/icons/gnome/48x48/apps/org.gnome.ChromeGnomeShell.png
-- Installing: /usr/share/icons/gnome/128x128/apps/org.gnome.ChromeGnomeShell.png
[demo@oracle-linux build]$