Page 28 of 287 FirstFirst ... 1826272829303878128 ... LastLast
Results 271 to 280 of 2865

Thread: HOWTO: VinDSL Conky Script

  1. #271
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi vindsl,

    Just looked at your posts! great stuff thanks for the input, i will make the changes and i think that Paramvir will be happy to know everything is ok

    Sean smiling once again....

  2. #272
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi vindsl,

    So have i have made the changes as you have suggested and its looking very nice indeed.
    I also made the changes regarding conkywx not updating but its still the same, perhaps there's something that i am missing.
    Here's what i did:

    In the conkyrc above TEXT it now looks like this:

    template0 /home/foo/scripts/conkywx.conf
    template1 /home/foo/scripts/wx-wu-vindsl-template.sh

    TEXT
    -------------------------------------------

    The call-up now looks like this:

    ${voffset 4}${font RadioSpace:bold:size=8.25}${color4}WEATHER${offset 8}${color4}${voffset -2}${hr 2}${font}
    ${execpi 900 conkywx -c ${template0} -t ${template1}|
    ####
    ## Windspeed [WS]
    sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g'|
    ####
    ## Moon Phases [MP]
    sed -e 's/New Moon'/'\$\{offset -10\}New Moon/g'|
    sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/First Quarter'/'\$\{offset -3\}First Qtr/g'|
    sed -e 's/Waxing Gibbous'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/Full Moon'/'\$\{offset -8\}Full Moon/g'|
    sed -e 's/Waning Gibbous'/'\$\{offset -3\}Waning/g'|
    sed -e 's/Last Quarter'/'\$\{offset -3\}Last Qtr/g'|
    sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g'
    }${font}

    So i'm scratching my head as to why it won't update!
    The conkywx.sh is in:
    /urs/share/conkywx/conkywx.sh,
    the conky-restart.sh is also in this folder.

    Any ideas would be great. Sean
    Attached Images Attached Images

  3. #273
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi Paramvir,

    I have tried everything i could think of but still not joy.

    There was a suggestion from vindsl to put the conkywx.conf and my vindsl-template.sh in a folder in the home folder and then change the order of things using a FULL path like this:

    template0 /home/foo/scripts/conkywx.conf
    template1 /home/foo/scripts/wx-wu-vindsl-template.sh

    TEXT

    the call-up with vindsl extras would then be:
    ${execpi 900 conkywx -c ${template0} -t ${template1}|
    ####
    ## Windspeed [WS]
    sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g'|
    ####
    ## Moon Phases [MP]
    sed -e 's/New Moon'/'\$\{offset -10\}New Moon/g'|
    sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/First Quarter'/'\$\{offset -3\}First Qtr/g'|
    sed -e 's/Waxing Gibbous'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/Full Moon'/'\$\{offset -8\}Full Moon/g'|
    sed -e 's/Waning Gibbous'/'\$\{offset -3\}Waning/g'|
    sed -e 's/Last Quarter'/'\$\{offset -3\}Last Qtr/g'|
    sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g'
    }${font}

    I renamed the vindsl-template without the .sh that calls up the data but still no update statements.
    I have attached the debug log file as a .txt file
    many thanks Sean.

    P.S. if anybody is interested i have made a screenshot but its too large for the forum so i have put it in my dropbox public folder, here's the link https://dl.dropbox.com/u/105847605/c...ky%20stuff.png

    There's some cool stuff on the screen plus i have two screens in dual mode!
    conkywx using vindsl scripts, there's a sun and moon phase plotter, a Thermometer with lots of weather info, a radar picture of the county of "Sachsen" that's the area where i live no rain or storms today updates every 15 mins!, a nice color (RGB) Satellite picture of Europe updates every hour and a Mayan-Calendar all this called up using Conky!
    Attached Files Attached Files
    Last edited by foodoo; September 16th, 2012 at 05:39 PM.

  4. #274
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by PJs Ronin View Post
    Couple of things I've found:
    ~ The initials 'mph' are hard coded into VinDSL's scripts for wind speed. If you set your units to SI and have display units turned on you end up with kph and mph being displayed... see image.
    Hi PJs Ronin,
    Yes, I haven't even started the Metric side of things, yet.

    This has been a rather disjointed effort, so far -- an emergency situation, if you will. So, please bear with me.

    The Google Weather API service (my previous data feed) was shut-off without prior notice. If I had known Google was going to shut-off the service (say, 3 months in advance) all of this could have been avoided i.e. completed in a more orderly manner. My major concern is getting a weather module up n' running ASAP.

    More than likely, I will have to come up with separate sections for Metric & Imperial weather. That's what I've had to do in the past e.g.

    Code:
    #
    ##
    #### THIS IS NON-FUNCTIONAL -- DON'T PLACE IT IN YOUR CODE!
    ##
    #
    template0 /home/vindsl/.conky/weather/conkywx.conf
    template1 /home/vindsl/.conky/weather/vindsl-imperial-weather-template
    template2 /home/vindsl/.conky/weather/vindsl-metric-weather-template
    template3 /home/vindsl/.conky/weather/vindsl-time-template
    In the meanwhile, it's been interesting seeing the ideas that ppl come up with. I've implemented almost all of them.

    Looking at your screenie, I realized there was really no good reason to display the AM/PM abbreviation on the Sunrise/Sunset times. It is implied that the sun rises in the AM, and sets in the PM. So, I've discarded the AM/PM abbreviation in the clock/time section. Looks much better now. Thanks!




    If you'll notice, I've also shoehorned the current "Temperature Trend" into the "Feels Like" line.


    Here are the pertinent sections...


    .conkyrc
    Code:
    ##################################
    ##    CONKYWX WEATHER SCRIPT    ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${execpi 900 conkywx -c ${template0} -t ${template1}|
    ####
    ## Time (convert AM/PM -> am/pm)
    sed -e 's/AM'/'\$\{offset 1\}am/g' -e 's/PM'/'\$\{offset 1\}pm/g'|
    ####
    ## Windspeed [WS]
    sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g'|
    ####
    ## Moon Phases [MP]
    sed -e 's/New Moon'/'\$\{offset -13\}New Moon/g'|
    sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/First Quarter'/'\$\{offset -3\}First Qtr/g'|
    sed -e 's/Waxing Gibbous'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/Full Moon'/'\$\{offset -8\}Full Moon/g'|
    sed -e 's/Waning Gibbous'/'\$\{offset -3\}Waning/g'|
    sed -e 's/Last Quarter'/'\$\{offset -3\}Last Qtr/g'|
    sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g'
    }${font}
    ##################################
    ##     CONKYWX TIME SCRIPT      ##
    ##################################
    ${voffset 6}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${execpi 900 conkywx -c ${template0} -t ${template2}|
    ####
    ## Time (discard AM/PM)
    sed -e 's/AM'/'/g' -e 's/PM'/'/g'}${font}
    vindsl-weather-template
    Code:
    ##################################
    ## VinDSL | rev. 12-09-16 09:02 ##
    ##################################
    ##   CONKYWX WEATHER TEMPLATE   ##
    ##################################
    ${voffset 6}${goto 36}${font Weather:size=44}${color6}y${font}
    ${voffset -58}${font RadioSpace:size=33}${color6}${alignc}[PT]${font}
    ${voffset 2}${goto 85}${font}${font DroidSansFallback:bold:size=8}${color5}Feels${offset 1}:${offset 1}${color6}[FL]/${offset 2}[FCTT]${font}
    ${voffset -40}${goto 203}${font DroidSansFallback:bold:size=8.75}${color6}[D1T]${font}
    ${voffset 0}${goto 204}${font DroidSansFallback:bold:size=7.3}${color5}CoR${offset 1}:${offset 1}${color6}[D1P]${font}
    ${voffset -45}${goto 188}${font KRARound:size=41.5}${color8}I${font}
    ${voffset 7}${font Ubuntu:size=22.75}${color5}${alignc}[CT]${font}
    ${voffset 8}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Humidity${offset 1}:${offset 2}${color6}[HM]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Bar${offset 3}Trend${offset 1}:${offset 2}${color6}[FCTP]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Moonrise${offset 1}:${color6}[MR]${font}${voffset 11}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Moonset${offset 1}:${color6}[MS]${font}
    ${voffset -61}${goto 16}${font ConkyWindNESW:size=41.6}${color6}[BF]${font}${voffset -36}${goto 196}${font MoonPhases:size=35}${color6}[MIF]${font}${voffset -36}${goto 198}${font MoonPhases:size=35}${color8}8${font}
    ${voffset -1}${goto 22}${font DroidSansFallback:bold:size=8.45}${color3}[WS] mph${voffset -1}${goto 203}[MP]${font}
    ${voffset 8}${goto 25}${font DroidSans:bold:size=8.5}${color5}[D2D]${goto 85}[D3D]${goto 144}[D4D]${goto 201}[D5D]${font}
    ${voffset 2}${goto 23}${font ConkyWeather:size=32}${color6}[D2F]${goto 83}[D3F]${goto 142}[D4F]${goto 200}[D5F]${font}
    ${voffset 1}${goto 25}${font DroidSans:bold:size=8.5}${color3}[D2T]${goto 85}[D3T]${goto 144}[D4T]${goto 201}[D5T]${font}
    ${voffset -1}${goto 24}${font DroidSans:bold:size=8.45}${color5}CoR${offset 1}:${offset 1}${color3}[D2P]${goto 84}${color5}CoR${offset 1}:${offset 1}${color3}[D3P]${goto 144}${color5}CoR${offset 1}:${offset 1}${color3}[D4P]${goto 201}${color5}CoR${offset 1}:${offset 1}${color3}[D5P]${font}
    vindsl-time-template
    Code:
    ##################################
    ## VinDSL | rev. 12-09-16 08:38 ##
    ##################################
    ##    CONKYWX TIME TEMPLATE     ##
    ##################################
    ${voffset -5}${font RadioSpace:size=32}${color3}${if_match ${time %l}<=9}${alignc 7}${time %l:%M%p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M%p}${endif}${endif}${font}
    ${voffset 1}${alignc 5}${font DroidSansFallback:bold:size=8.35}${color5}Sunrise${offset 1}:${color6}[SR]${offset 3}/${offset 3}${color5}Sunset${offset 1}:${color6}[SS]${font}
    Anyway, hang in there! It'll get better, with time...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  5. #275
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by foodoo View Post
    So have i have made the changes as you have suggested and its looking very nice indeed.

    I also made the changes regarding conkywx not updating but its still the same, perhaps there's something that i am missing.

    So i'm scratching my head as to why it won't update!

    Any ideas would be great.
    I'm not sure what's going with your setup.

    Perhaps, Paramvir will pop in here with some fresh ideas.

    EDIT

    Just noticed this, on a second-reading:
    Quote Originally Posted by foodoo View Post
    The conkywx.sh is in:
    /urs/share/conkywx/conkywx.sh,
    the conky-restart.sh is also in this folder.
    That's a typo in the post... not the code, yes?
    Last edited by VinDSL; September 16th, 2012 at 06:54 PM. Reason: Addendum
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  6. #276
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi vindsl,

    yes that's just a typo woops! sorry typing too quickly and not checking in all the excitement haha

    can i ask you where have you put your conkyrc to run the template? i have moved mine to my scripts folder in my home folder and both the template and the conkyrc are no longer named with the .sh they are plain text now, conkywx works just fine but still not updating using 0.7.3 so i have downgraded to 0.7.2
    Many thanks Sean

  7. #277
    Join Date
    Oct 2009
    Location
    Arizona USA
    Beans
    261
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: VinDSL Conky Script

    Thanks for asking foodoo

    I have read the beginning page a few times and only see where is says to make a .fonts folder.

    Do we need to make all the folders?

  8. #278
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by foodoo View Post
    can i ask you where have you put your conkyrc to run the template?
    Specific to my install...
    Code:
    vindsl@Zuul:~$ locate -r ".conkyrc$"
    /home/vindsl/.conkyrc
    Code:
    vindsl@Zuul:~$ locate -r "conkywx.conf$"
    /home/vindsl/.conky/weather/conkywx.conf
    Code:
    vindsl@Zuul:~$ locate -r "vindsl-weather-template$"
    /home/vindsl/.conky/weather/vindsl-weather-template
    Code:
    vindsl@Zuul:~$ locate -r "vindsl-time-template$"
    /home/vindsl/.conky/weather/vindsl-time-template
    Code:
    vindsl@Zuul:~$ locate -r "draw_bg.lua$"
    /home/vindsl/.conky/draw_bg.lua
    Code:
    vindsl@Zuul:~$ locate -r "bargraph_small.lua$"
    /home/vindsl/.conky/bargraph_small.lua
    All other Conkywx...
    Code:
    vindsl@Zuul:~$ locate -r "conkywx.sh$"
    /usr/share/conkywx/conkywx.sh
    Code:
    vindsl@Zuul:~$ locate -r "conkywx$"
    /etc/conkywx
    /usr/bin/conkywx
    /usr/share/conkywx
    /usr/share/doc/conkywx
    /usr/share/fonts/TTF/conkywx
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  9. #279
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by PaulInBHC View Post
    Do we need to make all the folders?
    Hi PaulInBHC,
    If the folders do not exist, yes, you need to create them. Either that, or create folders with whatever naming convention(s) you wish, and adjust the paths in my script accordingly.

    Obviously, at a bare minimum, you will need to change the path to reflect your own username, not "/vindsl/".

    I try to keep most folders in "/home/" so you don't need "root" privileges to make changes to the code.

    I'm leaving the path to the core Conkywx files (more or less) unmolested. That makes Conkywx updating much easier.
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  10. #280
    Join Date
    Oct 2009
    Location
    Arizona USA
    Beans
    261
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: VinDSL Conky Script

    Thanks, I didn't want to start creating things and then have something try to create another.

Page 28 of 287 FirstFirst ... 1826272829303878128 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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