Create PDF Recommend Print

Controlling GTK Appearance (rev2)

Created Monday, 11 January 2010 Created by Nano
Categories News::Linux | Frontpage
(0 votes)

... outside of GNOME

 

Many people still belive it's impossible to configure the GTK+ apperance outside of GNOME, but of course it is.

 

Configurationfiles:

per-user ~/.gtkrc-2.0
system-wide /etc/gtkrc-2.0

Doing changes to gtk+ via that file(s) is trivial, and the key for anyone who asked "Why does Fedoras GDM use Nodoka instead of Raleigh?". (Raleigh is the utra-fast, but ultra-ugly gtk+ fallback theme)


First, change the theme:

gtk-theme-name="Clearlooks"

for example.


Note: use the name of the directory as name

(eg if its /usr/share/themes/X-X.xx-a, use X-X.xx-a as name)

 

Changing the Icontheme is as easy as above:

gtk-icon-theme-name="gnome"


Now the Cursor:

gtk-cursor-theme-name="default"

 

Last but not least the font:

gtk-font-name="Arial"


There are a lot more settings. Install the documentation package for gtk and devhelp, run devhelp and navigate to GTK+ Reference Manual -> GTK+ Core Reference -> Settings -> Here you go!

 

If you prefer to do that in a graphical way, you may check out lxappearance.

In addition, you may want to give the XSettingsD a try.

 

Have Fun

Add comment


Security code
Refresh