Installing and Customizing CentOS 6 Desktop Themes

From Techotopia
Jump to: navigation, search
PreviousTable of ContentsNext
Configuring the CentOS 6 GNOME Desktop BackgroundConfiguring CentOS 6 Desktop Fonts


Purchase and download the full PDF, ePub & Kindle versions of this CentOS 6 eBook for only $9.99
Kindle/ePub/PDF edition contains 39 chapters and over 240 pages.

Buy eBook


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 we will look at changing the CentOS 6 GNOME Desktop theme to change the appearance of various aspects of the desktop user interface.




What is a Desktop Theme?

The theme of a desktop defines how various aspects of the desktop appear to the user. Each theme contains a number of different categories each of which defines how certain aspects of the desktop appear:

  • Controls - Defines how items such as pushbuttons, toggles 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 that appear on the desktop (for example Folder, Trash and Computer icons).
  • Pointer - Defines the size and style of the mouse pointer icon.

A number of different themes are installed by default with CentOS 6. In addition, a wide range of other themes are available for download. Further, a theme may be customized if you do not like a certain aspect of that 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 CentOS 6 Desktop Theme

Theme settings are configured from the Theme Preferences panel accessed from the System -> Preferences -> Appearances menu option and selecting the Theme tab of the resulting dialog. Once invoked, the dialog will appear as illustrated in the following figure:


The CentOS 6 Theme Preferences panel


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


Downloading and Installing a Theme

Although CentOS 6 is installed with several different theme options, in reality this represents only 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). By way of example, we will start by installing a new Window Border theme. On the home page of the GNOME ART Themes web page click on the Window Borders link located beneath the Categories heading. 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 CentOS 6 installation (for this example we will use the MetaGrip theme).

Select the option to download the theme and choose the option to open the theme using the Theme Installer. Once installed, the option will be provided to apply the theme to the current desktop. For the purposes of this exercise, select the Keep Current Theme button.

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

Creating a Custom CentOS 6 Theme Package

It is possible to either customize an existing theme, or to create an entirely 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 that we are going to create. Select this theme and click on the Customize… button. In the resulting Customize Theme dialog select the Window Border tab so that the list of available window border themes appears:

CentOS 6 Customize Theme 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 dialog.

In the background the preferences tool has created a new theme named Custom which you should see in the top left hand corner of the themes list in the main Appearance Preferences window. 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 the Save As...' button. When the Save Theme As… dialog appears, provide a name for your new theme and add comments if desired. You can also optionally include the current desktop background in the theme package by selecting the box next to the Save background image label:


CentOS 6 Save Custom Theme dialog


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

Summary

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


Purchase and download the full PDF, ePub & Kindle versions of this CentOS 6 eBook for only $9.99
Kindle/ePub/PDF edition contains 39 chapters and over 240 pages.

Buy eBook



PreviousTable of ContentsNext
Configuring the CentOS 6 GNOME Desktop BackgroundConfiguring CentOS 6 Desktop Fonts