Skip to content

ahdiaz/MGSE

Repository files navigation

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 "['[email protected]']"

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

DEVELOPMENT RESOURCES

https://live.gnome.org/GnomeShell/Extensions
https://blog.fpmurphy.com/2011/04/gnome-3-shell-extensions.html
https://developer.gnome.org/
https://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;

About

Linux Mint Shell Extensions for Gnome 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published