r/gnome•
hellslinger

Add Extensions button in Tweak is gone now?

Question

I'm on Ubuntu 18.04. I know how to add extensions from CLI. I liked having the button at the bottom of the window/list in the Tweak -> Extensions page. Is there another way to do it so that I don't have to use the man page for unzip and then google where extensions are stored, and then locate the long filename for the zip?

Posted Feb 12, 2019, 6:31 PM UTC

66
Maoschanz•

You can:

  • unzip things with the GUI instead of reading man page before each basic command
  • remember the path or adding it the bookmarks instead of googling it each time
  • use GNOME Software to install extensions
3
hellslingerOP•

Here's how not having this feature breaks workflows:

I'm trying to install GSConnect from zip because the one from the Gnome Extension store is broken. The author released the fix as a zip file from his github page. This means there is no extension available from the Ubuntu Repos or extensions.gnome.org as of today. GSConnect is a huge time-saver and wonderful extension all around, so I'm going to go through the effort to get it working even if for one day. This isn't the first time this has happened with an extension.

Indeed, I could use nautilus to unzip, but I'm not saving any effort since I still have to find out where the path to the extensions is, then locate the file, which takes forever in nautilus since find-as-you-type apparently has to search the network before it shows you stuff in the same directory, so I might as well copy and paste from command line. Yes, I know nautilus search isn't supposed to do this, but it does and the developers have made it clear that they're not interested in changing it.

Maybe someone can write an extension to put this button back in the Extensions list? ;)

In all seriousness, I like Gnome, and I want it to be good. Why are features we use disappearing?

3
singingadrGNOME Developer•

The commit where this changed is here (two years ago), but from the commit message it doesn't seem like the change considered that people were installing extensions from arbitrary sources. So when the feature was removed, it wasn't thought of as a unique feature but duplication of a feature available in GNOME Software.

Tweaks is pretty removed from the general settings it's still targetted at users that are generally less comfortable doing things manually. IMHO, installing extensions from untrusted sources is not something to be taken lightly since inserting malicious code like GLib.unlink(GLib.get_home_dir()); is child's play, aside from more complex things like bitcoin miners, etc.

Installing an extension from a Zip itself is pretty trivial and given the possible risks, it probably better to be explicit about what you're doing. GSConnect has instructions in it's wiki for Installing from ZIP.

5
Maoschanz•

if GSConnect's dev wants users to install it from their github's zip, they could provide a "install.sh" file

1
bithooked•

Or use the Gnome browser extension to install directly from the website. Perhaps OP is referring to extensions that haven't yet been approved, but that requirement would also invalidate your third option.

1
Maoschanz•

If the extensions are not approved, your method will not work better

2