Linux Mint Shell Extensions for Gnome 3
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 20 commits behind ahdiaz:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mgse-alttab
mgse-bottompanel
mgse-mediaplayer
mgse-menu
mgse-noa11y
mgse-notifications
mgse-shutdownmenu
mgse-smartoverview
mgse-userthemes
mgse-windowlist
mgse-xrandr
README
test

README

INSTALLATION

./test installs the extension on your computer (in /usr/share/gnome-shell/extensions/)

For the extension to work:

 - It needs to be compatible with your version of gnome shell
       To know your version of gnome-shell, type "gnome-shell --version".
       Make sure that version is in "shell-version" in the metadata.json file

 - It needs to be enabled. 
       gsettings list-recursively  org.gnome.shell
       gsettings get org.gnome.shell disabled-extensions
       gsettings get org.gnome.shell enabled-extensions
       gsettings reset org.gnome.shell enabled-extensions
       gsettings set org.gnome.shell enabled-extensions "['extension-name@linuxmint.com']"

 - You need to restart Gnome Shell
       Alt+F2, and type "r"
       or from a command line: gnome-shell --replace

DEVELOPMENT RESOURCES

http://live.gnome.org/GnomeShell/Extensions
http://blog.fpmurphy.com/2011/04/gnome-3-shell-extensions.html
http://developer.gnome.org/
http://developer.ubuntu.com/resources/

GNOME 3.2

3.1.90.1 is an early version of 3.2...
Gnome 3.2 introduces many changes.. and so almost all extensions written for previous versions of Gnome Shell are likely not to work :)

main() is replaced by init(), enabled(), disabled()... and there's many other changes as well ;)

MODULES

It's not possible to implement modules. However, it's possible for the code to be located in different files.

For instance, within the extension directory, you can have:

extension.js
myclass.js (which implements defines a class Myclass)

And you can refer to Myclass with the following call:

const Myclass = Extension.myclass;