Conky: unknown variable image

Bug #1439879 reported by Roberto Leinardi
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
conky (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

In Ubuntu 15:04 conky seems to not recognize the variable $image:

conky -c ~/.conky/Ubuntu/conkyrc-775px
Conky: unknown variable image
Conky: desktop window (2c0000a) is subwindow of root window (1ed)
Conky: window type - override
Conky: drawing to created window (0x4200001)
Conky: drawing to double buffer

It worked correctly in previous versions of Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: conky 1.9.0-6build1
ProcVersionSignature: Ubuntu 3.19.0-11.11-generic 3.19.3
Uname: Linux 3.19.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Apr 3 00:05:18 2015
InstallationDate: Installed on 2015-03-28 (5 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
PackageArchitecture: all
SourcePackage: conky
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Roberto Leinardi (leinardi) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in conky (Ubuntu):
status: New → Confirmed
Changed in conky (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Shengjing Zhu (zhsj) wrote :

In 15.04, conky-std doesn't support imlib2 binding.

You need to install conky-all if you want to use the variable $image.

Revision history for this message
Roberto Leinardi (leinardi) wrote :

Thanks, installing conky-all solved the problem.

Revision history for this message
paul (paulse) wrote :

conky-all worked for me too on Xubuntu 15.04. Thanks

Revision history for this message
Jean de Bosset (jb64l3) wrote :

conky-all didn't change anything for me.

$image is still unresolved
same for
$weather

Revision history for this message
caspar luc (luc-caspar) wrote :

Apparently the conky-all is not a universal workaround. It did not solve the problem on my Lubuntu computer either.

Revision history for this message
Hector Trincavelli (trinca) wrote :

I believe found the solution. Imlib2 (libimlib2.so.0.0.0) is found under /usr/lib/conky, referenced by a symlink libimlib2.so.
However, the above library native in Kubuntu 15.04, with newest plasma 5.3, is located in /usr/lib/x86_64-linux-gnu/libImlib2.so.1.4.6, and referenced by a symlink the name of libImlib2.so.1 under the same directory.

So, to get rid of the infamous ${image} on the conky-harmatton window, I followed these steps:
1) Renamed /usr/lib/conky/libImlib2.so.0.0.0 to old_libImlib2.so.0.0.0
    #cd /usr/lib/conky/
    #mv libImlib2.so.0.0.0 old_libImlib2.so.0.0.0
2) Created a new symlink to acomodate the orphan symlink libimlib2.so
    #ln -s /usr/lib/x86_64-linux-gnu/libImlib2.so.1 libimlib2.so.0.0.0

That's it!, now imlib2 can bind the variable $image.

Furthermore, you would like to do the same procedure with libcairo, however I haven't noticed difference.

Revision history for this message
mehrdadscomputer (mehrdadscomputer) wrote :

conky-all worked for me too on Lubuntu 16.04.
sudo apt-get install conky-all

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.