Hi everybody.
My conkyforecast died afew days ago so I decided it was the right time to give conkywx a try.
I) At first, I followed the very well done foodoo instructions (#404 http://ubuntuforums.org/showthread.p...9#post12266079)
It seems to work fine but I don't know why, sometimes it shows imperial units instead of the metric ones (mixed together):
plus, the double windspeed (km/h + mph)is very annoying. Does anybody know how to fix it?
II) Then i tried to set up what it shouldbe the newer version, but it doesn't display anything.
conkyrc
Code:
####
## Define the locations of Conkywx files (required)
## Set the path to your .confs and templates here.
#
template0 "/usr/share/conkywx/conkywx.sh"
# template1 "/home/beerbaron/.config/conkywx/vindsl-imperial-conkywx.conf"
template2 "/home/beerbaron/.config/conkywx/vindsl-metric-conkywx.conf"
# template3 "/home/cavsfan/.config/conkywx/wx-wu-vindsl-imperial-weather-dingbat-template.sh"
# template4 "/home/beerbaron/.config/conkywx/wx-wu-vindsl-imperial-weather-graphic-template.sh"
# template5 "/home/cavsfan/.config/conkywx/wx-wu-vindsl-metric-weather-dingbat-template.sh"
template6 "/home/beerbaron/.config/conkywx/wx-wu-vindsl-metric-weather-graphic-template.sh"
TEXT
##################################
## CONKYWX WEATHER ##
##################################
${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${color0}${if_empty ${exec echo [WALERT]}}${else}${offset 8}Alert:${offset 8}${color4}[WALERT]${endif}${color6}${offset 8}${voffset -2}${hr 1}${font}
####
## Uncomment for IMPERIAL Weather Stats (DINGBAT font set).
# ${execpi 900 ${template0} -c "${template1}" -t "${template3}"}${font}
####
## Uncomment for IMPERIAL Weather Stats (GRAPHIC icon set).
${execpi 900 ${template0} -c "${template1}" -t "${template4}"}${font}
####
## Uncomment for METRIC Weather Stats (DINGBAT font set).
# ${execpi 900 ${template0} -c "${template2}" -t "${template5}"}${font}
####
## Uncomment for Metric Weather Stats (GRAPHIC icon set).
${execpi 900 ${template0} -c "${template2}" -t "${template6}"}${font}
vindsl-metric-conkywx.conf (I copied the paramvir's config, replacing units)
Code:
## -----------------------------------------------------------------------
## Wund Weather Config File | Paramvir | rev. 13-10-19 05:10 | ver. 1.0.0
## -----------------------------------------------------------------------
## THIS PROGRAM IS FOR PERSONAL AND PRIVATE USE ONLY
## CONTACT WUNDERGROUND.COM FOR PROFESSIONAL SOLUTIONS
## CAVEAT: No guarantee that this program will work on all platforms,
## Use At Your Own Risk.
## To comment an option means adding # character at the start of that line
## this line is a comment starting with a # character
## -----------------------------------------------------------------------
## Location settings - REQUIRED
## -----------------------------------------------------------------------
## # Scottsdale, Arizona, General Vicinity
## Location="http://www.wunderground.com/q/zmw:85250.1.99999"
## # Indian Harbour Beach, FL
Location="http://www.wunderground.com/q/zmw:32937.3.99999"
## # Chandler, Arizona, General Vicinity
## Location="http://www.wunderground.com/q/zmw:85224.1.99999"
## # Fairbanks, Alaska, General Vicinity
## Location="http://www.wunderground.com/q/zmw:99701.1.99999"
## # Colville, Washington, General Vicinity
## Location="http://www.wunderground.com/q/zmw:99114.1.99999"
## -----------------------------------------------------------------------
## xml_ID to use XML data from wunderground - OPTIONAL
## -----------------------------------------------------------------------
## # Scottsdale, AZ, Equestrian Manor
## xml_ID=KAZSCOTT39
## # Indian Harbour Beach, FL
## xml_id=KFLSATEL4
## # Chandler, AZ, Cooper and Frye
## xml_ID=KAZCHAND36
## # Fairbanks, AK, Skyflight Airstrip
## xml_ID=KAKFAIRB35
## # Colville, WA, Colville Mountain
## # Indian Harbour Beach, FL
xml_ID=KFLINDIA12
## -----------------------------------------------------------------------
## User position
## -----------------------------------------------------------------------
## Enter Latitude, Longitude and t_zone (time zone) in decimal format
## Comment the position if you want to use wunderground data co-ordinates
## This position will be in 1 decimal place.
## To get more accurate information for your precise location the coordinates
## can be picked by using Google or http://www.findlatitudeandlongitude.com
## Latitude="37.456254° N"
## Longitude="88.867862° E"
## -----------------------------------------------------------------------
## How to handle the time zone values
## -----------------------------------------------------------------------
## [1] Let conkywx calculate the time difference
## [2] Pick up the time zone values from wunderground
## OR - To Use custom time zone. State the time zone here
t_zone_pick=2
## -----------------------------------------------------------------------
## Time Zone - set t_zone only if t_zone_pick=0
## -----------------------------------------------------------------------
## Comment this variable if not required
## t_zone="7.5"
## -----------------------------------------------------------------------
## Units to use and Downloaded
## -----------------------------------------------------------------------
## Enter the units to get and use, centigrade or Fahrenheit
## [SI] metric
## [IM] imperial/english
Units_to_Use=SI
Units_downloaded=SI
## -----------------------------------------------------------------------
## comment option to disable, defining variable to 0 also works
## -----------------------------------------------------------------------
## [1] enable
## if you want to see units like km/h etc in conky
## Units_show=1
## Sunday, 27 will become Sun 27
use_short_date=1
## Every update a popup notification shows
show_notification=1
## -----------------------------------------------------------------------
## Weather Alerts
## -----------------------------------------------------------------------
## Note: Active alerts at present time are only for the US.
## They will NOT warn you if a Tropical Storm is coming your way.
## Enable show_wx_Tropical_alerts for that.
show_wx_Active_alerts=1
show_wx_Tropical_alerts=1
## -----------------------------------------------------------------------
## Allow Conkywx to check for latest version release
## -----------------------------------------------------------------------
## [0] Never check for a new version of Conkywx
## [1] Check for a new version, every 24 hours
enable_new_version_check=1
## -----------------------------------------------------------------------
## Moon font characters with or without outline ring
## -----------------------------------------------------------------------
## NOTE: Default was formerly "simple" e.g. no outline ring
## [0] Disable outline and use simple
## [1] Use outline and disable simple
moon_outline=1
## -----------------------------------------------------------------------
## Dynamic Moon - using ImageMagick
## -----------------------------------------------------------------------
## View Moon image as it appears outside
## [1] use your local time, [2] use station local time for calculation
## Needs Imagemagick installed
Dynamic_Moon=2
## -----------------------------------------------------------------------
## Font to Image - using ImageMagick
## -----------------------------------------------------------------------
## convert ConkyWeather font to 3D images - state the colour here.
## Use only for Image Templates
## COMMENT these options for using in font templates
## COMMENT these options for using regular weather images in image templates
## Needs Imagemagick installed
## to see List of Color Names visit http://www.imagemagick.org/script/color.php
## Colour can be stated in any of the following formats - enclosed in single quotes
## example for colour *lime* - 'lime' '#0f0' '#00ff00' 'rgb(0,255,0)' 'rgb(0,100%,0)'
fti_now='#fed577'
fti_wind='DarkSeaGreen1'
fti_fct='lime'
## -----------------------------------------------------------------------
## Trend Graphs - using GnuPlot
## -----------------------------------------------------------------------
## We have ability to generate graphs for temperature, pressure and dewpoint
## You need gnuplot to be installed
## comment these colour options do disable
## colour can be in names or '#fed577' format if name gives white output
## This seed data is generated by wunderground and rest is recorded by conkywx
graph_temp='red'
graph_pressure='green'
graph_dewpoint='cyan'
## -----------------------------------------------------------------------
## How do you want the present conditon to look like
## -----------------------------------------------------------------------
## [1] Capitalize The First Letter Of All Words, In The Present Condition [Default]
## [2] All UPPERCASE
## [3] all lowercase
## [4] Capitilize the first letter/first word only, in the present condition
pc_what_case=1
## -----------------------------------------------------------------------
## Add words you want to remove from Present Condition text in this list
## -----------------------------------------------------------------------
## Comment this variable Block if not required
pcondition_blacklist=(
Freezing
pellet
pellets
Precipitation
Small
'and:+'
'heavy:hvy'
'light:lt'
'Low Drifting'
'Patches of'
'Severe:svr'
'Thunderstorms:t-storms'
'Thunderstorm:t-storms'
'Widespread:ws'
'with:+'
)
## -----------------------------------------------------------------------
## Process the final template before showtime
## -----------------------------------------------------------------------
## Comment this variable Block if not required
template_cleanup=(
'AM:${offset -2}AM'
'PM:${offset -2}PM'
'N/A:${offset 2}N/A'
'${goto 206}100%:${goto 201}100%'
'Calm km/h:${offset 8}Calm'
'Calm mph:${offset 8}Calm'
'First Quarter:${offset -6}First Qtr'
'Full${font}:${offset -11}Full Moon${font}'
'New Moon:${offset -13}New Moon'
'Last Quarter:${offset -5}Last Qtr'
'Waning Crescent:${offset -3}Waning'
'Waning Gibbous:${offset -3}Waning'
'Waxing Crescent:${offset -3}Waxing'
'Waxing Gibbous:${offset -3}Waxing'
)
## -----------------------------------------------------------------------
## LANGUAGE to see data in
## Current Supported Languages:
# it [Italian] - Message & Language Translation by "Night Train"
# es [Spanish] - Language Translation by "Paramvir" needs proofing
# pt [Portuguese] - Language Translation by "Paramvir" needs proofing
# de [German] - Language Translation by "Paramvir" needs proofing
# fr [French] - Language Translation by "Paramvir" needs proofing
# English is default and needs no setting
## Comment this variable if not required
## -----------------------------------------------------------------------
## language_to_use="it"
## -----------------------------------------------------------------------
## Use UPPERCASE or lowercase AM PM or am pm for 12 hour time format
## -----------------------------------------------------------------------
## [1] ALL UPPERCASE (EXAMPLE: 03:00 PM)
## [2] all lowercase (example: 03:00 pm)
## [3] Hide am pm (example: 03:00)
## [4] all lowercase with no padding/spacing (example: 3:00pm)
## [5] Use 24 hour time format
## OR - To Use custom time format. State the format here
## To get more date formats see man strftime
## Time_format='%-I:%M %p'
Time_format='%l:%M %p'
## -----------------------------------------------------------------------
## Show time with month and day for Moon Phases
## -----------------------------------------------------------------------
## [1] Show month day time (example: May 18 10:06 am)
## The time will follow the Time_format settings above in Time_format.
## [2] Show only month n day (EXAMPLE: May 18)
## OR - To Use custom time format. State the format here
## To get more date formats see man strftime
## moon_time='%d %b %R'
moon_time=1
## -----------------------------------------------------------------------
## Today date format - used in last fetch
## -----------------------------------------------------------------------
today_date_format='%A %b, %d %Y'
## -----------------------------------------------------------------------
## show deg symbol in forecast temps,
## -----------------------------------------------------------------------
## [1] Hide all deg symbols (example: 95/63)
## [2] Show all deg symbols (example: 95°/63°)
## [3] Show all deg symbols, depending on Unit_to_Use (metric: 35°C/17°C) (imperial: 95°F/63°F)
## [4] Show deg symbol ONLY, after forecast pair (example: 95/63°)
## [5] Show deg symbol AND unit, after forecast pair (example: 95/63°F) [Default]
show_degsym_fc_temp=4
## -----------------------------------------------------------------------
## characters to use for forecast trends
## -----------------------------------------------------------------------
## Rising trend arrow
risingtrend='c'
##
## Falling trend arrow
fallingtrend='d'
##
## Steady trend arrow
steadytrend='Q'
## -----------------------------------------------------------------------
## Choose weather icon set
## -----------------------------------------------------------------------
## [1] Enable icon set: org 12 by bharathp666 (Paramvir Likhari remix)
## [2] Enable icon set: origin unknown
## [3] Enable icon set: tick weather icons by xiao4
## [4] Enable icon set: Sticker Weather Icons by Kortoik
wx_iconset=2
## -----------------------------------------------------------------------
## Minimum time the script allows the website to be polled
## -----------------------------------------------------------------------
minimum_fetch_time=870
## Uncomment for testing purposes. Fetches fresh data every time Conky is restarted.
## minimum_fetch_time=10
## minimum_fetch_time=3600
## Font to image internal settings - do not comment - change only if required
## These setting changes may be required for some Systems
## ONLY USED if you are using fti [ font to image] above - do not comment these
## you can change these values if rendered images are not to your liking
## 3d_depth = normalize level % - 0-max depth, 50-flat, 50 - 100 inverse 3D, only whole values no decimal
## line_thickness = strokewidth value can use decimal values
## image_thickness = blur sigma value can use decimal values
## brightness = tint % only whole values no decimal
## if your images are looking rather bright or white then perhaps you can use the below commented values
fti_now_3d_depth='5%'
fti_now_line_thickness='2'
fti_now_image_thickness='6'
fti_now_brightness='110%'
fti_fct_3d_depth='20%'
fti_fct_line_thickness='2'
fti_fct_image_thickness='6'
fti_fct_brightness='115%'
fti_wind_3d_depth='15%'
fti_wind_line_thickness='1'
fti_wind_image_thickness='2'
fti_wind_brightness='115%'
## For Ubuntu 13+ and Mint Systems
## fti_now_3d_depth='8%'
## fti_now_line_thickness='3'
## fti_now_image_thickness='2'
## fti_now_brightness='70%'
## fti_fct_3d_depth='15%'
## fti_fct_line_thickness='3'
## fti_fct_image_thickness='2'
## fti_fct_brightness='100%'
## fti_wind_3d_depth='5%'
## fti_wind_line_thickness='1'
## fti_wind_image_thickness='1'
## fti_wind_brightness='110%'
wx-wu-vindsl-metric-weather-graphic-template.sh
Code:
#################################################
## VinDSL | rev. 12-11-21 21:07 | ver. GRAPHIC ##
#################################################
## METRIC WEATHER TEMPLATE for Conkywx 0.7.9 ##
#################################################
${voffset 0}${font RadioSpace:size=33}${color6}${alignc -5}[PT]${font}${font Arrows:size=28}${voffset -19}${offset 2}${color6}[FCTTF]${font}
${voffset 2}${font DroidSansFallback:bold:size=7.4}${alignc 6}${color5}Feels${offset 3}like${offset 1}:${offset 2}${color6}[FL]${offset 2}${color5}/${offset 3}${color6}[FCTT]${font}
${voffset -40}${goto 203}${font DroidSansFallback:bold:size=8.75}${color6}[D1T]${font}
${voffset 0}${goto 203}${font DroidSansFallback:bold:size=7.3}${color5}CoR${offset 3}${color6}[D1P]${font}
${voffset -45}${goto 188}${font KRARound:size=41.5}${color6}I${font}
${voffset 6}${font Ubuntu:size=22.75}${color5}${alignc}[CT]${font}
${voffset 7}${alignc 3}${font DroidSansFallback:bold:size=8}${color5}Sunrise${offset 1}:${offset 1}${color6}[SR]${font}${voffset -2}${offset 3}${font Arrows:size=14}${color6}[FCTSRF]${font}${voffset -2}${offset 10}${font DroidSansFallback:bold:size=8}${color5}Sunset${offset 1}:${offset 1}${color6}[SS]${font}${voffset -2}${offset 3}${font Arrows:size=14}${color6}[FCTSSF]${font}
${voffset 8}${goto 83}${font DroidSansFallback:bold:size=7.55}${color5}Humidity${offset 1}:${offset 2}${color6}[HM]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTHF]${font}${voffset 11}${goto 82}${font DroidSansFallback:bold:size=7.55}${color5}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTPF]${font}${voffset 11}${goto 82}${font DroidSansFallback:bold:size=7.55}${color5}Moonrise${offset 1}:${offset 1}${color6}[MR]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMRF]${font}${voffset 11}${goto 82}${font DroidSansFallback:bold:size=7.55}${color5}Moonset${offset 1}:${offset 1}${color6}[MS]${font}${voffset -2}${offset 4}${font Arrows:size=14}${color6}[FCTMSF]${font}${voffset 11}${goto 83}${font DroidSansFallback:bold:size=7.55}${color5}Full${offset 3}Moon${offset 1}:${offset 2}${color6}[FM]${font}
${voffset -65}${goto 16}${font ConkyWindNESW:size=41.6}${color6}[BF]${font}
${voffset -33}${font DroidSans:bold:size=10.5}${color6}${alignc -92}[MV]${font}
${voffset 19}${goto 22}${font DroidSans:bold:size=8.45}${color3}[WS] km/h${voffset -1}${goto 203}[MP]${font}
${voffset 9}${goto 27}${font DroidSans:bold:size=8.5}${color5}[D2D]${goto 86}[D3D]${goto 145}[D4D]${goto 201}[D5D]${font}
${image [PIC] -p 15,507 -s 46x46}${image [D2I] -p 22,713 -s 34x34}${image [D3I] -p 82,713 -s 34x34}${image [D4I] -p 141,713 -s 34x34}${image [D5I] -p 198,713 -s 34x34}${image [MIC] -p 190,620 -s 45x45}
${voffset 33}${goto 27}${font DroidSansFallback:bold:size=8.5}${color3}[D2T]${goto 87}[D3T]${goto 147}[D4T]${goto 203}[D5T]${font}
${voffset -1}${goto 24}${font DroidSans:bold:size=8.45}${color5}CoR${offset 3}${color3}[D2P]${goto 84}${color5}CoR${offset 3}${color3}[D3P]${goto 144}${color5}CoR${offset 3}${color3}[D4P]${goto 201}${color5}CoR${offset 3}${color3}[D5P]${font}
Any help will be appreciated.
Thanks in advance.
Bookmarks