Each theme has an index file which defines the characteristics of the theme. The name of the index file is /usr/share/themes/theme-name/index.theme.
The following is a sample theme index file:
[Desktop Entry] Type=X-GNOME-Metatheme Name=High Contrast Large Name[es]=Alto contraste grande Comment=Large black-on-white text and icons Comment[es]=Textos e iconos grandes en negro sobre blanco Encoding=UTF-8 [X-GNOME-Metatheme] GtkTheme=HighContrastLargePrint IconTheme=HighContrast MetacityTheme=Atlanta ApplicationFont=sans 18
The following table describes the keys in theme index files:
Table 3–1 Keys in Theme Index Files
Index File Key |
Description |
---|---|
Type |
Specifies that this theme determines the appearance of several theme options, such as controls, window frames, and icons. |
Name |
The name of the theme. This is
the name of the theme that is displayed in the |
Comment |
A brief description of the theme.
This is the text that is displayed under the name of the theme in the |
GtkTheme |
Corresponds to the controls setting in the Theme Details dialog in the |
IconTheme |
Corresponds to the icons setting in the Theme Details dialog in the |
MetacityTheme |
Corresponds to the window frame setting in the Theme Details dialog in the |
ApplicationFont |
Corresponds
to the application font setting in the |