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 22:04:36 +0600, Ahmad Ismail <ismail783 gmail com> wrote:

....
So, as far i understood, I have two options:

1. Run org.gnome.Shell.Extensions.InstallRemoteExtension from my shell script (using dbus-send or busctl) in my first for loop.

Sure:

busctl --user call org.gnome.Shell.Extensions /org/gnome/Shell/Extensions org.gnome.Shell.Extensions InstallRemoteExtension s $i

should work, although you/the user would need to confirm the installation of each extension.


2.
gnome-extensions install --force ${i}.zip
# Register the newly installed extension with a dbus command (probably dbus-send or busctl)
gnome-extensions enable ${i}

You'd have to enable unsafe-mode and fiddle with `org.gnome.Shell.Exec`.

Florian




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