zagortenay333 / conky_themes

A small collection of conky configs
630 stars 94 forks source link

unknown variable image #7

Closed whoiswentz closed 9 years ago

whoiswentz commented 9 years ago

I am having this problem, unknown variable image, the .harhattan-theme is in home folder, but i get this messages on terminal.

untitled

My conky looks like...

untitled2

My conky configuration file this untouchable. Please help me.

zagortenay333 commented 9 years ago

What version of conky are you using?

whoiswentz commented 9 years ago

Conky 1.9.0 compiled Mon Mar 23 17:14:17 UTC 2015 for Linux 3.2.0-77-generic (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf Package library path: /usr/lib/conky

X11:

zagortenay333 commented 9 years ago

Try installing the imlib2 package.

whoiswentz commented 9 years ago

did not work :(

zagortenay333 commented 9 years ago

Still getting the same error? Here is my output for conky -v:

Conky 1.9.0 compiled Wed Feb 19 18:40:53 UTC 2014 for Linux 3.2.0-37-generic (i686)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * Audacious
  * MPD
  * MOC
  * XMMS2

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2
zagortenay333 commented 9 years ago

It's complaining that the variable $image is unknown, yet that is a standard variable in conky: http://conky.sourceforge.net/variables.html

zagortenay333 commented 9 years ago

Does this happen with all conky themes for you?

zagortenay333 commented 9 years ago

Does it work now?

RavensKrag commented 8 years ago

I had the same problem, and I solved it, so I figured I'd post a solution, in case anyone else ends up having the same problem. (This page ranks pretty high on Google.)

In Ubuntu, apparently you need to install the conky-all package to get lua scripting support in Conky. Without lua support, conky doesn't know what to do with the $image variable

According to this link: http://mylittledesktop.blogspot.com/2009/10/quick-explanation-to-conky-packages-in.html

conky-all includes almost all of the available support:

X11, XDamage, XDBE, Xft, MPD, MOC, math, hddtemp, portmon, RSS, curl, Weather (METAR and XOAP), wireless, IBM, nvidia, eve-online, Imlib2, ALSA mixer, apcupsd, I/O stats, Lua and Lua bindings for the cairo and imlib2 libraries

The other packages lack the Lua bindings for imlib2.

(If this doesn't solve the problem, you may be experiencing this bug: https://bugs.launchpad.net/ubuntu/+source/conky/+bug/1439879)