Book Image

GNOME 3 Application Development Beginner's Guide

By : Mohammad Anwari
Book Image

GNOME 3 Application Development Beginner's Guide

By: Mohammad Anwari

Overview of this book

<p>GNOME is a desktop environment and graphical user interface that runs on top of a computer operating system. GNOME 3 provides both modern desktops and development platforms with more than 50 supported languages of the world. Since 1999, it has been evolving into a very nice desktop to use and an interesting platform to develop on. <br /><br />"GNOME 3 Application Development Beginner's Guide" is about developing GNOME 3 application with Vala and JavaScript programming languages. It guides the reader to build Gtk+, Clutter, and HTML5 applications on the GNOME 3 platform. It covers GNOME 3 specific subsystems such as data access, multimedia, networking, and filesystem. It also covers good software engineering practices such as localization and testing.<br /><br />This book is full of step-by-step tutorials and ready to run codes. The examples are written in a simple and straightforward way&nbsp; to make it easier for the reader to get a thorough understanding of the topics.<br /><br />The book starts with the installation of GNOME 3 and ends with building two exciting projects, a web browser and a Twitter client. The book starts from the basics and gradually talks about more advanced topics.<br /><br />It then guides the readers in using the development environment starts from Anjuta IDE, Glade, and DevHelp. The essential GNOME 3 subsystems like GStreamer, GLib, GIO, GSettings, Evolutions Data Server, WebKit, and GNOME desktop are then uncovered one by one. Then the internationalization, localization, and unit testing techniques are brought up.<br /><br />"GNOME 3 Application Development Beginner's Guide" is really a guide that a novice GNOME 3 application developer must not miss.</p>
Table of Contents (21 chapters)
GNOME 3 Application Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – learning GSettings


Let's see what the GSettings configuration system looks like as visualized by the dconf-editor tool:

  1. Launch a terminal.

  2. Run dconf-editor from the terminal.

  3. Navigate through the org tree on the left-hand side of the application, and go through gnome, desktop, and then background.

What just happened?

GSettings is a new introduction in GNOME 3. Before, the configuration was handled with GConf. In GNOME 3, every shipped GNOME application has been migrated to use GSettings. The concept of storing the settings in GConf and GSettings remains the same, that is, by using key-value pairs. However, GSettings contains improvements in many aspects, including more restrictive usage by enforcing schema as metadata. With GConf, we can freely store and read any values from the system.

GSettings is actually only a top-level layer. Underneath, there is a low-level system called dconf, which handles the actual storing and reading of the values. The tool we discuss here shows the...