Difference between revisions of "GNOME"

From Organic Design wiki
(Requirements and tips for getting your GNOME Shell Extension approved)
(Writing extensions: Step by step tutorial to create extensions)
Line 17: Line 17:
 
The execution output of the extension code is logged to '''~/.cache/gdm/session.log''', and you can insert custom entries into it from your code using the '''global.log("text")''' method. Here's some useful links for developing extensions:
 
The execution output of the extension code is logged to '''~/.cache/gdm/session.log''', and you can insert custom entries into it from your code using the '''global.log("text")''' method. Here's some useful links for developing extensions:
 
*[http://blog.mecheye.net/2012/02/requirements-and-tips-for-getting-your-gnome-shell-extension-approved/ Requirements and tips for getting your GNOME Shell Extension approved]
 
*[http://blog.mecheye.net/2012/02/requirements-and-tips-for-getting-your-gnome-shell-extension-approved/ Requirements and tips for getting your GNOME Shell Extension approved]
*[https://wiki.gnome.org/GnomeShell/Extensions/StepByStepTutorial A list of many tutorials on the GNOME wiki]
+
*[https://wiki.gnome.org/Projects/GnomeShell/Extensions/StepByStepTutorial Step by step tutorial to create extensions on the GNOME wiki]
 
*[http://www.tangazenileo.com/blog/2013/02/10/gnome-3-extension-development-hints-4-custom-icon-to-main-panel/ Add a custom icon to the main panel]
 
*[http://www.tangazenileo.com/blog/2013/02/10/gnome-3-extension-development-hints-4-custom-icon-to-main-panel/ Add a custom icon to the main panel]
 
*[http://www.tangazenileo.com/blog/2013/03/16/gnome-3-extension-development-hints-6-extension-preferences/ Good example of creating extension prefs]
 
*[http://www.tangazenileo.com/blog/2013/03/16/gnome-3-extension-development-hints-6-extension-preferences/ Good example of creating extension prefs]

Revision as of 09:19, 24 November 2013

GNOME offers an easy to understand desktop environment for your GNU/Linux or UNIX computer.

GNOME 3

GNOME3 Screenshot.png

Extensions

The GNOME Shell extension design is designed to give a high degree of power to the parts of the GNOME interface managed by the shell, such as window management and application launching. It simply loads arbitrary JavaScript and CSS. This gives developers a way to make many kinds of changes and share those changes with others, without having to patch the original source code and recompile it, and somehow distribute the patched code.

Extensions are listed at extensions.gnome.org and can be installed one-click style directly from the site :-) some extensions that I recommend are:

Writing extensions

The execution output of the extension code is logged to ~/.cache/gdm/session.log, and you can insert custom entries into it from your code using the global.log("text") method. Here's some useful links for developing extensions:

Installing on Ubuntu 12

They've now made Unity the default desktop environment which many people find really horrible, to install GNOME do the following:

<bash>sudo add-apt-repository ppa:gnome3-team/gnome3

sudo apt-get update sudo apt-get install gnome-shell</bash>

Then log out and select GNOME at the login prompt

Login-select-Gnome-Shell.png

Adding your own apps to the search

You'll need to create a .desktop file for your application in the ~/.local/share/applications directory with the name of your application as its filename. The content of the file is of the following format:

[Desktop Entry]
Name=My applications name
Comment=My cool application
Exec=/full/path/to/my/app
Icon=/full/path/to/my/app/icon
Terminal=false
Type=Application
StartupNotify=true

Where'd the startup applications applet go?

It's still the same program which is gnome-session-properties, but for some reason there's no longer a launcher for it - you can make one using the instructions in the previous section if you like, or launch it manually from a terminal window.

See also