1

I have installed gnome-tweaks and gnome-shell-extensions using:

$ sudo apt install gnome-tweaks
$ sudo apt install gnome-shell-extensions

Now, I am interested in installing few extensions. I want to install the extensions using apt or apt-get or snap, but not by using a web browser.

For example, I could install "netspeed" extension using browser, but am not able to find this package in the main/universe/multiverse repos. So how can I install this (netspeed) or other extension using the command line and which repo should I search in?

Edit: This question is not about being able to install/manage or remove GNOME Shell Extensions. It is specifically about doing these from a terminal, using apt or similar package managers.

Edit: Software Center still shows no results:

Software Center showing no results

samshers
  • 326

2 Answers2

3

Some extensions indeed are packaged in the standard Ubuntu software repositories. These can be installed using apt get, Synaptic Package Manager and even using Snap Software. The selection, however, of extensions packaged in the Ubuntu software repositories is relatively small.

The names of the packages typically start with gnome-shell-extension, so you can have an idea of what is standard available with the command

apt search gnome-shell-extension

or browse though them in Synaptic package manager after searching the term. If an extension you are after is not available in the Ubuntu Software repositories, you have no option than to install it in a different way, either through the website or by a manual install.

System wide extensions versus locally installed extensions

Extensions installed using apt are installed for all users. They are not enabled by default. Each user can enable or disable the extension individually. Ubuntu 20.04 comes with a dedicated utility "Extensions" that allows to enable or disable a Gnome Shell extension. Users of older Ubuntu versions can install "Tweaks" to enable/disable extensions.

Extensions installed using the Gnome Extensions website are installed for the user only. Only the current user "sees" it and can enable/disable it.

As a general rule, it is preferred to install gnome shell extensions using the Ubuntu PPA. These extensions have been packaged by the Ubuntu developpers, and have been tested to work with your system.

Extensions installed from the Gnome Extensions website may with a future update not work correctly anymore on your system. Note also that this is not directly supported in a default Ubuntu install: you are required to install some additional software before you can install from the Gnome Shell extensions website.

vanadium
  • 97,564
1

GNOME Extensions are available directly on Ubuntu Software. You just have to enable them through GNOME Tweaks.

gnome-software

As soon as you install an extension on Ubuntu Software, it's added to the Extensions on GNOME Tweaks where you can configure or customize them.

gnome-tweaks