You are not logged in.
conky sector11 convert to conky1.10
conky.config = {
-- pkill -xf "conky -c /media/5/Conky/Accuweather_conky_script/S11_accu_tm_BAR_2016-full.conky" &
-- Created - Tue 08 Nov 2016
-- tweaked Tue 17 Jan 2017
-- tweaked Wed 15 Jul 2020
-- Begin Window Settings
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'Accuweather TopMiddle BAR Full',
--own_window_argb_visual yes
--own_window_argb_value 40
minimum_width = 1550, minimum_height = 0,
maximum_width = 1550,
gap_x = 5,
gap_y = 5,
alignment = 'top_left',
-- End Window Settings
-- Font Settings
use_xft = true,
font = 'Fira Mono:bold:size=10',
xftalpha = 1.0,
override_utf8_locale = true,
uppercase = false,
--# End Font Settings
-- Color Settings
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#DCDCDC',--Gainsboro
color0 = '#A9A9A9',--DarkGrey
color1 = '#778899',--LightSlateGray
color2 = '#FAEBD7',--AntiqueWhite
color3 = '#87CEFA',--LightSkyBlue
color4 = '#48D1CC',--MediumTurquoise
color5 = '#FFDEAD',--NavajoWhite
color6 = '#00BFFF',--DeepSkyBlue
color7 = '#F8F8FF',--GhostWhite
color8 = '#FFD700',--Gold
color9 = '#FFA07A',--LightSalmon
-- End Color Settings
-- Borders Section
draw_borders = false,
stippled_borders = 5,
border_inner_margin = 0,
border_outer_margin = 0,
border_width = 2,
draw_graph_borders = true,
--default_graph_size 15 40
-- End Borders Secton #
-- Miscellaneous Section #
background = true,
use_spacer = 'none',
no_buffers = true,
double_buffer = true,
--# End Miscellaneous Section #
update_interval = 1,
--${image /media/5/Conky/images/AccuweatherTopMiddleBARFull-25.png}
--${image /media/5/Conky/images/AccuweatherTopMiddleBARFull-40.png}
--${image /media/5/Conky/images/AccuweatherTopMiddleBARFull-60.png}
};
conky.text = [[
${execpi 900 $HOME/Accuweather_conky_script/accuweather -f2015 -f2016}\
${image $HOME/AccuweatherTopMiddleBARFull-40.png}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_0.png -p 23,4 -s 45x45}\
±${execi 30 sed -n '3p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 115}${color3}Pressure\
${goto 235}HUM\
${goto 300}CLD${color}\
${goto 356}| ${color5}Sun Moon${color} |\
${color9}${goto 525}${execi 30 sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 588}${execi 30 sed -n '7p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 628}${execi 30 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 692}${execi 30 sed -n '14p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 732}${execi 30 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 796}${execi 30 sed -n '21p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 837}${execi 30 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 900}${execi 30 sed -n '28p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 941}${execi 30 sed -n '32p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1004}${execi 30 sed -n '35p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 1045}${execi 30 sed -n '39p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1108}${execi 30 sed -n '42p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 1149}${execi 30 sed -n '46p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1212}${execi 30 sed -n '49p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 1254}${execi 30 sed -n '53p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1316}${execi 30 sed -n '56p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 1357}${execi 30 sed -n '60p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1420}${execi 30 sed -n '63p' $HOME/Accuweather_conky_script/daily_forecast}\
${color9}${goto 1460}${execi 30 sed -n '67p' $HOME/Accuweather_conky_script/daily_forecast}\
${color}${goto 1524}${execi 30 sed -n '70p' $HOME/Accuweather_conky_script/daily_forecast}
${goto 115}${execi 30 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 235}${execi 30 sed -n '7p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 300}${execi 30 sed -n '10p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 356}| ${color2}↑ ${execi 30 sed -n '23p' /media/5/Conky/Accuweather_conky_script/curr_cond}\
↑ ${execi 30 sed -n '25p' $HOME/Accuweather_conky_script/curr_cond}${color} |
${execi 30 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 115}${color3}Wind & Speed\
${goto 235}UVI\
${goto 300}VIS${color}\
${goto 356}| ${color3}↓ ${execi 30 sed -n '24p' $HOME/Accuweather_conky_script/curr_cond}\
↓ ${execi 30 sed -n '26p' $HOME/Accuweather_conky_script/curr_cond}${color} |\
${goto 588}${color3}${execi 30 sed -n '5p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 692}${execi 30 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 796}${execi 30 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 900}${execi 30 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1004}${execi 30 sed -n '33p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1108}${execi 30 sed -n '40p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1212}${execi 30 sed -n '47p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1316}${execi 30 sed -n '54p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1420}${execi 30 sed -n '61p' $HOME/Accuweather_conky_script/daily_forecast}\
${goto 1524}${execi 30 sed -n '68p' $HOME/Accuweather_conky_script/daily_forecast}${color}
${color5}Currently${color}\
${goto 115}${execi 30 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond}\
${execi 30 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 235}${execi 30 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | cut -b 1,2}/11\
${goto 300}${execi 30 sed -n '13p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 356}| ~ ${execi 30 sed -n '16p' $HOME/Accuweather_conky_script/curr_cond | cut -c-5}\
~ ${execi 30 sed -n '20p' $HOME/Accuweather_conky_script/curr_cond | cut -c-5} |\
${goto 524}${color5}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
${goto 628}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}\
${goto 732}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${goto 836}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}\
${goto 940}${execi 3600 echo `date --date="4 day" | awk '{print $1" "$3" "$2}'`}\
${goto 1044}${execi 3600 echo `date --date="5 day" | awk '{print $1" "$3" "$2}'`}\
${goto 1148}${execi 3600 echo `date --date="6 day" | awk '{print $1" "$3" "$2}'`}\
${goto 1252}${execi 3600 echo `date --date="7 day" | awk '{print $1" "$3" "$2}'`}\
${goto 1356}${execi 3600 echo `date --date="8 day" | awk '{print $1" "$3" "$2}'`}\
${goto 1460}${execi 3600 echo `date --date="9 day" | awk '{print $1" "$3" "$2}'`}${color}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_1.png -p 539,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_2.png -p 643,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_3.png -p 747,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_4.png -p 851,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_5.png -p 955,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_6.png -p 1059,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_7.png -p 1163,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_8.png -p 1267,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_9.png -p 1371,4 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_10.png -p 1475,4 -s 45x45}
]];
edit
corrected error
Thank Sector11
conky version1.10
Last edited by ector1935 (2020-07-16 16:51:07)
Offline
conky sector11 convert to conky1.10
You have an error.
This line:
conky.text = [[
${execpi 900 $HOME//Accuweather_conky_script/accuweather -f2015 -f2016}\
Has 1 too many / in it
$HOME//Accuweather_conky_script/accuweather
... should be:
conky.text = [[
${execpi 900 $HOME/Accuweather_conky_script/accuweather -f2015 -f2016}\
You can remove the -f2015 as well if you do not use those images.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
@Teo, script is working again, thanks for your everlasting patience and efforts.
...BUT... the hourly weather is not showing forecasts for the full 24 hours. It stops at 23:00 (or 11 PM if you like).
https://i.imgur.com/gJX0CvZt.png
The same thing happens at the accuweather website: It shows an hourly forecast until midnight only. The next-day early hours are a mouse-click away, under a "tomorrow" submenu on the same page...
Thanks, I've corrected the script, it should work now (or not )
It was just a residual line in the hourly file, nothing much, but it did screw everything up.
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
^ yes Sir, that solved it. Thanks a million!
Online
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
There are some issues with the accuweather hourly script. I think it's the time to buy some device and put it outside.
Last edited by morfik (2020-07-16 19:17:49)
Offline
What issues?
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
Something like this gets rendered. This moves with the time.
Offline
I've corrected the script after ceeslans reported the problem.
See here.
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 see. Yes that helped.
BTW: you don't use git anymore?
Offline
I do, that's just the test version until I push everything to git.
You're my lab rat morfik.
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
Accuweather stopped working again. I synced my script folder with your repo on gitlab, but it still wasn't working right. I copied/pasted the one posted a couple pages back. It working but with errors.
/home/thomas/Accuweather_conky_script/accuweather: line 1029: syntax error near unexpected token `;;'
/home/thomas/Accuweather_conky_script/accuweather: line 1029: ` ;;'
And there is a random C in the corner of my weather under the cloud icon for current conditions. here's a pic...
The random C is caused by "echo C" line 1028.
Last edited by seatommyboy (2020-07-17 02:43:37)
Offline
You must be doing something wrong, because the script stops at line 1027.
Try copying and pasting it again.
Also, there is a line "echo C", but it's line 94, not line 1028.
Last edited by TeoBigusGeekus (2020-07-17 08:54:31)
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
Yeah, I'm not sure how I got the extra lines, but that part is fixed. However, it's broken:
cp: target '/home/thomas/Accuweather_conky_script/forecast_2016/wind_0.png' is not a directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/-.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/-.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
cp: cannot stat '/home/thomas/Accuweather_conky_script/Forecast_Images_2016/.png': No such file or directory
conky: Unable to load image '/home/thomas/Accuweather_conky_script/forecast_2016/forecast_1.png'
daily_forecast is empty:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Offline
What's your place?
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
Can anyone report any results from the US?
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
Can anyone report any results from the US?
Not I.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
Let's see what happens when USA wakes up.
What with the corona lockouts, it's the perfect time for conky experimentation.
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
Can anyone report any results from the US?
Not.
Cheers Teo
Offline
Working good teo winchester virginia usa......
Thanls a lot manuel-909, that's a great relief.
I was thinking that the script didn't work at all when imperial units were used.
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
Holaaaaa manuel-999
Tanto tiempo!
Espero que todo sea bueno contigo y con tu familia.
The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!
Offline
What's your place?
Hutto TX US
Offline
I get perfect results for Hutto TX, US, they are though in metric.
Could a US user please report back with results from the Accuweather script?
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 get perfect results for Hutto TX, US, they are though in metric.
Could a US user please report back with results from the Accuweather script?
Interesting. I tried with other places, but still got the same failed results...
Offline