Gtk themes

smoothmilk smthmlk at fuckmicrosoft.com
Sun Nov 9 22:49:44 UTC 2003


Yeah, it appears that whenever I open a program that tries to use my
theme, it says the following in the terminal i launched it from (for
example, up2date):

(up2date:4518): Gtk-WARNING **: Unable to locate theme engine in
module_path: "industrial",
 
(up2date:4518): Gtk-WARNING **: Unable to locate theme engine in
module_path: "industrial",
 
(up2date:4518): Gtk-WARNING **: Unable to locate theme engine in
module_path: "industrial",

It does that with most every program, evolution, gedit, gftp, xchat, any
of the redhat-config-* programs, etc.

So my question is, how do i recompile the module "industrial"? I never
actually compiled it before, I just copied the reference to it from the
"Industrial" theme and used it in my own theme. I have no clue where the
modules even are ;) I will mess around with the commands you gave and
see how it goes. Thanks for your help!


Gordon Messmer <yinyang at eburg.com> wrote:

Use strace, it may help you figure out why.
[gordon at herald:~]$ strace -eopen gedit 2>&1 | grep gtkrc
open("/etc/gtk-2.0/gtkrc", O_RDONLY)    = 18
open("/home/gordon/.themes/Wonderland/gtk-2.0/gtkrc", O_RDONLY) = 18
open("/usr/share/themes/Default/gtk-2.0-key/gtkrc", O_RDONLY) = 18

I also see a reference to my GTK theme in gconf:
.gconf/desktop/gnome/interface/%gconf.xml:<stringvalue>Wonderland</stringvalue>

Remove references to your old theme, then recompile it (if it has an 
engine), reinstall it, and use the Theme preferences program to select 
it again.


Use strace, it may help you figure out why.
[gordon at herald:~]$ strace -eopen gedit 2>&1 | grep gtkrc
open("/etc/gtk-2.0/gtkrc", O_RDONLY)    = 18
open("/home/gordon/.themes/Wonderland/gtk-2.0/gtkrc", O_RDONLY) = 18
open("/usr/share/themes/Default/gtk-2.0-key/gtkrc", O_RDONLY) = 18

I also see a reference to my GTK theme in gconf:
.gconf/desktop/gnome/interface/%gconf.xml:<stringvalue>Wonderland</stringvalue>

Remove references to your old theme, then recompile it (if it has an 
engine), reinstall it, and use the Theme preferences program to select 
it again.







More information about the users mailing list