39

I'm running gnome-shell 3.4.1 under Ubuntu 12.04. I've been trying out various extensions from http://extensions.gnome.org and now I want to completely remove some, expecially so as they don't take up space in Gnome Tweak Tool.
Is it safe to just delete the extension folder under ~/.local/share/gnome-shell/extensions/?

pomsky
  • 70,557

6 Answers6

30

From Gnome shell page It says:

There are some bugs in GNOME 3.2 that prevented uninstallation from working properly for some extensions. GNOME Shell 3.2.2.1 has fixed these problems. Make sure your system is fully updated if you are having issues uninstalling extensions.

If you do not have GNOME Shell 3.2.2.1 and may be unable to get it, or are unsure, you can uninstall the extension manually. Remove the extension's directory, and then restart the Shell. The extension should be stored under ~/.local/share/gnome-shell/extensions. Removing the directory won't be enough: you will need to restart the Shell to make sure the extension is completely uninstalled: open the run dialog with Alt+F2, and enter restart.

So, You'll Be Fine removing extension under ~/.local/share/gnome-shell/extensions manually.

Achu
  • 21,407
16

OK, found it. In https://extensions.gnome.org, navigate under Installed extensions, where there is an X button next to each extension that uninstalls it. As mentioned in the previous answer, that only works after version 3.2.2.1.

enter image description here

8

The extensions form 'fmuellner' seem to get stored in a directory "/usr/share/gnome-shell/extensions/" and other extensions get stored in a directory "~/.local/share/gnome-shell/extensions". I too had this problem before. I solved it by deleting these directories and restarting the computer. You cannot delete them from the file browser or explorer. So, super user permissions are required to delete them. Use the following command in the terminal. $ sudo rm -r /usr/share/gnome-shell/extensions/ $ sudo rm -r ~/.local/share/gnome-shell/extensions/

and then to restart computer from the gui or you can use $ sudo init 6

Careful not to delete other directories by mistake. The above fix worked for me. Hope that helps.

3

I saw last activity "2 months ago" , otherwise i wouldn't answer.

I don't know how hard it was before, but nowdays you can simply go to ubuntu software center, "installed" section

1

I also try to uninstall my extensions from https://extensions.gnome.org/local/, but when I restart the system, some of them come back.

What I do then is delete them manually from my filesystem as follows:

  1. I check these two file places: /usr/share/gnome-shell/extensions/ and ~/.local/share/gnome-shell/extensions/.

  2. I find the directory of the extension I want to delete and run:

    (sudo) rm -rf xxx
    

    where xxx is the path to the extension's directory.

    CAUTION: one has to be extra careful to enter the correct path to the above command, as it recursively deletes the contents of the specified directory without asking for confirmation from the user! If the path is wrong, it can destroy the whole system!

  3. Finally, restart your computer and it surprisingly works.

1

On 24.04 it looks like the correct way is:

$ gnome-extensions list # to see the extension names

$ gnome-extensions disable tiling-assistant@ubuntu.com

See gnome-extensions help for all commands - it can also:

'info' - source file locations

'uninstall'

(ref https://flathub.org/apps/org.gnome.Extensions)

jons
  • 73