Installing and Customizing Fedora Desktop Themes

Revision as of 16:44, 12 December 2007 by Neil (Talk | contribs) (Creating a Custom Theme Package)

Revision as of 16:44, 12 December 2007 by Neil (Talk | contribs) (Creating a Custom Theme Package)

One of the key advantages of Linux desktops in general is the fact that they can be customized to meet any particular preferences. In this chapter of Fedora Desktop Essentials we will look at changing both the theme and the fonts used by the desktop.

What is a Desktop Theme?

The theme of a desktop defines how various aspects of the desktop appear. Each theme contains a number of different categories which define how different aspects of the desktop appear:

  • Controls - Defines how items such as pushbuttons, toggle and sliders appear.
  • Colors - Specifies the color scheme of windows, input boxes, selected items and tooltips. A different color is specified for each item.
  • Window Border - The design style of the border surrounding each window on the desktop.
  • Icons -Defines the design of icons which appear on the desktop (for example Folder. Trash and My Computer icons).
  • Pointer - Defines the size and style of the mouse pointer icon.

A number of different themes are installed by default with Fedora. In addition, a wide range of other themes are available for download. A theme can be further customized if you do not like a certain aspect of a particular theme.

Note that themes are not considered to be a system-wide setting. This means that changes made to the current theme affect only the currently logged in user. Other users will still see their preferred theme when they log in.

Changing the Fedora Desktop Theme

Theme settings are configured from the Appearance Preferences screen accessed from the System->Preferences->Look and Feel->Appearance menu option. When the screen appears make sure the Themes tab is selected so that the dialog appears as follows:


The Fedora Desktop Theme Screen


The current theme is the highlighted theme (in the above screen this is the Fedora theme). To change to a different theme simply select a different theme from the list. The desktop will dynamically change to reflect the newly selected theme.


Installing a Theme

Although Fedora is installed with several different theme options this represents a small subset of themes that are available online. A wide range of themes are available for download from http://art.gnome.org/themes.

The themes are downloadable by theme sub-category (i.e Window Border, Icons etc). Let's start by installing a new Window Border theme. On the right hand side of the GNOME Art website click on the Window Border link beneath Desktop Themes. This will filter the list of themes so that only Window Border themes are displayed. Scroll down the list and click on a theme that is not currently available on your Fedora installation (for this example we will use the MetaGrip theme.

Download the theme to the desktop so that it appears as a desktop icon:

Fedora desktop theme icon.jpg

The new theme can be installed one of two ways. Either click and drag the theme package from the desktop to the Appearance Preferences dialog to add the theme, or click on the Install... button in Appearance Preferences and navigate to the location where the theme is installed.

Once the theme has been added you will notice that it does not appear on the main screen of the Appearance Preferences Theme page. This is because this is a Window Border theme, not an entire desktop theme. It can, however, be used to create or customize a theme package.

Creating a Custom Theme Package

Any theme may now be used to either customize an existing theme, or to create a new desktop theme.

In this example we will create a custom theme which includes our new Window Border design. Scroll down the list of themes until you find a theme on which to base the new theme. Select this theme and click on the Customize... button. A new theme called Custom will appear in the list. In the resulting Customize Theme dialog select the Window Border tab so that the list of available window border themes appears:


The Fedora Theme Customization Dialog


Scroll up and down the list of themes until you find the new theme (in this case the MetaGrip theme). Select the theme and watch the desktop window borders change instantly to this new style. Spend some time changing some of the other theme settings such as text colors and icon and pointer styles. When you have a new theme that you are happy with simply close the Customize Theme.

Assuming this is a theme you would like to use again the next step is to give the theme a name and save it. To achieve this make sure the Custom theme is selected and click on Save As.... The Save Theme As dialog will now appear. Provide a name for your theme and add comments if desired. You can also optionally include the current desktop background in the theme package:


The Fedora Desktop Save Theme Dialog


Once the theme is saved it will appear in the list of available theme packages along with the standard Fedora themes.

Summary

In this chapter we have looked in detail at selecting, installing and customizing Fedora desktop themes. In the next chapter we will look at Configuring Fedora Desktop Fonts