You are not logged in.
Hi all,
I'm having trouble with conky. I need it to display the output of a certain command. This command is the output of my todo list and I do *not* need it to be updated regularly. In fact, I'd rather have it run every half an hour or so.
So here is my conkyrc:
conky.config = {
alignment = 'top_left',
background = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
gap_x = 15,
gap_y = 30,
minimum_height = 8,
minimum_width = 5,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = false,
update_interval = 1800,
uppercase = false,
use_spacer = 'none'
}
conky.text = [[
${color Green} ${font LCDMono:bold:size=10} Some text here
${font DejaVu Sans Mono:size=10}${exec sh /home/me/myscript.sh}
]]The problem with the above configuration is that when conky first runs, it shows "Some text here", but it won't show the output of myscript.sh until half an hour (=1800 seconds) have passed!
I would assume that the behaviour of conky should be that the exec command runs in the beginning and then waits for the update interval. Is there a solution to that other than drastically lowering the update interval?
Thanks a lot in advance.
Last edited by geo909 (2015-12-27 01:12:56)
Offline
This is a known issue with the current release of conky
https://github.com/brndnmtthws/conky/issues/112
Offline
This is a known issue with the current release of conky
https://github.com/brndnmtthws/conky/issues/112
Thanks a lot, that's good to know. For the moment I'll settle with a short update interval while waiting for a fix.
One more question: I'm wondering, is there any way for conky to draw the contents to the screen once and then quit, while the text stays drawn on the screen, never updated?
Offline