6

I have downloaded several gnome-shell extensions from official Gnome site and installed. But, I don't want to install them every time, I re-install my Ubuntu. I want to have a feature to backup those extensions and restore them as required.

How can I do that?

4

I guess I figured it out. You have to replace (after backuping, for safety) the following three folders with the original ones previously saved from the system you want to clone:

~/.local/share/gnome-shell/extensions

~/.local/share/gnome-shell/quicklaunch

~/.config/dconf

Then logout and login.

Let me know if it works, or if you find better ways!

(tested on Ubuntu Gnome Shell Remix 12.04)

  • I have to replace those folders with what? – Anwar Oct 8 '12 at 2:29
3

The downloaded gnome-shell extensions are stored in the .local/share/gnome-shell/extensions folder in your home directory folder. Copy the extensions folder and store them in somewhere else.

When you need to restore those extensions, copy and paste the stored extensions folder in your .local/share/gnome-shell folder. Logout and Login.

  • Simply copying the extensions folder didn't work for me (Ubuntu Gnome Shell Remix 12.04) – Emil Oct 6 '12 at 1:10
1

The easiest way so far is to use the chrome connector.

All you have to do is to right click the extensions, go to options and make sure "Synchronize GNOME Shell extensions list" is enabled. After you reinstall ubuntu you need to install this chrome extensions again and disable/re-enable this sync options. You will be prompted which extension list to use, remote or local and you can chose the remote list.

Only caveat i have found so far is that the extensions settings are not backed up too.

0

gnome extensions are there : /usr/share/gnome-shell/extensions (sudo cp obviously)

to reinstall you copy them back in .local/share/gnome-shell/extensions (you'll need to reactivate them in gnome tweak & then restart the session though)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.