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 \ "extension-list@tu.berry"

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 'extension-list@tu.berry'. (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
Enable TLS 1.0 using registry
What Can I Bring? Firearms
Worcester Weather Underground
123 Movies Black Adam
Canary im Test: Ein All-in-One Überwachungssystem? - HouseControllers
Jonathon Kinchen Net Worth
³µ¿Â«»ÍÀÇ Ã¢½ÃÀÚ À̸¸±¸ ¸íÀÎ, ¹Ì±¹ Ķ¸®Æ÷´Ï¾Æ ÁøÃâ - ¿ù°£ÆÄ¿öÄÚ¸®¾Æ
Fully Enclosed IP20 Interface Modules To Ensure Safety In Industrial Environment
Watch Mashle 2nd Season Anime Free on Gogoanime
Top Financial Advisors in the U.S.
Sam's Club Gas Price Hilliard
What is international trade and explain its types?
Cosentyx® 75 mg Injektionslösung in einer Fertigspritze - PatientenInfo-Service
[PDF] INFORMATION BROCHURE - Free Download PDF
Ssefth1203
A Guide to Common New England Home Styles
Craigslist Motorcycles Orange County Ca
Hartland Liquidation Oconomowoc
Price Of Gas At Sam's
Q33 Bus Schedule Pdf
Lazarillo De Tormes Summary and Study Guide | SuperSummary
Allentown Craigslist Heavy Equipment
Espn Horse Racing Results
Quest: Broken Home | Sal's Realm of RuneScape
Yog-Sothoth
Dragonvale Valor Dragon
Employee Health Upmc
E32 Ultipro Desktop Version
Craigslist Apartments In Philly
Elite Dangerous How To Scan Nav Beacon
Pawn Shop Moline Il
From This Corner - Chief Glen Brock: A Shawnee Thinker
Culver's.comsummerofsmiles
Top 20 scariest Roblox games
Free T33N Leaks
Hrconnect Kp Login
Marlene2995 Pagina Azul
Craigslist Texas Killeen
Hoofdletters voor God in de NBV21 - Bijbelblog
Ticket To Paradise Showtimes Near Marshall 6 Theatre
Craigslist Jobs Brownsville Tx
Levothyroxine Ati Template
Craigslist Boats Dallas
Tedit Calamity
Chathuram Movie Download
Mcalister's Deli Warrington Reviews
Haunted Mansion (2023) | Rotten Tomatoes
Ratchet And Clank Tools Of Destruction Rpcs3 Freeze
Sam's Club Gas Price Sioux City
About us | DELTA Fiber
Charlotte North Carolina Craigslist Pets
When Is The First Cold Front In Florida 2022
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.