allow installing GNOME extensions from the command line without user interaction (#7469) · Issues · GNOME / gnome-shell · GitLab (2024)

Feature summary

Currently, the only "official" way of installing GNOME extensions is by manually visiting https://extensions.gnome.org with a browser, browsing/searching for a desired extension there, then clicking on the blue "Install" button on the extension's detail page. This will then (eventually) trigger a modal asking for installation confirmation.

It is thereby currently not possible to automate an extension-enhanced GNOME desktop environment setup without resorting to workarounds.

Also, extensions can only be installed one by one; therefore, in a typical productive/usable GNOME environment with multiple extensions, it requires a manual modal confirmation for each extension.

This is an issue/feature other users are also looking for:

How (manual) GNOME extension installation currently works

As an example, I use the extension Extension List by grroot.

On that extension's detail page, clicking the blue Install button triggers an undocumented xdg-mime/xdg-open integration with gnome-browser-connector (org.gnome.BrowserConnector) on the gnome-extensions://.

For this example, the URL is gnome-extensions://extension-list%40tu.berry?action=install .

gnome-browser-connector will then delegate to org.gnome.Shell.Extensions's method org.gnome.Shell.Extensions.InstallRemoteExtension. This is effectively as executing the following command:

gdbus call --session \ --dest org.gnome.Shell.Extensions \ --object-path /org/gnome/Shell/Extensions \ --method org.gnome.Shell.Extensions.InstallRemoteExtension \ "[email protected]"

This method is implemented in gnome-shell/js/ui/extensionDownloader.js's installExtension(...) and will open an InstallExtensionDialog extends ModalDialog.ModalDialog. Only by manually interacting with this modal's Install button, it is possible to install the extension (implemented in InstallExtensionDialog._onInstallButtonPressed().

How would you like it to work

Preferably, gnome-extensions install ... would allow for installing (one or more) extensions by providing their IDs ("uuid" in gnome-extensions parlance), and would do so without requiring user interaction. E.g.: gnome-extensions install '[email protected]'. (Finding out some extension's uuid is not easy itself, as https://extensions.gnome.org doesn't show it...).

As an interim solution, it would probably be easier to just expose/export/make public a DBus method that delegates to what is done in InstallExtensionDialog._onInstallButtonPressed().

Relevant links, screenshots, screencasts etc.

allow installing GNOME extensions from the command line without user interaction (#7469) · Issues · GNOME / gnome-shell · GitLab (1)

Edited by Trenton Fumaki

allow installing GNOME extensions from the command line without user interaction (#7469) · Issues · GNOME / gnome-shell · GitLab (2024)
Top Articles
Configuring Tomcat to Listen on Multiple Ports
GCTV
SZA: Weinen und töten und alles dazwischen
Lowes 385
What's New on Hulu in October 2023
Mndot Road Closures
Tripadvisor Near Me
Washington, D.C. - Capital, Founding, Monumental
2024 U-Haul ® Truck Rental Review
I Wanna Dance with Somebody : séances à Paris et en Île-de-France - L'Officiel des spectacles
Moparts Com Forum
Payment and Ticket Options | Greyhound
Voy Boards Miss America
Osborn-Checkliste: Ideen finden mit System
Jayah And Kimora Phone Number
Vandymania Com Forums
How to Watch the Fifty Shades Trilogy and Rom-Coms
Pinellas Fire Active Calls
Robert Deshawn Swonger Net Worth
The Ultimate Guide to Extras Casting: Everything You Need to Know - MyCastingFile
Georgia Cash 3 Midday-Lottery Results & Winning Numbers
Titanic Soap2Day
Wemod Vampire Survivors
Great Clips Grandview Station Marion Reviews
Xfinity Outage Map Fredericksburg Va
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Znamy dalsze plany Magdaleny Fręch. Nie będzie nawet chwili przerwy
Gen 50 Kjv
Sams Gas Price Sanford Fl
Worthington Industries Red Jacket
Ihs Hockey Systems
N.J. Hogenkamp Sons Funeral Home | Saint Henry, Ohio
Warren County Skyward
Beaver Saddle Ark
What Time Does Walmart Auto Center Open
The 50 Best Albums of 2023
Usf Football Wiki
Muziq Najm
Craigslist Summersville West Virginia
Gpa Calculator Georgia Tech
Convenient Care Palmer Ma
How Does The Common App Work? A Guide To The Common App
Fwpd Activity Log
2132815089
Cl Bellingham
Powerspec G512
John M. Oakey & Son Funeral Home And Crematory Obituaries
Server Jobs Near
Big Brother 23: Wiki, Vote, Cast, Release Date, Contestants, Winner, Elimination
Minecraft: Piglin Trade List (What Can You Get & How)
Zom 100 Mbti
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6278

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.