Skip to content
Biz & IT

Inside the GNOME 2.4 Desktop and Developer Platform

In 1997 the GNU Network Object Model Environment (GNOME) Project was founded, …

Jorge O. Castro – | 0
Story text

Introduction

Linux is no longer just a buzzword. Its low cost, commoditization, rapid rate of development and ample scope for customization have driven adoption in corporations and homes the world over. Until now, though, people have largely used Linux for back-end tasks. It can be found running everything from stock exchanges to nuclear weapons simulations to TiVos, but it’s rarely considered for use as a desktop OS. Fortunately for Linux fans (and we would argue for the industry as a whole), this is finally beginning to change. Recent months have seen a number of high-profile desktop Linux deployments which include the City of Munich, Germany and the regional government in Extremadura, Spain. These municipal adoptions have been driven largely by the ever-spiraling licensing costs of proprietary systems, the increasing availability of Linux support from software and hardware vendors, and rapidly improving desktop usability, as demonstrated by a recent rash of new products from the likes of SuSE, Red Hat, Codeweavers and Ximian.

Today, gnome.org released version 2.4 of the GNOME Desktop and Developer Platform. This marks the third major release of the GNOME 2 platform, after releases 2.0 and 2.2. (2.1 and 2.3 were development branches; you could consider them working prototypes of releases 2.2 and 2.4, respectively.) GNOME 2.4 is the result of quite a bit of work toward complying with the GNOME Human Interface Guidelines (HIG), which mainly focus on user interface consistency and predictability. This release has also undergone some general polish, and it can finally be said that the GNOME 2 platform has achieved maturity with this release. The Epiphany web browser, a major new component of GNOME, also makes its debut with this release. While we explore the new features of GNOME 2.4, we will also attempt to cover some of the core GNOME technologies and how they benefit the user interface, in addition to giving you a tour of GNOME’s software framework and applications.

The Basics of the Linux Desktop

People who try to learn about Linux for the first time are often overwhelmed by jargon and concepts that are foreign to them. So we’ll attempt to alleviate some of the potential confusion before we get into the meat of GNOME 2.4. Like today’s modern operating systems, the Linux desktop uses integrated schemes to draw the graphical desktop and accept user input. However, unlike Microsoft Windows and Mac OS X, this process is more diverse in Linux (although Windows and OS X share important differences between each other, as well).

Microsoft Windows utilizes the concept of an abstract drawing surface, embodied in the Graphic Device Interface (GDI). Programs (say, Solitaire) are not aware of the specific model of device that the output is going to, as drawing operations are performed on a sort of virtual canvas. The canvas, the “paint,” and the “brushes” are all provided by the OS. The end result is that such applications use a standardized method of displaying items on the screen, printing to a printer, etc. In the case of screen composition, the GDI can instruct the display driver to draw arcs, text, filled boxes, etc., taking advantage of hardware acceleration as needed. Windows also provides, as part of the User layer (that sits on top of GDI in the NT kernel), a set of standard widgets or controls (buttons, labels, checkboxes, radio buttons, tabbed sheets, separators, menus, etc.) that can be used for user interaction. A standard application programming interface (API) is provided as part of various system libraries to enable their use; however, programmers are free to roll their own widgets using the GDI to draw them directly. Input via the mouse or keyboard is passed onto the User layer, and from there into an input queue managed by a system raw input thread, which passes it onto applications as events. The input queue also plays some part in managing windows along with the User layer. Object operations such as drag-and-drop and clipboard cut/copy/paste are dealt with by the OLE (object linking and embedding) subsystem, which dispatches notifications to rich objects on such actions, and acts as a mediator.

In short you can think of Microsoft Windows as providing an officially sanctioned and tightly controlled set of building blocks for GUI applications. This results in a certain level of visual consistency between applications, and makes the whole GUI appear as a single, monolithic entity. The consumer gets an OS that, within limits, looks the same everywhere, at all times (of course, you can use different themes, but the look is overall rather consistent, and it is not very easy to change without 3rd party tools).

In the Mac OS, Cocoa and Java applications utilize the Quartz 2D subsystem to draw windows, widgets, etc. This subsystem is responsible for composing items, and it is the clearing-house for all instructions from applications to draw to any device, be it the screen, a printer, a plotter, PostScript or PDF output. It composes the widgets, just as the User subsystem does in Windows. In the case of screen rendering, it then rasterizes the drawing and passes the bitmapped image on to Quartz Compositor, which then can utilize hardware acceleration (or not) to draw the desktop using the bitmaps as the constituent parts. It also receives input events from the input device drivers, is responsible for notifying applications of input available to them, and deals with window management. Rich object operations are handled by the Mac OS X Clipboard, a background server meant to handle drag-and-drop, cut, copy, paste, etc.

In short, OS X’s application programming interface (API) discourages developers from doing their own thing, and makes it easier to follow Apple’s guidelines on how a user interface to behave. At a slight cost to mutability, this results in a desktop that is very consistent, not just within itself, but also across installations.

The Linux desktop, in contrast, is drawn by a number of different programs and libraries working together, some of which are exclusive to one another.

The X Window System is the basis of most GUIs on Linux and UNIX systems. Applications use the X protocol to tell the display subsystem what to draw. It is used to describe items like arcs, boxes, text, etc. to be drawn onscreen. A display subsystem, more commonly called an X server (for it serves applications), is responsible for dealing with the display and input hardware itself (incorporating display and input device drivers). The application is called an X client, for it requests the server to draw things on its behalf.

Linux desktop components

By itself, the X protocol is a bit tedious for application programmers to utilize, since it is a network protocol (which actually allows for rather interesting uses, such as network-transparent window display). An implementation of a software framework for X clients and servers available from the X Consortium includes X client libraries that programmers can use to handle the protocol communications, and can focus on doing their drawing.

Even these X client libraries are somewhat inhospitable for things such as keeping track of what the application has drawn onscreen, drawing common widgets (since the client libraries don’t implement any), and other mundane tasks that a graphical application needs to do. For this reason, programmers have put together libraries that use the X client libraries to draw common widgets, and to generally make it easier to write applications. These are called widget toolkits.

Popular widget toolkits are Motif (primarily used by vendors that make shrink-wrapped software), Qt from TrollTech, and GTK+ (The GIMP Toolkit, which is named after the image editor, The GNU Image Manipulation Program, that it was designed for), which is what GNOME and GNOME applications use.

Most other windowing systems tend to manage windows (selection for keyboard and mouse input, i.e., input focus, notification of moves and resizes, etc.) themselves. With the X Window System, however, a special application designated as the window manager deals with this. There are many, many window managers available for the X Window System. GNOME supports window managers conforming to the freedesktop.org window manager specification and ships with the lightweight Metacity window manager.

At the highest level sits the desktop environment (in our case, GNOME). Its primary responsibility is to provide consistency between applications, both in look and in feel. So the desktop environment standardizes the widget toolkit and the behavior of the window manager. In addition, it provides utilities to make life easier for the user (e.g. panels, comparable to the Windows Taskbar or the Mac OS X Dock). The desktop environment may also specify behaviors for conforming applications for things like dragging and dropping objects from one application into another, embedding one document in another (even handled by a different application), rich object clipboard (e.g. providing the ability to copy and paste a picture from an image editor into a word processor, or formatted text and graphics from a web browser into a typesetting package), and so on. This usually takes the form of a set of programs that mediate between the applications and objects involved in the operation, and a set of libraries that make it easier for application writers to write applications that can participate in these object transfer or embedding operations.

With so many separate components, it would be remarkably easy for them to be developed in separate directions and end up not playing together well. This has been a problem with Linux desktops in the past. To alleviate these problems, freedesktop.org was formed to lay down basic guidelines on how desktop environments and window managers should interoperate. As desktop environments, window managers and widget toolkits are beginning to comply with freedesktop.org standards, their interfaces are becoming easier to integrate. Freedesktop.org is the reason a GNOME notification icon knows how to run in a KDE system tray and why rich object copy and paste works consistently across desktops. As the standards mature, the desktops will begin to share a common thumbnail and icon infrastructure, as well as a unified standard for displaying and dealing with menus and menu resources.

Getting GNOME

Gnome.org only releases source code?the building of binaries is left to third parties. If you are an advanced user and wish to build GNOME, by far the best way we have seen is by using Jeff Waugh’s excellent GARNOME script, which will download and build GNOME for you. By the time you read this, pre-compiled binaries may be available for most systems, or you can wait until the next major release of your distribution of choice, which will more than likely include GNOME 2.4.

The HIG: Bringing Consistency and Accessibility to the Desktop

If there was a heart of GNOME development, it would be the GNOME Human Interface Guidelines (HIG). The HIG, penned after much usability testing conducted by Sun Microsystems, specifies exactly how a GNOME application should appear and behave. Long shackled by its dependence on CDE, Sun chose to sponsor GNOME development and has been steadily investing in usability and accessibility. This investment has paid off, as GNOME has reaped usability awards in just a short time since release 2.0.

GNOME’s accessibility features make the desktop highly usable by the disabled, something that has traditionally been a weak point of UNIX desktops. Making a desktop accessible to disabled persons is not a simple task. There is a wide range of disabilities, and about as many assistive technologies (such as Braille keyboards and screen readers) designed to help those with special requirements interact with computers. These tools range in complexity from simple (such as the screen magnifier and on-screen keyboard) to advanced (such as the screenreader that uses a text-to-speech engine, and the ability to interface with Braille devices).

The HIG also describes how the desktop should feel to a user and how windows ought to be laid out and presented. It provides developers with consistent guidelines according to which GNOME applications should be authored. Most developers striving to get their projects included in the official GNOME release end up ?HIGifying? their applications. The end result for the user is a consistent, integrated desktop.

The GNOME Desktop

The Default Desktop

Now that you are familiar with how GNOME fits in as your Linux desktop and its general design goals, we can take a look at the default desktop. Upon launching GNOME, the user is met with a splash screen containing progress icons before a clean desktop appears. Like many of the larger open-source software projects, GNOME continues to improve in performance as the code base matures. Each successive GNOME release feels faster and more responsive than preceding releases, and even more so on the latest development kernels. Here’s a look:

The default GNOME desktop
The default desktop with Nautilus open, displaying the new multirooted tree view

The default desktop should be familiar to Mac OS X users. It consists of two panels?a top panel with a menu on the left; a clock, a calendar, and a volume control on the right; and a bottom bar left mostly blank for buttons indicating windows. The GNOME desktop environment is characterized by the panels and the desktop drawn by Nautilus. The panels can hold all sorts of program launchers and applets that sit in the panels, such as a CPU meter, an audio volume control, or even a local weather report.

Previous versions of GNOME contained different types of panels?floating, edge, corner and menu, characterized by their shapes and where they were ?anchored? on the screen. The functionality of all of these has now been collapsed into just one kind of panel, which can be configured to behave like any of the former kinds of panels. The special menu applet, previously fixed in the top left of the screen, can now be detached and placed in any panel, anywhere.

The Application Menu
The GNOME Menu applet

The standard applets that come with GNOME have also been substantially improved, with much HIG work being done on them for release 2.4, especially for keyboard navigation. The clock applet now has a built-in mini-calendar, a nifty feature first seen in Red Hat’s GNOME desktop. Our favorite new applet by far is the Post-It note?style applet, which lets you paste notes to yourself on your desktop (much like the Post-It notes that decorate many a monitor’s front), and remains sticky between sessions. All items on a panel can now be ?locked? into place, ensuring that unintentional mouse actions do not alter your desktop unless you want to do so.

GNOME users with multiple monitors will appreciate the improvements in the 2.4 release. Prior versions of GNOME were plagued with poor dual monitor support, with panels and windows spawning in seemingly random places. Metacity, the GNOME window manager, now supports the Xinerama X11 extension properly, so that it knows what display a window should spawn on, and how to properly maximize a window within its display.

Anyone who has used GTK+ applications to any significant extent will love to hate the GTK+ file selector. Indeed, it appears to be traditional for GNOME reviews to slam this dialog box, with its separate directory (folder) and file selectors, and poor filtering behavior. Sadly, GNOME users will have to live with it until release 2.6. Release 2.4, using GTK+ 2.2, still uses it. While it is a poor dialog box, some distributors such as Ximian have patched in a different dialog box, which has also made its way into some distributions, e.g. Debian.

Mmm, Scalable Vector Graphics (SVG) icons

Scalable Vector Graphics (SVG) icons have finally made their debut on the panel, after becoming completely usable in the file manager, Nautilus. This means vendors and users can utilize SVG icons on the entire desktop. SVG is a vector graphics format based on XML, comparable to Macromedia Flash (only not a proprietary format). An open standard backed by the World Wide Web Consortium, SVG and other XML technologies are used throughout the GNOME platform. Since it is a vector graphics format, it describes the element shapes the graphic is made of (e.g. arcs, polygons, text, etc.) instead of the pixels that a bitmap graphic defines. The result is that SVG icons can be resized without any quality loss, and can also be antialiased effectively. Bitmapped icons, on the other hand, become pixelated and blurry when enlarged.

Bitmapped icon, 32x32 Bitmapped icon, maximized
A non-SVG icon at 32×32 (native size) and stretched to the maximum

SVG icon, small SVG icon, large
A SVG icon at 32×32 and stretched to the maximum

As you can see, SVG graphics do not become pixelated or ugly when stretched, so they are ideal for icons, since only one file is needed for each icon instead of having a file for each size the icon is required in. Surprisingly enough, the use of SVG icons instead of bitmaps does not appear to have any noticeable effect on performance.

The Epiphany Web Browser

Epiphany makes its debut as the GNOME default web browser. Built upon the Gecko rendering engine and tracing its roots back to the Galeon browser, Epiphany’s strict HIG compliance makes it the model example of what a properly-built GNOME application should feel like. Loading and rendering speed is roughly the same as Mozilla Firebird, since both use the Gecko engine to render web pages. Epiphany shows its strength by consistently following the feel of the rest of the desktop and integrating into Nautilus. Bookmark importers for Mozilla, Konqueror, and Galeon are present, making it easy for users to migrate their settings.

Epiphany Web Browser
?

As you can see in the screenshot, Epiphany supports tabbed browsing. The bookmarks are filed in the GNOME menu as ?Web Bookmarks? as well as made available via the expected ?Bookmarks? menu item in Epiphany itself. Epiphany, and GNOME in general, will benefit from mozilla.org’s Gecko Runtime Environment; this will enable Epiphany to fully shed unnecessary Mozilla dependencies.

Epiphany is a simple, elegant browser. Unlike some other browsers, in Epiphany you will not find half a dozen ways to use tabs and manage cookies and bookmarks, as Epiphany is targeted towards the average user. Power users, however, may find Epiphany’s lack of features a shortcoming. Taking a page from Mozilla Firebird, the Epiphany browser includes a plug-in architecture that allows more advanced users to extend the functionality of the browser without cluttering the interface for less experienced users. The number of extensions is rather slim at the moment, but we expect them to become more popular.

The Nautilus File Manager

Nautilus, the GNOME file manager, has the dubious reputation of being the most improved application between releases, while simultaneously also being the application that needs the most improvement. Unfortunately, this version continues to improve slower than the rest of the desktop. To be fair, Nautilus has had a rather rocky history, going from monolithic bootstrap installer and software catalogue to a lean task-based file manager built out of components. The future looks brighter, though: the Nautilus team has finally solidified, so improvements should start happening at a much faster rate.

Nautilus makes heavy use of views?components which sit within the main Nautilus frame. Components range from the simple icon view, all the way up to embeddable word processors.

Thumbnails of videos in NautilusThis release adds a much-requested ?snap-to-grid? function to the desktop, and the right-click context menu has been cleaned up and made shorter. The tree view on the left of the window is now multi-rooted, and expands as the user navigates around the filesystem. In the past, Nautilus showed the entire filesystem in one tree in the sidebar. Due to the multi-rooting, the user’s home directory and the rest of the filesystem are now separated. This allows the user to concentrate on his files in the home directory, while also allowing a seasoned user or system administrator access to the system directories.

Performance has been improved, and thumbnailing is now plug-in?based. When teamed up with the media player Totem, Nautilus is able to display media thumbnails in the file manager and on the desktop. A nice added touch is the ?film sprocket? framing for videos, which allows you to differentiate a movie thumbnail from a picture thumbnail at a quick glance. Unfortunately, it was decided that Totem will not be included in this release. (We have more on this later.)

?

View with icons beside descriptions

A new icon view debuts in this release, with the ability to display the filename to the right of the thumbnail/icon. Unfortunately, long filenames are not truncated elegantly, resulting in a misaligned view if you have a directory containing many files with irregular name lengths. Another long sought-after feature included in this release of Nautilus is the ability to hide files and directories within the filesystem. This is achieved through the use of a configuration file called ?.hidden?. Files named in this file will not appear in any Nautilus views.

Nautilus also supports scripting. Routine or repetitive tasks can be automated using scripts written in languages like Perl, Python and the Bourne shell. While GNOME 2.4 does not ship with any scripts, they are fairly easy to write, and a large collection can be found at G-scripts.

Advanced features like new views can be implemented as Nautilus components. One such notable example is the CD burner add-on, which allows files and music tracks to be written to CD-R with a few mouse clicks. Another is a media add-on which displays video and audio files, complete with metadata and a simple media player. As expected with any modern desktop, PDF documents are handled out of the box. Gpdf makes its debut as the PDF viewer for GNOME. While an excellent on-screen viewer, we were surprised and dismayed to find that gpdf has no print functionality at the moment. Fortunately, printing will be included in the GNOME 2.4.1 point release, so the feature should be available soon.

Nautilus uses gnome-vfs to provide access to files outside of the local filesystem. GNOME 2.4 ships with support for WebDAV (so you can use your .Mac iDrive in Nautilus), FTP, SMB (Microsoft Windows networking) and NFS. Unfortunately, performance with the last two protocols is abysmal. SMB and NFS file operations take orders of magnitude longer in Nautilus than in Windows Explorer (SMB only), Konqueror, and the Samba command-line clients. Directories containing more than 100 files are virtually unusable over the network. Performance for local directories with a large number of files has improved dramatically, however.

Desktop accessibility tools

Gnome 2.4 ships with GOK, an award-winning dynamic onscreen keyboard. It supports Direct Selection, Dwell Selection, Automatic Scanning and Inverse Scanning, and includes word completion. A detailed overview can be found on the GOK website.

Gnopernicus, the second accessibility application to ship with GNOME, provides a number of assistive technologies for people suffering from visual impairment. Most notably, it includes a screen reader, a screen magnifier and a Braille writer.

The GNOME Developer Platform

GConf

Windows has the Registry to keep track of settings. Linux, in contrast, has dotfiles (files whose names begin with a period). While GConf and the Windows Registry share the same goal, it is important to note that the similarities end there. Typically, Linux dotfiles can be found in a user’s home directory and contain configuration data. While these are robust, easy to edit with a basic text editor, and simple to backup, they lack a consistent API or a consistent format or organization. They’re also difficult to lock down, and they make imposing a network-wide configuration policy rather difficult. GConf is the GNOME project’s attempt at retaining the benefits of plain text files, while addressing these disadvantages. Unfortunately, the GConf editor shares a user interface similar to Regedit, leading many critics of GConf to wrongfully classify it as poor clone of the Windows Registry.

GConf stores data in a tree structure similar to a filesystem. ?Files? are configuration keys (?wallpaper?) and contain values (?my-smooth-wallpaper.png?). These are contained within ?directories? (?desktopsettings?) and are separated by forward slashes as the delimeters (?/desktopsettings/wallpaper?). The actual data storage is performed by a set of backend plugins. The default backend stores values in a directory hierarchy in ~/.gconf, with each directory carrying one XML file that contains the settings at that level.

GConf has a number of important properties. A notification service alerts applications to changes in configuration data, and is used by GNOME to (among other things) propagate settings to multiple applications. As GConf is the de facto way of persisting application settings, virtually every developer building applications for GNOME will end up utilizing it. They will be rewarded with a reasonable API and rich featureset. End users will appreciate the instant application of system-wide settings (such as network proxy server and desktop theme preferences), and system administrators will appreciate the options for site-wide configuration presets.

Support for multiple configuration sources allows things like a network-wide configuration policy to be implemented. GConf can be told to search a read-only network-wide configuration database before the user’s own database. For example, this might be used to enforce corporate standards for desktop settings. It is also network aware, allowing multiple logins to access the same GConf store.

A command line tool (gconftool) and a simple GUI application (gconf-editor) are supplied to facilitate administration.

GConf Editor
The GUI gconf-editor tool, shown here inspecting the settings for Galeon. Note the per-key documentation.

GStreamer

Whether watching the latest movie trailer or listening to music, multimedia is an essential component of any modern desktop. GStreamer, which is still a relatively new library included with GNOME, provides a consistent, lightweight and extensible set of APIs for developing multimedia applications.

GStreamer is a pipeline-based framework. Arbitrary elements are connected together into pipelines through which streams of data pass. A pipeline can consist of:

  • codecs that deal with encoding and decoding various video and audio formats,
  • filters that manipulate a stream in some way. A filter might apply a reverberation effect or resize a video,
  • generic helper functions that don’t fit cleanly into any of the other categories,
  • sinks that form the end of the pipeline and deal with outputting the stream in some manner (to a file, to the screen, to the network, etc.),
  • sources that inject data into the pipeline, and
  • visualizations that output a visual representation of a stream, either for entertainment like goom, or for practical purposes, like a monoscope.

Elements are loaded at runtime and are completely self contained, something which facilitates the distribution of binary-only codecs.

To illustrate, let us build a pipeline to play an MP3. The first thing we need is a source?something to get data into the system. In this example, we need a filesrc object to read our MP3 from disk and output the raw MP3 stream. An encoded MP3 doesn’t do us much good?we need something to decode it. Happily, codec objects take an encoded stream and output a stream of raw audio or video. There are a number of MP3 codecs, but the ffdec_mp35 one will do. The last thing to do is to output the raw audio stream?a sink in GStreamer terms.

Our complete pipeline looks something like this:

GStreamer pipeline for MP3 playback

If we wanted to output our MP3 to a different format, we would simply replace the alsasink object with a filesink object and drop a vorbisenc object between it and the ffdec_mp35 object. Voil??transcoding from MP3 to Ogg Vorbis.

MP3 to Ogg Vorbis transcoding pipeline

While support is not yet finished, video streams can be manipulated in the same way as audio streams. We could, for example, use a DV1394 source to get a video stream from a FireWire DV recorder, pass it through an effects object which crops the video down, encode it using a MPEG-2 encoder and output it to a file using a filesink.

Video stream encoding pipeline

As a more convoluted example, we could take a stream from a DV1394 source, pass it through an effects object (for that cheesy home video feel), display the results on screen and transmit it across the network using UDP.

Pipeline for network playback of a video stream

GStreamer includes a number of features designed to make life easier for developers. Caps negotiation allows elements to negotiate a compatible data type and autoplugging allows pipelines to be automatically constructed by specifying source and destination types. As a developer, the choice between using an ad hoc collection of disparate libraries or a consistent, integrated end-to-end solution is not a hard one to make.

Unfortunately, GStreamer is still quite new and the number of applications which make use of it are rather thin on the ground.

Pango

With an increasing percentage of GNOME users speaking and writing something other than English, support for non-ASCII character sets and non?left-to-right languages has become a pressing issue. The Pango project was started to develop a flexible open source solution for internationalized text layout and rendering. It now forms the basis for all text rendering within GNOME and GTK+.

The display of internationalized text is a difficult problem. Western languages, such as English, are fairly simple to display. The characters are simple and few in quantity, there are few contextual rules?for instance, the shape of the letter ?P? doesn’t change depending on its position in a sentence?and things like ligatures (linguistic shorthand which serves to make text more ornate or improve efficiency?for instance, & is a Latin ligature of ?et?) are typographic niceties, not vital parts of the script.

?

Text orientation

Arabic script followed by a passage of English

Non-Western languages are a completely different proposition: individual characters can be extremely complex. Some languages have thousands of similar-but-different glyphs. Due to contextual and positioning rules, word and glyph order are liable to change (reordering), Frequently, ligatures are often numerous and vital (e.g. Arabic).

The Pango solution

Pango has four main design goals:

  • Modularity. Language dependent code is split off into loadable modules. This allows new languages to be easily supported and allows the size of the Pango library itself to be kept quite small?important for embedded applications.
  • Independence from toolkit and font system. While Pango was originally built with GNOME and GTK+ in mind, it has been ported to Windows and is as platform-independent at possible.
  • Comprehensiveness. Pango was designed to support as large a set of languages as possible.
  • Quality of rendering, especially in languages with complex glyphs.

Currently, GNOME 2.4 supports more than 50 locales ? largely thanks to Pango and the dedication of translators from all over the world. Right to left languages such as Hebrew are supported and many GTK widgets re-arrange themselves accordingly.

Widgets using Hebrew Widgets using English
Part of the GTK+ colour selection dialog box, in Hebrew (left) and English (right)

Nautilus in Chinese Nautilus in Hebrew
A Nautilus window in Chinese (left/top) and Hebrew (right/bottom). Note the reordering of widgets on the menu and toolbars.

Most developers will never actually touch Pango directly, though its benefits are felt by the entire GNOME platform. It is fair to say that everyone will appreciate the sophisticated font handling, antialiasing and Unicode support GNOME 2.4 boasts.

Developer accessibility tools and final thoughts

One of the core components of the GNOME platform is the Accessibility Toolkit (ATK), which defines system wide interfaces for storing and retrieving accessibility information. ATK makes it possible for assistive technologies to query running applications for state information, such as the name of the focused widget, its state and its role in the application. GTK+ implements the interfaces specified by ATK, which means that all standard GTK+ and GNOME widgets are “accessible.” A set of helper functions are provided to make it simple for developers to make their custom widgets accessible.

The Assistive Technology Service Provider Interface (AT-SPI) is complementary to ATK and allows new assistive technologies to be easily integrated into the GNOME platform.

The ATK ensures that the technologies used by disabled users to interact with a computer are able to communicate in a meaningful way with the desktop environment. Thus the ATK enables developers to easily develop applications which are accessible by virtually anyone who can interact with a computer with minimal effort. As countries like the United States pass accessibility laws like the Section 508 Guidelines, it has become more important for applications to become aware of the needs of people with disabilities.

Final Thoughts

Rating: VIII of XGNOME 2.4 brings to the Linux desktop considerable polish, accessibility and consistency. This release is a culmination of the work done by commercial vendors and the GNOME community, as evidenced by the fact that three vendors–Sun, Red Hat and Ximian–have already shipped desktops focused on the GNOME 2 platform. The end result is a pleasant desktop that is nimble, attractive and unobtrusive. While it’s not perfect, the foundation is now there and the overall product has matured. Once the application suite that surrounds the GNOME Desktop (commonly known as the Fifth Toe Applications) reaches stability with their GTK+ 2 ports, the whole desktop suite will be complete. So while this release is more about consolidation and refinement than earth-shattering new features, it is still a worthwhile upgrade.

There are places where GNOME needs some improvement, however. While we admire GStreamer’s multimedia framework, it is disappointing that no powerful multimedia applications are shipped with GNOME 2.4. Rhythmbox, the iTunes-inspired music manager, and the Totem video player are still not fully integrated with GStreamer, and the desktop suffers as a result. Most users will probably use the venerable XMMS for music, or build these two applications with the more reliable and proven Xine backend instead. Considering that this is the second major GNOME release with GStreamer, there should be more applications available for users that use the framework.

While these shortcomings are noticeable, it should be noted that the project’s insistence on HIG compliance and ?doing things right? tend to echo throughout the desktop. The new file selector, Rhythmbox and Totem will be done properly, or not included in the desktop, period. Contrast this to the way the GNOME project used to do things, like shipping with half a dozen clock applets, and users will come to appreciate the consistency.

Pros

  • Epiphany web browser with its elegant, non obtrusive interface
  • ruthless dedication to a consistent desktop via the HIG (most notably the panels and applets)
  • excellent multimedia framework

Cons

  • lack of multimedia applications taking advantage of the multimedia framework
  • poor network performance in Nautilus
  • PDF viewer lacks print functionality

So what can we expect in GNOME 2.6? Our guesses are that the GStreamer applications will make it in once they mature, like sound-juicer (the CD ripper and encoder), Rhythmbox and a GStreamer-powered Totem. Expect deeper freedesktop.org integration, which will bring more consistency for all Linux desktop projects, as well as more ?enterprise level? management tools to manage large GNOME installations. We would like to see more HIG-compliant applications available for the desktop, as consistency and integration is a key to Linux desktop growth. If this release is any indication, though, within six months we will enjoy an even more Linux powerful desktop.

Revision History

Date Version Changes
9/9/2003 1.0 Release
0 Comments

Comments are closed.