You are not logged in.
Sector 11, I wanted the full info for the weather as well, so I went into the 1b1 file and changed the 5 instances of '20' to '30'. I get the full message now.
Offline
^ ?? I must be blind .. will try again. Thank you
Looking at 99 here O:) I don't want to miss anything.
EDIT! I feel like such a fool. :8
Right there in plain sight ... and I was getting all caught up in the: 's/^.*; //g' / thingies ....
If I was a drinking man tonight would be the night.
Again thank you!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Teo, don't know what's going on. I added the lines you suggested into the 1b1 and conkyrc files, then ran the 1b1 script to check things out, and it says the curr_cond file doesn't exist! Below is the approipriate text from both files, with a little extra thrown in for perspective.
From the 1b1 file:
#messages file
sed -n 28p $HOME/1b1_accuweather_images/curr_cond | cut -c -30 > $HOME/1b1_accuweather_images/messages
sed -n 29p $HOME/1b1_accuweather_images/first_days | cut -c -30 >> $HOME/1b1_accuweather_images/messages
sed -n 34p $HOME/1b1_accuweather_images/first_days | cut -c -30 >> $HOME/1b1_accuweather_images/messages
for (( i=7; i<=22; i+=5 ))
do
sed -n ${i}p $HOME/1b1_accuweather_images/first_days | cut -c -30 >> $HOME/1b1_accuweather_images/messages
done
for (( i=3; i<=23; i+=5 ))
do
sed -n ${i}p $HOME/1b1_accuweather_images/last_days | cut -c -30 >> $HOME/1b1_accuweather_images/messages
done
date >> $HOME/1b1_accuweather_images/curr_cond
kill -CONT $(pidof conky)
From the conkyrc:
${hr 2}
Weather last updated:
${texeci 500 bash $HOME/1b1_accuweather_images/1b1}
${color white}${execpi 600 sed -n '43p' $HOME/1b1_accuweather_images/curr_cond}#${texeci 500 bash $HOME/1b1_accuweather_images/1b1}
${font :size 9}${color FDADFF}Current
${color orange}${font :bold:size=9}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/messages} ${color white}${font :size=9}${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°F
${color orange}${font :bold:size=9}WIND: ${font :size=9}${color white}${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond} ${execpi 600 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond}
${color orange}${font :bold:size=9}HUM: ${color white}${font :size=9}${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}
${color orange}${font :bold:size=9}Baro Press: ${alignc}${color white}${font :size=9}${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}
And the result of running the 1b1 script:
--2015-11-27 18:09:28-- [url]http://www.accuweather.com/en/us/coldwater-oh/45828/current-weather/2214865[/url]
Resolving [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])... 128.177.96.130, 128.177.96.136
Connecting to [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])|128.177.96.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/dave/1b1_accuweather_images/curr_cond_raw’
[ <=> ] 104,864 --.-K/s in 0.05s
2015-11-27 18:09:29 (2.09 MB/s) - ‘/home/dave/1b1_accuweather_images/curr_cond_raw’ saved [104864]
--2015-11-27 18:09:29-- [url]http://www.accuweather.com/en/us/coldwater-oh/45828/daily-weather-forecast/2214865[/url]
Resolving [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])... 128.177.96.136, 128.177.96.130
Connecting to [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])|128.177.96.136|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/dave/1b1_accuweather_images/first_days_raw’
[ <=> ] 106,944 --.-K/s in 0.05s
2015-11-27 18:09:29 (2.11 MB/s) - ‘/home/dave/1b1_accuweather_images/first_days_raw’ saved [106944]
--2015-11-27 18:09:29-- [url]http://www.accuweather.com/en/us/coldwater-oh/45828/daily-weather-forecast/2214865?day=6[/url]
Resolving [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])... 128.177.96.130, 128.177.96.136
Connecting to [url=http://www.accuweather.com]www.accuweather.com[/url] ([url=http://www.accuweather.com]www.accuweather.com[/url])|128.177.96.130|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/dave/1b1_accuweather_images/last_days_raw’
[ <=> ] 105,434 --.-K/s in 0.05s
2015-11-27 18:09:29 (2.08 MB/s) - ‘/home/dave/1b1_accuweather_images/last_days_raw’ saved [105434]
/home/dave/1b1_accuweather_images/1b1: line 107: /1b1_accuweather_images/curr_cond: No such file or directory
Thanks.
MOD EDIT: code tags added
Last edited by Sector11 (2015-11-28 11:11:32)
Offline
Scratch the last message, it now works, but if I go in and modify the 'date >> $HOME/1b1_accuweather_images/curr_cond' line in 1b1, it shows nothing. What I would like to do is to modify it to show hour:minute (24 hour) and date (MM/DD/YY). Am I doing it in the wrong place, or am I just showing my ignorance?
Thanks
Offline
Use this:
date +"%R %D" >> $HOME/1b1_accuweather_images/curr_cond
Run
man date
for further options.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Yep, that did it Teo. Thanks a bunch for all the help.
Offline
Froggg, when you show the code script perhaps next time, use code tag to make readable.
Nili
Tumbleweed | KDE Plasma
Offline
Anytime Froggg.
@S11
Instead of
date | awk '{print $1" "$3" "$2" "$4}'
use
date +"%a %d %b %T"
or even
date +"%D %T"
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
^ Yea, that makes more sense. I just copied the lines from my conkys that I use to get dates in the future or past, even though for today I use: ${time %a %e %b}
I had a conky open at the time so it was a natural reaction (for me) to copy paste it.
${execi 3600 echo `date --date="-2 day" | awk '{print $1" "$3" "$2" "$6}'`}
${execi 3600 echo `date --date="-1 day" | awk '{print $1" "$3" "$2}'`}
${time %a %e %b} or ${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}
${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}
${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}
${time}, in conky, doesn't seem to like doing that.
My mind didn't separate the two: time for conky; date for bash.
Thanks Teo.
PS: for me: date +"%x %T" - I'm a day/month/year guy.
28 Nov 15 | 09:02:38 ~
$ date +"%x %T"
28/11/15 09:02:42
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
HAHAHAHAHA! Love it!
{stolen}
BTW, I went through ALL of your scripts and added (with appropriate paths)
date +%x > /media/5/Conky/1a_accuweather_conkyweather_font/fetched
date +%T >> /media/5/Conky/1a_accuweather_conkyweather_font/fetched
date +"%x %T" >> /media/5/Conky/1a_accuweather_conkyweather_font/fetched
kill -CONT $(pidof conky)
because sometimes, on occasion, maybe, I might possibly want to be different:
Fetched:
${execi 600 sed -n '1p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}
${execi 600 sed -n '2p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}
${font fantasque sans mono:bold:size=8}${alignc}Fetched:
${alignc}${execi 600 sed -n '1p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}
${alignc}${execi 600 sed -n '2p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}${font}
Fetched on: ${execi 600 sed -n '1p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}\
${alignr 5}at ${execi 600 sed -n '2p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}
${alignc}Fetched: ${execi 600 sed -n '3p' /media/5/Conky/1a_accuweather_conkyweather_font/fetched}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Nice one (why the facepalm, it's good work).
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
I though you might think it was a bit much.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Everything's legit in love, war and conky
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Thanks for the moon scripts!
I took the first one and made it into a floating window and removed the bottom text.
It looks like this:
I might try to integrate it with the 1a weather conky or something. Here's what I have going on right now:
You guy's make some very nice weather scripts that look amazing.
My thanks to everyone who put in the time and work to make this happen.
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
You guy's make some very nice weather scripts that look amazing.
Yeah, I can not say better
Tumbleweed | KDE Plasma
Offline
@ Temetka & Nili - thank you.
@ Temetka I see youe main weather is missing some elements. Did you get the newest updated AccuW scripts (1b1_29-10-15)?
There is also a "companion" conky that will help you know what's what.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks Temetka and Nili.
Nice one Temetka.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hi everyone! I'm newbie with LinuxMint17.2 and tried several times to run "1b1_accuweather_images", but nothing happened. Please somebody tell me step by step how to install it! Thanks in advance!
Offline
Extract the archive found in the opening post to ~/
That's it, it is installed ...
Read the README.pdf: ~/1b1_accuweather_images/1b1_README_INFO/1b1_README.pdf It has all the instructions on how to set it to your location and start the conky.
Do you have "conky-all" installed?
And what version of conky do you have?
conky -v
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline