Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: How to add Conkyforecast to startup?

  1. #1

    Default 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
    Code:
    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.

  2. #2
    Join Date
    Jun 2008
    Location
    Stone Mountain, GA, USA
    Posts
    29

    Default Re: How to add Conkyforecast to startup?

    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?

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: How to add Conkyforecast to startup?

    Quote Originally Posted by manbat
    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' (http://tinyurl.com/n46frm) to set my conkyforecast
    and it can run it perfectly fine by manually running

    Code:
    --------------------
    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.
    Hi
    You just need to use the template feature in conkyrc. In the
    configuration before TEXT add something like;
    Code:
    template1 ${execpi 1800 conkyForecast
    --location=<code> --template=~/.conky/conkyForecast.template}
    Note <code> needs to be replaced with your one, also the above is all
    one line.

    Then in the TEXT section just add;
    Code:
    ${template1}
    Now I I have all my configs in ~/.conky so then you can start with;
    Code:
    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


  4. #4

    Default Re: How to add Conkyforecast to startup?

    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..

    Code:
    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}

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: How to add Conkyforecast to startup?

    Quote Originally Posted by manbat
    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 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..
    Hi
    The template definition is before TEXT;
    Code:
    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


  6. #6

    Default Re: How to add Conkyforecast to startup?

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

    in the terminal when i type
    Code:
    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

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: How to add Conkyforecast to startup?

    Quote Originally Posted by manbat
    hey
    The template definition before the TEXT change anything but I kinda
    narrowed down to whats happening

    in the terminal when i type

    Code:
    --------------------
    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


  8. #8

    Default Re: How to add Conkyforecast to startup?

    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
    Code:
    ${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.
    Code:
    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..

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: How to add Conkyforecast to startup?

    Quote Originally Posted by manbat

    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


  10. #10

    Default Re: How to add Conkyforecast to startup?

    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

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •