Re: [gnome-shell-ext] How does gnome-browser-extension and chrome-gnome-shell load extension without reloading gnome session





On Mon, Jul 4 2022 at 19:47:52 +0600, Ahmad Ismail via gnome-shell-extensions-list <gnome-shell-extensions-list gnome org> wrote:

So, how does gnome-browser-extension and chrome-gnome-shell load extension without reloading the gnome session?

They don't.

They call the `org.gnome.Shell.Extensions.InstallRemoteExtension` D-Bus method, and in turn (after confirmation by the user) gnome-shell will - download the extension with the specified UUID from extensions.gnome.org
- extract it in the user's $HOME
- register the newly installed extension
- enable it

You cannot do the registration step without calling into gnome-shell.

Florian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]