Jump to content

GTK2 and GTK1 themes in KDE, Enlightenment etc.


Uiler
 Share

Recommended Posts

For some utterly strange reason if you set themes in Gnome 2 using the Gnome theme manager, the themes don't work anywhere else put Gnome 2. I don't seem to remember this happening in Gnome 1.*...In order to get GTK2 themes in working in KDE, Enlightenment etc. put a config file named ".gtkrc-2.0" in your home directory with contents like this:

 

gtk-font-name = "Arial 10"

include "pathtotheme/gtk-2.0/gtkrc"

 

You don't need to put the themes anywhere special.

 

For GTK1 put a config file named ".gtkrc" in your home directory with contents like:

 

include "pathtotheme/gtk/gtkrc"

style "Whateverthenameofthestyleis"

 

{

font = "-adobe-helvetica-medium-r-normal-*-*-120-*-*-p-*-iso8859-15"

}

 

If you use these in Gnome 2.* however it screws things up. The GTK2 config file conflicts with the Gnome 2 theme manager and the GTK1 config file doesn't work at all leaving you with the nasty default GTK1 theme. So if you are actually using Gnome 2.* be sure not to use these config files.

 

BTW, does anyone know how to define the icons you want for GTK2 programs?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...