2.2. Customizing GNOMEFedora's version of the GNOME desktop provides a convenient and attractive desktop environment, but by customizing it for the way you work you can increase your comfort and productivity. 2.2.1. How Do I Do That?Almost all of the Fedora GNOME desktop, as well as desktop options that are not part of GNOME or KDE, can be configured using the System This lab looks at the GNOME settings most commonly used to customize the desktop.
2.2.1.1. Customizing the desktop appearance using themesThe GNOME desktop and the Metacity window manager (the default GNOME window manager) use themes to configure appearance. Each theme is a combination of configuration information, images, and software that provides a particular visual effect and behavior. Three types of component themes are used on the desktop:
One component theme from each category can be combined into an overall desktop theme. To change themes, select System Figure 2-6. Theme preferences tool![]() You can select a desktop theme from this list by clicking on it. The theme will start to load immediately, and the appearance of your desktop will change in a few seconds. To create a custom combination of component themes, click the Theme Details button. The window shown on the right of Figure 2-6 will be displayed. There is a tab for each of the three component theme types. You can select a different theme for any of the components, and when you do, a Custom Theme entry will appear in the main Theme Preferences window. Your selection will take effect immediately so that you can preview the effect. Once you are satisfied with a combination of component themes, click on the Save Theme button to name the combination and save it as a desktop theme. To install additional component themes, open a browser and go to http://art.gnome.org/, and open the Theme Preferences window in an adjacent part of the screen. When you find a theme on art.gnome.org that you wish to install, simply drag the download icon (a small floppy disk) from the browser window to the Theme Preferences window, and it will automatically be installed. You can then combine that component theme with others to produce a new desktop theme as described earlier. 2.2.1.2. Customizing the panelsFedora's desktop is configured with two panels by default: one at the top of the screen containing the menus, icons, and applets, and one at the bottom of the screen containing the task list. You can add another panel by right-clicking on an existing one and selecting New Panel. The new panel will appear on an edge of the screen that doesn't have a panel, or at the top of the screen if all of the edges are occupied. You can move it to another location by dragging it with the mouse. To delete a panel, right-click on it and select "Delete this Panel." If there is anything on the panel, a confirmation dialog will appear before the panel is deleted. To add items to a panel, right-click on the panel and select "Add to Panel." Although most of the options presented are applets or monitors, you can also add a drawer, which is like a panel that can be unfolded from another panel. A drawer is managed in the same way as a panel, by right-clicking on it. To move an item around a panel, or move it to another panel, middle-click on the item and drag it (or right-click and use the Move menu option). To push along other icons, hold the shift key while dragging. To delete an item from the panel, right-click on it and select "Remove from Panel." To set a panel's properties, right-click it and select Properties. A small window will appear, containing two tabs, General and Background. The General tab contains these settings:
The Background tab lets you set the background color to the default for the current desktop theme, a solid color (which can have a pseudo-transparency effect applied using the Style slider), or a background image. This is almost always left at the default setting, which uses the desktop theme. 2.2.1.3. Customizing the desktop background
The menu option System Figure 2-7. Desktop Background Preferences window![]() You can change to any of the listed background images by clicking on it. To add your own image, drag and drop an image file from the Nautilus file manager, or click the Add Wallpaper button and enter the filename; to remove an image, highlight it and click the Remove button. If you don't want a background image, select the No Wallpaper option. The Style control determines how the selected image will be displayed:
The Desktop Colors control sets the desktop color style (solid, horizontal gradient, or vertical gradient) and the colors used for that style. The color or gradient selected here will fill any part of the background not covered by an image and will show through background images that have transparency. 2.2.1.4. Customizing the window manager's behaviorSelect the menu option System
2.2.1.5. Customizing NautilusThe
Nautilus file manager is configured using the Edit Here are some common customizations for Nautilus:
2.2.1.6. Customizing keyboard shortcutsBoth mice and keyboards are effective input devicesbut switching between them can significantly slow you down. A good set of keyboard shortcuts enables you to perform common operations without switching to the mouse. Fedora's GNOME configuration contains a good set of keyboard shortcuts. To change shortcuts or add new ones, select the menu option System Figure 2-8. GNOME Keyboard Shortcuts window![]() This window shows a number of actions on the desktop and the shortcut key for each. To change a shortcut, click on an entry. The shortcut for that entry will change to read New Accelerator. Press the key or key combination that you wish to use for that keyboard shortcut; if the shortcut is not already in use, it will be assigned to the selected action, and if it is in use, the conflict will be displayed in an error dialog. To remove a keyboard shortcut, click on an entry, and then press Backspace.
2.2.2. How Does It Work?GNOME stores most of its configuration in hidden directories in each user's home directory. Most configuration options and settings are stored, using the Gconf system, in XML files located in ~/.gconf. Themes consist of a large number of files, stored in specific directories according to the type of theme and whether the theme is installed for personal use or system-wide use, as shown in Table 2-2. The GNOME theme configuration tools perform a personal installation of themes.
When a new user is created, the files and directories in /etc/skel are copied to the new user's home directory; you can include default configuration settings by placing them into that directory. For example, files in /etc/skel/.gconf are placed in ~/.gconf when a new account is created. GNOME panels are managed by the gnome-panel program, and the desktop is managed by Nautilus. 2.2.3. What About...2.2.3.1. ...making a theme available to all users?After testing component themes, you can move them from your personal theme directories to the system-wide directories: # mv /home/yourusername/.icons/* /usr/share/icons/ # mv /home/yourusername/.themes/* /usr/share/themes/ # chown -R root:root /usr/share/{icons,themes} 2.2.4. Where Can I Learn More?
|