GTK-Themes

Differences between revisions 1 and 2
Revision 1 as of 2006-03-22 18:18:30
Size: 1241
Editor: 0x3e42da90
Comment:
Revision 2 as of 2006-03-22 20:04:40
Size: 1240
Editor: 85-124-10-235
Comment: Glynn Foster is called Glynn Foster, not Forster
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
[http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html Designing Metacity Themes] by Glynn Forster. [http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html Designing Metacity Themes] by Glynn Foster.

Theming Tricks, for the Inspired Artist

The goal of this page is not to tell you how to design and implement a theme from scratch. If you are entirely new to theming it is suggested that you look elsewhere. The goal of this page is to convey some of the trickier and/or less documented parts of theming.

Resources

[http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html Designing Metacity Themes] by Glynn Foster.

[http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html GTK Resources Files] documentation.

Tricks

Suggesting a Wallpaper

In your index.theme file put a line like "BackgroundImage=/absolute/path/to/image.png" under the X-GNOME-Metatheme header. For packaged themes wallpapers should be asumed to be placed in /usr/share/wallpapers.

FIXME: Is it possible to set a specific solid color, or a gradient?

Setting the Background on Nautilus Special Places' Headers

Put something like the following in your gtkrc:

  • style "extra-view-widgets" {
    • # Fx. The special header in Nautilus Search and CD Creator bg[NORMAL] = "#CD6127"
    } widget "*.nautilus-extra-view-widget" style:highest "extra-view-widgets"

Artwork/Documentation/GTK-Themes (last edited 2009-04-12 19:46:03 by p508958A1)