How to add Conkyforecast to startup?

Hello!
Im trying to run Conky and Conkyforecast at once and trying to have to startup with the system.
However, Ive been having problem adding conkyforecast in “Startup Applications.” Conky works just fine by adding “Conky” in the startup app but I have no idea what to put in for the forecast.

I followed a guide in Linutop mag : Displaying Weather on the Desktop with ConkyForecast to set my conkyforecast and it can run it perfectly fine by manually running

conky -c /usr/share/conkyforecast/example/conkyrc &

(after everything has booted up). But my question is… how do I automatically make it startup. Thanks for reading.:slight_smile:

My screen goes black when I tried to run Conky. Until your post I thought it was a possible conflict with the Plasma desktop. Are you running openSUSE 11.2 too?

Hi
You just need to use the template feature in conkyrc. In the
configuration before TEXT add something like;


template1 ${execpi 1800 conkyForecast
--location=<code> --template=~/.conky/conkyForecast.template}

Note needs to be replaced with your one, also the above is all
one line.

Then in the TEXT section just add;


${template1}

Now I I have all my configs in ~/.conky so then you can start with;


conky -c ~.conky/conkyrc


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 11 days 19:53, 4 users, load average: 0.35, 0.69, 0.49
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

KohlInGA: i do use 11.2 but i dont think we have the same problem. im using a netbook.

malcolmlewis: I use the template, and my startup app with “conky -c /usr/share/conkyforecast/example/conkyrc &” kinda works.
conkyforecast opens up but only up to where it says “Temaplate Output” and the rest is blank. maybe its getting confused because it tries to open up before my laptop connects to the internet. im not sure thats the case though because I tried running it manually without internet and it works as it should…

TEXT
${offset -5}${color3}${font StyitleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font}  ${hr}${color1}
${color3}Template Output:${color1}
${execpi 1800 conkyForecast --location=USCA0982 --template=/usr/share/conkyforecast/example/conkyForecast.template}

Hi
The template definition is before TEXT;


template1 ${execpi 1800 conkyForecast
--location=USCA0982
--template=/usr/share/conkyforecast/example/conkyForecast.template}

TEXT

${offset -5}${color3}${font StyitleBats:style=CleanCut:size=12}q
${voffset -2}${font Bitstream Vera Sans
Mono:style=Bold:size=11}Weather${font}  ${hr}${color1}

${template1}

If you have no internet is should still start.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 11 days 23:00, 4 users, load average: 0.04, 0.11, 0.26
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

hey
The template definition before the TEXT change anything but I kinda narrowed down to whats happening

in the terminal when i type

conky -c ~.conky/conkyrc

it opens the regular conky with my computer stats, etc

however when i type it under su using the same exact code, it opens my weather conky.

what the heck is going on? I’m getting close!
thanks for the help

Hi
You don’t need to run as root user. The template reference needs to be
in the conkyrc file ~.conky/conkyrc, you also need the conkyforecast
config and template in your home directory as well.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.12-0.2-desktop
up 2 days 8:29, 2 users, load average: 0.04, 0.18, 0.25
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

It still only opens up the wrong conky (not the forecast)

In conkyrc, i added the reference for the template. not sure where to reference the conkyForecast.config


${execpi 1800 conkyForecast --location=USCA0982 --template=/~.conky/conkyForecast.template}

TEXT
${offset -5}${color3}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font}  ${hr}${color1}
${color3}Template Output:${color1}

then moved all the saved files to home using (not sure if thats right.

cp conkyrc /~.conky
cp conkyForecast.template /~.conky
cp conkyForecast.config /~.conky

then I made a shortcut in my panel leading to
conky -c /~.conky/conkyrc
but the wrong conky runs…

Hi
Just check because /~ isn’t valid and if ot’s a typo and actually ~/.
conky those commands would overwrite. You should have made a directory
called .conky in your home directory and the three files above in it.
You then need to check in conkyrc that it’s ~/ not /~


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 (i586) Kernel 2.6.31.12-0.2-desktop
up 2 days 10:03, 2 users, load average: 0.08, 0.06, 0.13
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

hey malcom, I really appreciate your help but I’m just going to give up on this one, I tried all the combinations in different folders with no success. this is driving me insane.

Again, thanks

Then clean out, start again from scratch. Just trying combinations most of the time doesn’t do any good.

that was one of the things I tried…starting over

Hi
Can you post the output from;


ls -la ~/conky

Can you also past the contents of your conkrc file on somewhere like
pastebin.com


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 12 days 21:24, 2 users, load average: 1.46, 1.47, 1.39
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

linux-vb66:~ # ls -la ~/conky
total 20
drwxr-xr-x  2 root root 4096 2010-04-10 14:13 .
drwx------ 16 root root 4096 2010-04-10 14:13 ..
-rw-r--r--  1 root root  551 2010-04-10 14:13 conkyForecast.config
-rwxr-xr-x  1 root root 2118 2010-04-10 14:13 conkyForecast.template
-rwxr-xr-x  1 root root 2775 2010-04-10 14:13 conkyrc

Here’s the link to conkyrc

set to yes if you want Conky - Conkyrc - jKNV2K3F - Pastebin.com](http://pastebin.com/jKNV2K3F)

Everything seems to be in place…

Hi
Download this one and try;
http://pastebin.com/WKa3ps9p


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 0:58, 2 users, load average: 0.39, 0.67, 0.51
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

it didnt do anything other than open up another conky, as before

Hi
So no weather info?

Try this one;
http://pastebin.com/pnYFRZ8L


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 2:11, 2 users, load average: 0.25, 0.26, 0.42
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

no, conkyforecast doesnt even open, it just opens more conkys

note: im trying to have both conky and conkyforecast running side by side

no, conkyforecast doesnt even open, it just opens more conkys.

note: im trying to have both conky and conkyforecast running side by side

Thanks for helping, but I’m going to abandon this. It might just be something wrong with my opensuse installation, and/or me asking the wrong questions

Hi
Can you rename the one you just downloaded to weather, then run;


killall conky
conky -c ~/conky/weather


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 3:10, 2 users, load average: 0.22, 0.37, 0.51
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53