Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facilitate manual install of extensions. #233

Open
seltzered opened this issue Aug 2, 2022 · 2 comments
Open

Facilitate manual install of extensions. #233

seltzered opened this issue Aug 2, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed wishlist Long term or undecided feature

Comments

@seltzered
Copy link

This is just an enhancement idea for consideration.

Sometimes there's extensions that aren't up to date for the latest version of Gnome and one may want to manually install from source during development or a zip file. Would there be any usefulness in extension manager facilitating 'manual' installation of an extension?

This could at least by being a frontend to the gnome-extensions install of a zip file or directory location, such that one doesn't have to manually restart gnome shell, and facilitate removal as appropriate.

@mjakeman
Copy link
Owner

mjakeman commented Aug 8, 2022

I like the idea and I've toyed with some kind of "Install from archive" option in the menu.

I'm not sure how we'd achieve this though - the flatpak sandbox intentionally prevents us from discovering which apps are present/not-present on the host system. I don't think we can call gnome-extensions install without poking a huge hole in the sandbox.

Another option is to reimplement installing from zip which isn't too hard, since it is a simple case of unzipping the extension to .local/share/gnome-shell/extensions. I think we can probably 'convince' Shell to load it by calling EnableExtension with whatever the extension name is.

Let's put this on the backlog (maybe for 0.5?)

@mjakeman mjakeman added enhancement New feature or request help wanted Extra attention is needed labels Aug 8, 2022
@mjakeman mjakeman added the wishlist Long term or undecided feature label Oct 6, 2022
@lheinke
Copy link

lheinke commented May 7, 2023

I would really appreciate this feature to be added. Perhaps it would even be possible to allow for imports & updates from GitHub directly by downloading the extension in the background, e.g. by pasting a link to the repo/release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed wishlist Long term or undecided feature
Projects
None yet
Development

No branches or pull requests

3 participants