Some great work , but unfortunately it does not work without some fixing :
Originally Posted by wlourf
~/Desktop/calendar_wheel_1.2a$ conky -c conky-calendar
>>>>>> Conky: conky-calendar: 19: config file error
>1. >> Conky: llua_load: cannot open /home/airtonix/scripts/cal1.2/calendar.lua: No such file or directory
Conky: desktop window (1e00276) is subwindow of root window (157)
Conky: window type - normal
Conky: drawing to created window (0x5000001)
Conky: drawing to double buffer
> 2. >> Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
also two things :
$ conky -v
Conky 1.7.2 compiled Fri Oct 23 15:55:48 UTC 2009 for Linux 2.6.24-23-server (i686)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
* Xdamage extension
* XDBE (double buffer extension)
* Weather (METAR)
* Weather (XOAP)
* support for IBM/Lenovo notebooks
* ALSA mixer support
change to :
>> assume the lua file will sit in the same place as the conky script.
>> otherwise you'll need to start creating a README file. to explain why the files need to be split all over the drive and what happens if you do or don't.
@ line31 :
change to :
>> again, assume all required files to make mod/addon/widget/etc work are to be in the same directory.
local current_directory=assert( io.popen('pwd'):read("*l") )
calendar_file= current_directory .. "/calendar.txt"
all the required files in the same place make the thing more portable... with these changes I was able to get it working.