Coder Social home page Coder Social logo

mgse's Introduction

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

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;

mgse's People

Contributors

alquirel avatar clefebvre avatar dbit avatar gabm avatar glebihan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.