I want to delete the "Desktop Icons" Gnome extension in Ubuntu 19.10. How may I do that without that red delete button?
The ones where you do not see the option to remove are extensions that are installed system wide, as opposed to these you install from the browser.
- Locally installed extensions: Gnome Shell extensions that you install from the Gnome Shell extensions website are installed in your account (actually in the folder
~/.local/share/gnome-shell/extensions). You can remove this extension from the Gnome Shell extensions website by clicking the red-with-white-cross "Delete" button.
- System wide installed extensions: Some Gnome Shell extensions are installed system wide (in the folder
/usr/share/gnome-shell/extensions) as a .deb package manager, just like any regular application. These cannot be removed by the user from the website. They can only be removed by a user who has administrator privileges, using Software Center, or using a graphical package such as Synaptic, or using the
apt removecommand in the terminal.
So for example, you could remove the Desktop icons extension with the command
sudo apt remove gnome-shell-extensions-desktop-icons
(note I do not recommend uninstalling this extension: it is part of Ubuntu desktop. Just disable it - the effect is the same, and the extension hardly takes up any space on the disk.)
You can see all available system-wide gnome-shell extensions with the command
apt search gnome-shell-extension
Ubuntu 20.04 users
Starting from Ubuntu 20.04, there is a "dedicated" app for extensions, which functions pretty much the same as the Extensions tab in Gnome Tweak, except you can uninstall locally installed extensions (that feature one day was removed from Gnome Tweaks).
- Locally installed extensions (from the website) appear in the top section under "Manually Installed". These extensions can also be uninstalled from within the app.
- System wide extensions are listed below, under the "Build-in" section.
Please note that there is an accepted answer in this question, because is FAR BETTER than this one. Please read all comments before proceeding.
I've just found an answer here, so just in case it helps someone with this very annoying little issue, I'll post it here:
The button does not appear because is a system-side extension. So when you try to manually delete it from here (user side extensions)..
...It just won't appear listed there.
You need to go into the system-side folder: