LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-16-2004, 02:56 PM   #1
flamesrock
Member
 
Registered: Aug 2003
Distribution: Gentoo 2006.1
Posts: 405

Rep: Reputation: 30
Adding Gtk-2 themes (for Nicotine --soulseek client)


Hi,

I finally managed to get nicotine working. Now, the only problem is that I can't seem to add themes for use with it like this one:

http://nicotine.thegraveyard.org/nicotine-1.png
http://nicotine.thegraveyard.org/nicotine-2.png

I've downloaded the h20 theme pack, but I have no idea as to where I should place these themes on my slack 9.1 box. Guides on the internet make no sense...and believe me I've tried for over two hours, placing themes in /usr/share/gtk2 & /usr/share/themes/default...

When I run nicotine, it spits out this error:
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",




Any ideas? I have all of the lates gtk2.0, pygtk and all of that. I'm not using GNOME, but KDE.

-Any help greatly appreciated.
 
Old 06-10-2004, 11:16 AM   #2
deleterious
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo & Arch
Posts: 2

Rep: Reputation: 0
How to install the gtk2-pixmap theme on various distros

Okay, since no one answered this, and since it's embarrassingly high in a certain search on google, I'll answer it.

This error:
Code:
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Means you need to install the gtk2 pixmap engine, which usually comes with the rest of gtk2 engines. (if you had gnome installed, for example, you would already have them installed.

Instructions for the distros I've used.

Gentoo:
Code:
emerge gtk-themes
Debian:
Code:
apt-get install gtk2-engines-pixbuf
(While you're at it, install the rest: gtk2-engines-metal, gtk2-engines-lighthouseblue, gtk2-engines-spherecrystal, etc..)

Arch Linux:
Code:
pacman -S gtk-engines
Mandrake:
Code:
urpmi gtk-engines2
If you don't want to install gnome AND don't want to mess around with the ~/.gtkrc-2.0 file, install gtk-theme-switch and run:
Code:
switch2
Any themes you install should be extracted and placed in your ~/.themes/ directory so gtk-theme-switch can find themes.
 
Old 06-18-2004, 05:10 AM   #3
jaybromley
LQ Newbie
 
Registered: Oct 2003
Location: Altadena, CA
Posts: 1

Rep: Reputation: 0
unable to locate theme engine

Hello,

You're probably right most of the time. However there do seem to be some issues with the module path. For example, on my Gentoo linux I did the "emerge gtk-engines-pixmap", and the file libpixmap.so is in /usr/lib/gtk/themes/engines. Nonetheless, when trying to use a theme that uses this engine I get the mentioned error. Clearly, gtk+-2.4.1 is looking somewhere other than where the library is. I believe something similar happened to RedHat when the move was made from gtk+-2.2 to gtk+-2.4 - gtk wasn't looking in the right place.

So the question is: is there an environment variable or other way to either find out where gtk is looking and make a link or to modify where gtk looks?

Regards,
JayB
 
Old 10-07-2006, 02:27 PM   #4
mldqj
LQ Newbie
 
Registered: Apr 2004
Location: CT, US
Distribution: Ubuntu
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by jaybromley
Hello,

You're probably right most of the time. However there do seem to be some issues with the module path. For example, on my Gentoo linux I did the "emerge gtk-engines-pixmap", and the file libpixmap.so is in /usr/lib/gtk/themes/engines. Nonetheless, when trying to use a theme that uses this engine I get the mentioned error. Clearly, gtk+-2.4.1 is looking somewhere other than where the library is. I believe something similar happened to RedHat when the move was made from gtk+-2.2 to gtk+-2.4 - gtk wasn't looking in the right place.

So the question is: is there an environment variable or other way to either find out where gtk is looking and make a link or to modify where gtk looks?

Regards,
JayB
gtk-engines-pixmap is for gtk1 only, you should install gtk2-engines-pixbuf.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Nicotine SoulSeek Client M O L8ingN2dust Linux - Software 30 10-29-2005 07:12 PM
something about the gtk themes linjia Linux - Software 0 10-28-2004 12:23 PM
kde themes looking like gtk themes mokojin Linux - General 1 09-21-2004 04:09 AM
Having problems with compiling gtk, nicotine? try this domo2505 Linux - Software 13 05-16-2004 03:24 PM
migrating from soulseek (winME) to nicotine (suse) MasterControl Linux - Software 1 02-03-2004 03:47 AM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration