linuxmint/Cinnamon — Issue #103: make gnome-shell extensions compatible
Author: cyberorg
Created: 2012-01-05 12:08:31+00:00
State: open

Here is the workflow for getting gnome-shell extensions(most) working with cinnamon for now:

* copy gnome-shell extensions to ~/.local/share/cinnamon/extensions/

* Run the following commands:
cd ~/.local/share/cinnamon/extensions/
for i in `ls`; do
sed -i -e "s@imports.gi.Shell@imports.gi.Cinnamon@g" $i/*
grep -q cinnamon-version $i/metadata.json || sed -i -e '/{/{n;n;n;s/\,/\,\n"cinnamon-version": [ "1.1.3" ],/;}' $i/metadata.json
done

Attached patch makes browser plugin work partially, i.e. https://extensions.gnome.org/local/ works fully, but installation of plugins does not work. I do not know any programming but getting the above workflow automated via browser plugin should be fairly simple for someone who knows how to code :)

In short, when user selects the extension to install on extensions.gnome.org, the plugin should download it and make the above changes automatically.

http://paste.opensuse.org/93726837