Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That seems pretty strange. I just copied your .conkyrc exactly, put a random jpeg under ~/firefoxuserpic.jpg and it worked fine. Conky is compiled with roughly the same options here as well, though I think its just the imlib2 option that is important for pictures:
Code:
conky -v
Conky 1.7.2 compiled Tue Oct 20 04:46:55 UTC 2009 for Linux 2.6.31-ARCH (x86_64)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
* config-output
* Imlib2
* ALSA mixer support
* apcupsd
* iostats
I would ask if there is definitely an image called firefoxuserpic.jpg in your home directory but you've already shown that. Have you tried some alternative images? Maybe conky is just having an issue with that one? Other than that I'm not really sure. Do normal text-only configs work?
Yeah I've tried other jpg images, same result. I tried png images instead, same result. Text only configs include rss feeds work. I've since compiled conky on another machine with the same options and it works fine there.
The machine is doesn't work on runs openSUSE 11.1, the one it does work on runs SLED 11 (which is based on openSUSE 11.1). I'm planning to re-install the openSUSE machine with 11.2 soon so hopefully if I rebuild with that it'll work.
I know this thread is old but I just encountered the same problem again of conky displaying "Conky: Unable to load image"
for no apparent reason and this thread come up in the Google search results whilst I was looking for an answer. Didn't find the answer via Google but did manage to work it out for myself: Install the package imlib2-loaders.
I figured this out by running
Code:
$ strace -o /tmp/conkystrace conky
then searching /tmp/conkystrace for the error message and reading backwards from there.
Installing the imlib2-loaders fixed the problem for me. It's available from within the YAST software installer. It looks that this library was missing and now the image files can be loaded.
Thanks!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.