Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/tinycore/wiki.tinycorelinux.net/inc/parser/metadata.php:24) in /home/tinycore/wiki.tinycorelinux.net/inc/actions.php on line 180
wiki:gtk_themes - Tiny Core Linux Wiki

Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

A GTK theme is a collection of visual elements which provides the same look and feel for across applications. Most of the extensions with GUI are using GTK+ graphical user interface which have to be setup properly to avoid missing icons on push buttons, displaying wrong characters, etc. Desktop environments like Xfce4 and LXDE are doing it, but in other cases it must be done manually.

Icon themes

An icon theme is basically a collection of cathegorised icons in different size and in scalable format in most cases.

There are several generic icon themes available having nearly complete icon sets, suitable in most situations. Safe choise to start with gnome-icon-theme or lxde-icon-theme which are in the TC repository, but you can try others as well.

There are special purpose icon themes providing less icons. Using such may result missing application icons.

Any number of icon themes can be installed, but only one used at the same time.

Configuration

GTK theme is defined by .gtkrc-2.0 file in the users home directory. As a minimum it must contain icon theme name, like:

gtk-icon-theme-name=“nuoveXT2”

for lxde-icon-theme or

gtk-icon-theme-name=“gnome”

for gnome-icon-theme. Other parameters can be added to the file:

gtk-icon-theme-name=“nuoveXT2”
gtk-font-name=“Sans 10”
gtk-toolbar-style=2^
While configuration file is human readable and can be edited manually, usually it is handled by programs. You can include your own configuration file to add parameters not handled by such program:

gtk-theme-name=“Raleigh”
gtk-icon-theme-name=“nuoveXT2”
gtk-font-name=“Sans 10”
gtk-toolbar-style=2
include ”/home/tc/.gtkrc-2.0.mine”^

Warning: Desktops, like LXDE and Xfce4 or extensions, like CPManFM take care of theme setting and provide .gtkrc-2.0 Check existence before installing your own, do not overwrite it. Install your own carefuly and only if really necessary!

Required extensions

Additionally to the icon theme following extensions must be installed:

hicolor-icon-theme.tcz shared-mime-info.tcz

Optionally librsvg.tcz maybe required to handle scalable pixmaps properly.

Tools

In Xfce4 you can use the built-in setting tool. Otherwise use lxappearance to configute GTK theme. It is developed for LXDE, but in fact a small desktop-independent theme switcher for GTK+ usable stand alone.

Print/export