Originally Posted by
Slimmons
Thanks for all of the info. I just started working on it, and I decided to use the 1d2 Accuweather.
I followed the instructions:
Downloaded 1d2Accuweather
Put the ConkyWeather.ttf file in my ~/.fonts folder, which I had to create
made the script inside executable
but then it says to run the command conky -c /path/.conkyrc_acc_int_cwfont
I'm not sure what to do there, because there is no .conkyrc_acc_int_cwfont, am I missing something?
I also tried the example you showed using weather.com and wasn't able to get that working either. I get the error
rm: cannot remove '/home/myName/Conky_WeatherCom/10days/10days_OK': No such file or directory
I know that's just saying that b/c the directory doesn't exist, but I didn't want to go making things that the script might want to use later.
Thanks in advance. Also, I'm not sure what to add inside my script, or do I have to make this command my new startup command for conky?
After putting the font in ~/.font did you run:
I keep it as an alias in my bash file.
Code:
alias font='fc-cache -fv'
I haven't used that script, I'll test it today though.
=== to continue ===
Does the top of ~/Conky_WeatherCom/weath_com look like this:
Code:
#!/bin/bash
#put your 10 day weather.com address here
address10="http://www.weather.com/weather/tenday/Huntsville+AL+USAL0287:1:US"
addr_now=$(echo $address10|sed 's/tenday/right-now/')
addr_today=$(echo $address10|sed 's/tenday/today/')
kill -STOP $(pidof conky)
killall wget
wget --user-agent="Firefox" -O $HOME/Conky_WeatherCom/RightNow/raw_rn $addr_now
wget --user-agent="Firefox" -O $HOME/Conky_WeatherCom/Today/raw_td $addr_today
wget --user-agent="Firefox" -O $HOME/Conky_WeatherCom/10days/raw_10 $address10
rm $HOME/Conky_WeatherCom/10days/10days_OK
if [[ -s $HOME/Conky_WeatherCom/RightNow/raw_rn ]]; then
#############
# Right now #
#############
That line for Huntsville, AL is what you need in there.
Try "executing" the bash script ~/Conky_WeatherCom/weath_com from your file manager for the first time. You should see the images appear in the directory. Then run the conky.
One other thing, what does $HOME in a terminal produce? Does it display your /home directory?
Code:
sector11 @ sector11
08 Feb 13 | 08:27:24 ~
$ $HOME
bash: /home/sector11: Is a directory
sector11 @ sector11
08 Feb 13 | 08:27:30 ~
$
If not, you will need to search for $HOME/ in weath_com and replace it with a direct path: /home/alain/
Bookmarks