11.4. The GNOME Desktop EnvironmentThe GNOME desktop environment was conceived in 1999 as an alternative to KDE, with its roots in the GPL and LGPL. Like KDE, GNOME had the goal of providing modern, easy-to-use applications that work with each other and with existing X applications. We're going to give you a tour of GNOME the way it commonly looks, but you should be aware that it's a general-purpose framework with really unlimited flexibility. For example, we show the current window manager, Sawfish, but you can install a different window manager with a completely different behavior and appearance. The GNOME libraries, as well as the X libraries, underlie all the components, and have appeared in command-line and even server-based applications as well as the graphical desktop. In addition, the GNOME project has developed some powerful applications in typical areas of office work, such as spreadsheets and address books. Any X application can run under GNOME (although it has to be written with the GNOME framework to use the most powerful desktop features, such as the virtual filesystem and themes). In particular, a lot of KDE applications work very nicely on GNOME, and vice versa. Of course, for our purposes, the interesting parts are the core desktop and its associated applications. In the next sections, we'll go over the GNOME look and feel, talk a little bit about the customization options it offers to you, and then give a quick tour of major applications, such as Evolution and Gnumeric. But first, you'll want to make sure you have the software and that it's up to date. 11.4.1. Installing and Updating GNOMEMost Linux distributions include GNOME, but if you haven't installed it yourself, or if you want a newer version, you can visit http://gnome.org for source and http://ximian.com for convenient binaries. Ximian offers a preassembled distribution of the desktop for the most common Linux distributions. To install it, do the following:
The command downloads a graphical installation program, shown in Figure 11-8. Follow the on-screen instructions, and in a few minutes you'll have everything installed. The installer will ask you to log out, and when you log back in, a wizard will guide you through the process of setting some preferences for your new desktop. Figure 11-8. Installing GNOMEUpdates are also easy in GNOME: the Red Carpet utility (red-carpet at the command line, or click System, and then Get Software from the GNOME menu panel) checks for updates to your entire system, including GNOME, and offers to install them for you. Software is divided into neat channels — one for your distribution, another for the GNOME desktop, another for additional software like the Opera web browser or the CodeWeavers WINE tools. When you subscribe to a channel, Red Carpet will check for updates to the software that's on your system from that channel. You can also add or remove software in each channel by choosing the Update, Install, or Remove buttons along the upper-right corner of the channel windows. 11.4.2. Core Desktop InterfaceThe GNOME desktop is designed to be familiar to anyone who has used a computer before. Although you can change the settings in almost any way, a typical installation will have a desktop with icons on it and a panel along the top and bottom. The panels are among the most important GNOME tools because they are so versatile and they allow a wide range of interactions with your system. Panels can exist along one edge of your screen, like the Windows control panel; along a portion of it, like the Macintosh Control Strip; in an arbitrary position on the screen, like the NeXT dock; or in a combination of styles. They can contain menus, buttons, and small applications or applets, such as clocks, window lists, network and system monitors, and even tiny games. A few features differ slightly from other graphical interfaces, such as the ability to have multiple virtual workspaces (familiar to fvwm users, but not many others) and some of the bells and whistles in the Nautilus file manager. We'll cover some of them in passing, but the majority of them are small enough that you can discover them on your own. Here is a quick explanation of how to perform the most common tasks. Once you get the hang of these, you can probably guess how to do anything else.
11.4.2.1. The panelThe preset configuration for many systems has a thin panel along the top and bottom of the screen. The top panel has a set of menus along the upper left, and a few buttons and a clock at the right. The bottom panel contains the window list applet, which should feel familiar to users of Microsoft Windows. To create a new panel, click any blank space in an existing panel, and choose Panel Create New Panel, then select the type of panel you would like. To change a panel's properties, such as its size and color, right-click it and choose Properties (the menu panel at the top of the screen has no available properties; it is preconfigured for one position and size). Experiment with different kinds of panels and with different sizes to see which ones you like best. If you use a smaller screen, like a laptop screen, you will want to choose a smaller panel size than if you have plenty of screen real estate to use. To add application launcher buttons to your panels, you can drag them from menus, or right-click the panel and choose Panel Add to Panel Launcher. Then, enter the name of the application you want to run, and choose an icon. You may also choose a description of the launcher that will display as a tool tip when you hover the mouse over the icon in your panel. If you want to launch the application from a terminal, check the "Run in Terminal" box. For more information on the panel, right-click any empty spot in the panel and select Panel Panel Manual. Panel applets are small applications that run inside the panel. You can add them to the panel from the Add to Panel menu or just run them by clicking Applications Applets. Panel applets come in a bewildering variety of flavors, from games to utilities. Some of the most common are:
11.4.2.2. Nautilus: your desktop and file managerNautilus is the name of the GNOME desktop and file manager. It controls the display of your background image and the files on your desktop, allows you to interact with files without using a terminal, and keeps track of your trash for you. In other words, it's the GNOME equivalent of Windows Explorer, the Macintosh Finder, and KDE's Konqueror. TIP: In most cases, Nautilus will be running when you log in. If it isn't (you'll know: your desktop will not have any icons on it), you can start it from a terminal window by typing nautilus. If you decide you don't want to run Nautilus at all, you can remove it from your session with the Session Properties tool in the Control Center. Like those other applications, Nautilus lets you drag items from one place to another. You can also copy files using Ctrl-C, cut with Ctrl-X, and paste with Ctrl-V. The quickest way to get started with Nautilus is to double-click the home icon in the upper-left corner of your desktop, labeled as your home. This will open your home directory. TIP: Normally, the files on your desktop are stored in ~/.gnome-desktop. However, if you prefer to have your home directory be displayed on the desktop, select Preferences, Edit Preferences, and under the Windows and Desktop category check the "Use your home folder as your desktop" checkbox. Nautilus looks a good deal like a web browser, and in fact it can be used as one. At the top is a toolbar with buttons that you can use to navigate through your directory structure: back, forward, up, refresh, and home. The location bar, like in a web browser, describes the location of the file or directory you're looking at in this window. If your username is jdoe and you click your Home icon, you'll see /home/jdoe in the location bar. The left side of the Nautilus window appears to be blank. However, if you look on the lower-left side, you'll notice tabs for Notes, Tree, Help, History, and News, as follows:
Click a tab and it will expand to fill the sidebar. Nautilus has some additional fun features that you won't find in other applications, as in:
All in all, Nautilus is a versatile tool that you can learn to use just by poking around a little. For additional help, just choose Help, and then Nautilus User Manual from any Nautilus window. Copyright © 2003 O'Reilly & Associates. All rights reserved. |
|