Click to See Complete Forum and Search --> : Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so",


Satur9
03-27-2003, 03:25 PM
Hi All,

I'm trying to get GTK themes working under KDE, but haven't been able to do so far with luck. Running gnomecc in the terminal brings up the control centre, but whenever I switch themes, the colors change in the preview pane (and in the application) but the pixmaps and images don't. In other words, I can't get rid of those ugly scroll-bars and drop menus! I use Evolution as my mail client and would like to equip it with a theme similar to the default KDE highcolour theme.

When I change a theme through gnomecc I notice the below error printed in the terminal:

Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so",

I guess this is a GTK engine or library issue to do with libpixmap.so (duh!), but searching through this forum. on www.google.com/Linux (and various other resources) has yet to provide me with a solution. Plus, I don't want to play around with GTK unless I know what I'm doing! As far as I can see, SuSE 8.1 has GTK 1 and 2 fully installed, and I've ensured that all the engines and theme packs are installed (no themes (other than those I've manually isntalled) show up in the gnomecc-->themes menu, however.) A search for libpixmap.so shows the file lurking at /usr/lib/gtk-2.0/2.0.0/engines/libpixmap.so

Any ideas or comments will be greatly appreciated!

Tim

Raoul_Duke
03-28-2003, 06:33 AM
I had this prolem........install the gtk theme 'pixmap' and then check the file '.gtkrc' in your home directory and make sure it points to the correct theme.

Also, in some cases you need to go to 'colours' in kde look 'n feel prefs and make sure you don't have 'apply colors to non-kde apps' checked

:)

Satur9
03-29-2003, 06:42 PM
Originally posted by Raoul_Duke
I had this prolem........install the gtk theme 'pixmap' and then check the file '.gtkrc' in your home directory and make sure it points to the correct theme.

Thanks for the advice, Raoul_Duke. Just a few follow-up questions if you (or anyone else) has the time/inclination:

Is pixmap a "theme" (ie, something you'd download from http://themes.freshmeat.net/) or is it a GTK Theme Engine, as I suspect it is? In either case, the presence of the file /usr/lib/gtk-2.0/2.0.0/engines/libpixmap.so suggests I have pixmap support, doesn't it? On the other hand, if "pixmap" is just a theme (and even if it isnt), I'd really appreciate a link to the package or source file I can use to install it.

I've messed around with my .gtkrc file a little bit (and saved a backup copy, which I've restored) and tried to point it to various theme locals, and the above libpixmab.so directory, but with absolutely no luck. I'm surprised how few resources there are to go by on the internet. Most of the snippets of information I've got comes from support list archives and forums, but none with a definative answer.

Cheers all,

Tim

Raoul_Duke
03-30-2003, 06:59 AM
Pixmap is a theme for gtk-1 that a lot of the nicer themes need. For each theme you have there will be a different .gtkrc file. A lot of them also have readme's with good instructions for setting up ;)

p.s. gtk1 and gtk2 have different themes and gtkrc files;)

Satur9
03-30-2003, 06:50 PM
Originally posted by Raoul_Duke
Pixmap is a theme for gtk-1 that a lot of the nicer themes need. For each theme you have there will be a different .gtkrc file. A lot of them also have readme's with good instructions for setting up ;)

Thanks Raoul_Duke -- looks like you were on the money! I was under the mistaken beleive that I SuSE 8.1 came with GTK 1.2.x engines, but it doesn't. The libpixmap.so file I found was for GTK 2.0.0, so the solution (obvious now) was install the theme/engine for GTK 1.2.x. So I headed over to http://rpmfind.net/linux/RPM/ and did a search for "gtk-engines". I downloaded and installed gtk-engines-0.12-8.i386.rpm for the GNOME Desktop Environment, installed it, and I was in business! I can now change themes in KDE via gnomecc.

Cheers,
Tim

Raoul_Duke
03-31-2003, 02:27 AM
no problem. :)