3

After reinstalling Ubuntu, my installed GNOME shell extensions are gone and I need to manually go to https://extensions.gnome.org/ to reinstall each one. Can this process be automated? For example, if I provide a file with the names of the extensions I want to install. Could I just run some command to reinstall them?

(Another idea: it would be even simpler if the extensions could be saved automatically at a GNOME account, similarly to the way extensions in Google Chrome are saved in my google account.)

2 Answers 2

3

Some extensions come with the standard Ubuntu software repository, and accordingly can be installed from Software Center or using the terminal with sudo apt get. These commands could be included in a script for automated installation.

Installation of extensions downloaded from the Gnome-Shell website can also be scripted. This website describes a possible process. Briefly,

  1. The extension must be downloaded
  2. The extensions UUID needs to be determined from the metadata.json file that comes with each extension.
  3. The program files need to be copied under .local/share/gnome-shell/extensions/, in a folder that is named according to the UUID.

To enable extensions with a command, you can use gnome-shell-extension-tool.

1
3

You're probably using the browser extensions (available for Firefox and Chromium/Chrome) that helps to install GNOME shell extensions from extensions.gnome.org.

These extensions also let you sync your list of extensions. Open preferences of the extension and enable the 'Synchronise GNOME shell extensions list' option:

enter image description here
and click 'Save'.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .