Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
hallansing
Thank you Bill,
Vindsl, could you be so kind and post step by step instructions for conkywx and
you template, sed, conf and conkyrc files ... Please.
Thanks.
Information is all there - just need to find it - in fact there is a new vinDSL conky install guide by @foodoo
But since you are getting a problem with wget - I have ver 1.14
So perhaps if you could do "man wget > wgetman.txt" without the quotes in your terminal window - and attach it for me to look see - I will see which features are missing in your version and suggest a work around.
Edit - also as Bill had suggested - run the program in a terminal and see what error messages you get.
cheers :D
Re: HOWTO: VinDSL Conky Script
@ paramvir
Did what you sugested and all is looking fine.
conky-start-delayed.sh
Code:
#!/bin/bash
sleep 60
WX_DIR="$HOME/.config/conkywx"; export WX_DIR
display=:0.0 conky
Code:
####
## Define the locations of Conkywx files (required)
## Set the path to your .confs, seds, and templates here.
## Tips n' Tricks: seds files must be marked as executable, e.g. have execute permissions.
#
template0 "/usr/share/conkywx/conkywx.sh"
template1 "$WX_DIR/vindsl-imperial-conkywx.conf"
template2 "$WX_DIR/wx-wu-vindsl-imperial-weather-template.sh"
template3 "$WX_DIR/wx-wu-vindsl-imperial-weather-seds.sh"
template4 "$WX_DIR/vindsl-metric-conkywx.conf"
template5 "$WX_DIR/wx-wu-vindsl-metric-weather-template.sh"
template6 "$WX_DIR/wx-wu-vindsl-metric-weather-seds.sh"
Code:
##################################
## CONKYWX WEATHER ##
##################################
${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
####
## Uncomment for Imperial Weather Stats.
${execpi 900 conkywx -t "${template2}" | "${template3}"}${font}
####
## Uncomment for Metric Weather Stats.
# ${execpi 900 conkywx -t "${template5}" | "${template6}"}${font}
Here is my present desktop.
https://www.dropbox.com/s/tt9toxgzh5...3-oct-2012.png
Bill
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
sparker256
@ paramvir
Did what you sugested and all is looking fine.
Bill
That is Fantastic :D
I really love that wallpaper - some where at the back of my mind - it would be just great to have those dials etc represent conky information :)
I think I saw something like that was space shuttle console i think ;)
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
paramvir
That is Fantastic :D
I really love that wallpaper - some where at the back of my mind - it would be just great to have those dials etc represent conky information :)
I think I saw something like that was space shuttle console i think ;)
Thanks,
The wallpaper is from one of the planes from my flight school that I have flown and helps me remember where everything is.
You can see that I am using the 3 option for time and looking forward to any new options you come up with.
For a while I was not sure if I would ever get my weather info on conky to look like it did for a long time but with your effort on conkywx it is there and much better. One thing the pilot in me might like is to have the metar info display in its coded form.
Bill
Re: HOWTO: VinDSL Conky Script
Think I just about got it.
Haven't had to touch anything in a couple of days...
I shoot for a data dump this weekend, unless Paramvir publishes another update. LoL! :D
Re: HOWTO: VinDSL Conky Script
@ hallansing
I got your message and the wgetman.txt
For wget :
Edit /usr/share/conkywx/conkywx.sh - go to a function called "get_data_file ()"
Here delete the wget option --no-use-server-timestamps - that is it and now run the program. there are 2 calls to wget in both remove that option.
You can try running /usr/share/conkywx/conky-restart.sh
This will start your conkywx weather using my default templates.
However you will need to edit the config file at /etc/conkywx/conkywx.conf and edit your Location - for the first test leave use_xml=0
If you are using gnome you will need to edit the *conkyrc.sh [ one called in conky-restart.sh ] and change own_window_type to normal.
For most US cities the full url you see at wunderground for your Location will need to be used - this is stated in the wiki.
Run this in the terminal and let us know what errors you get.
cheers :)
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
VinDSL
Think I just about got it.
Haven't had to touch anything in a couple of days...
I shoot for a data dump this weekend, unless Paramvir publishes another update. LoL! :D
You make magic :D
I want to do a few things b4 I get it out this time - Like pre showtime cleanup of template - so it handles any stuff u want fixed which would normally need an external sed call. Show trends for other stuff as well, metar info.
Depending on how fast it goes - I think you can go ahead with the data dump :)
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
sparker256
Thanks,
One thing the pilot in me might like is to have the metar info display in its coded form.
Bill
Metar as in the way it is on the website or interpreted Metar ???
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
paramvir
Metar as in the way it is on the website or interpreted Metar ???
On the website as it will take up much less room. As I said this is for the pilot in me and I will interprete myself.
Bill
Re: HOWTO: VinDSL Conky Script
Quote:
Originally Posted by
sparker256
On the website as it will take up much less room. As I said this is for the pilot in me and I will interprete myself.
Bill
Great - I can relate to that - though I am very rusty with my metar :p - I have maritime background and we only used it during examinations.
also I just figured how to get it to word wrap elegantly :p using templates - METAR is a new element now in conkywx ;)
Code:
${exec echo "[METAR]" | exec fmt -u -w 25}
or
${exec echo "[METAR]" | exec fold -s -w 25}
also some extra stuff here
Code:
# -----------------------------------------------------------------------
# to cleanup data before showing in conky after data update 1 is yes 0 is no
# -----------------------------------------------------------------------
use_template_cleanup=1
# -----------------------------------------------------------------------
# data to cleanup before showing in conky after data update
# -----------------------------------------------------------------------
#+ Separate groups with space, separate what you want to change with change
#+ data to change with : character ex:- 'Calm km/h:${offset 8}Calm'
#+ - make sure it is in single quotes
#+ to remove some part completely end of the word group put a colon '0.0 mm:'
template_cleanup=( 'Calm km/h:${offset 8}Calm' 'Calm mph:${offset 8}Calm' )