Topic: [SOLVED ]lua conky CONFUSION!

Can someone please help. I know where to look to download all kinds of %&*$#* - but I have no idea how to get everything to work for the pretty rings from conky-cairo-lua whatever it is.

Installed libcairo2-dev
I even installed cairo-dock
I installed lua50
I have the rings filed downloaded from gnome-look

where the heck do I go from here!? I really hate to be a n00b, but I truly need a thorough step by step here, I am trying to compile stuff from lua.forge, and I know that compiling means I've gone too far off the beaten path. Maybe Im missing some obvious concept or needed file, idk. This is the first time I've been frustrated at something *nix related in a long time - helpz!

Here is output

josh@mini:~/Downloads/111096-cairo-pies$ conky -c .conkyrc
Conky: .conkyrc: 8: no such configuration: 'border_inner_margin'
Conky: .conkyrc: 9: no such configuration: 'border_outer_margin'
Conky: llua_load: /home/josh/cairo-pie.lua:58: module 'cairo' not found:
    no field package.preload['cairo']
    no file './cairo.lua'
    no file '/usr/local/share/lua/5.1/cairo.lua'
    no file '/usr/local/share/lua/5.1/cairo/init.lua'
    no file '/usr/local/lib/lua/5.1/cairo.lua'
    no file '/usr/local/lib/lua/5.1/cairo/init.lua'
    no file '/usr/share/lua/5.1/cairo.lua'
    no file '/usr/share/lua/5.1/cairo/init.lua'
    no file './cairo.so'
    no file '/usr/local/lib/lua/5.1/cairo.so'
    no file '/usr/lib/lua/5.1/cairo.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'

Last edited by stopie (2009-10-22 19:06:47)

Re: [SOLVED ]lua conky CONFUSION!

Does your conky have lua support? Run "conky -v" in a terminal to check.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [SOLVED ]lua conky CONFUSION!

looks like he has lua support but not cairo, you'll probably have to compile conky...it's pretty easy though, if you need help with it just let me know and I can put up some instructions.

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: [SOLVED ]lua conky CONFUSION!

you need conky 1.7.2
the default for #! is 1.7.1


edited blonde moment, thanks serious_lee

Last edited by benj1 (2009-10-22 12:49:44)

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: [SOLVED ]lua conky CONFUSION!

benj1 wrote:

the default for #! is 1.7.3

I think its 1.7.1. You can get conky 1.7.2 for jaunty at norsetto's ppa. Look for package conky-all.

Re: [SOLVED ]lua conky CONFUSION!

EDIT: What I posted was a repeat of what someone else said. I'm an idiot for not reading it.

Last edited by thefunnelweaver (2009-10-22 11:37:28)

Re: [SOLVED ]lua conky CONFUSION!

is there any site that gives simple step-by-step instructions for conky?

eee701/4gb/512ram

Re: [SOLVED ]lua conky CONFUSION!

@saneks - does this help?
http://conky.linux-hardcore.com/?page_id=1289

while ( ! ( succeed = try() ) );

Re: [SOLVED ]lua conky CONFUSION!

yay, looks good, thanks a lot. now gonna read that stuff smile

I added the PPA in synaptic manually and added the two deb/deb-src lines. then the key stuff behind the slash, as shown on thePPA page below the deb lines for jaunty. after that synaptic does not ask or keys anymore, but still the highest version shown in synaptic is conky 1.7.1 (even after reloading, which is as I understand the same as "sudo apt-get update" in the terminal, right?)

what am I doing wrong?

I also downloaded a tar.bz file, but I am not sure what to do with the unzpipped stuff. just copy it on top of the old one?

eee701/4gb/512ram

Re: [SOLVED ]lua conky CONFUSION!

Try removing your current conky then installing conky-all:

sudo apt-get purge conky
sudo apt-get install conky-all
Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: [SOLVED ]lua conky CONFUSION!

upgraded conky to 1.7.2

conky -v showed lua support
did not show cairo support

thanks everyone! my blood pressure is back to normal tongue

Re: [SOLVED ]lua conky CONFUSION!

mmmhmmmm,
my heartfelt thanks to everyone who posted suggestions in this thread, as well as OP:stopie

i began on this thread using SearchOne's post as guide then copy/pasting his code


pasted into .conkyrc  pastebin/405 from SearchOne's conky

sudo mkdir ~/scripts

sudo nano /scripts/conky_widgets.lua

pasted into /scripts/conky_widgets.lua : pastebin/406 from londonali1010's work

added norsetto's ppa

sudo apt-get purge conky

sudo apt-get install conky-all

sudo nano /scripts/conky_calhoriz.sh

pasted into /scripts/conky_calhoriz.sh  pastebin/407 from ans' work

sudo chmod +x conky_calhoriz.sh

many many thanks to:
Author: londonali1010, Distro: Crunchbang 9.04, Conky Version: 1.7.2
and the great people @ http://conky.linux-hardcore.com/?page_id=3331

Last edited by rufong (2009-11-22 05:20:40)