You are not logged in.
Thanks ector1935, I'll push the script tonight.
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
Cheers unklar
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
ANNOUNCEMENT
Accuweather changed their hourly forecast page layout, script corrected. Thanks to morfik, ector1935 and unklar for their feedback and support.
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
Teo, I converted an older Conky(with Accuweather) from S11 to the WU-Script.
However, I have a bug in the day display of the forecast images. Yesterday I see the day icons and today I see the night icons in the column of the 9 days.
Where is my thinking error? The syntax1.9 or 1.10 makes no difference.
If you have time..., here are the files
1.9
#https://forums.bunsenlabs.org/viewtopic.php?pid=2121#p2121
# pkill -xf "conky -c $HOME/WuPix/wu_pixconkyrc9" &
# Works perfect: Thu 29 Oct 2015 Sector11 with accuweather modify unklar 15.01.2016
# modify unklar 2019-11-15 with Wunderground_conky_script
### Begin Window Settings ###
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,skip_taskbar,skip_pager
# own_window_colour 000000
# own_window_class Conky
# own_window_title Teo's Accuweather
### ARGB can be used for real transparency - requires composite manager
### Plays hell on conky with images.
own_window_argb_visual yes # Options: yes or no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
own_window_argb_value 120
minimum_size 160 00 # w|h
maximum_width 160
gap_x 450 # l|r
gap_y 50 # u|d
alignment tl
### End Window Settings ###
### Font Settings ###
use_xft yes
xftfont monofur:bold:size=9
xftalpha 1.0
override_utf8_locale yes
### End Font Settings ###
### Color Settings ###
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000
default_color DCDCDC #Gainsboro
color0 A9A9A9 #DarkGray
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 FFA07A #LightSalmon
### End Color Settings ###
### Borders Section ###
# border margins
border_inner_margin 5
border_outer_margin 0
### End Borders Secton ###
### Miscellaneous Section ###
background yes
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes
### End Miscellaneous Section ###
update_interval 2 #0.5
TEXT
${texeci 500 bash $HOME/Wunderground_conky_script/wunderground}\
${color5}Current${image $HOME/1_pixel_images/cyan_1.png -p 75,0 -s 1x710}${goto 85}${color7}Mondphase
${color9}${texeci 600 sed -n '52p' $HOME/Wunderground_conky_script/curr_cond}°${color}\
${image $HOME/Wunderground_conky_script/Forecast_Images/Moon_phase.png -p 100,12 -s 30x30}\
${goto 50}${color8}±${texeci 600 sed -n '58p' $HOME/Wunderground_conky_script/curr_cond}°${color}${goto 82}${execpi 600 sed -n '1p' $HOME/Wunderground_conky_script/moon_data}
${goto 82}${membar 0}
${texeci 600 sed -n '26p' $HOME/Wunderground_conky_script/curr_cond} mb${goto 85}Next 12 hours
${color8}${texeci 600 sed -n '34p' $HOME/Wunderground_conky_script/curr_cond}${color}
UVI ${texeci 600 sed -n '72p' $HOME/Wunderground_conky_script/curr_cond}${goto 85}${tztime GMT-2 %H} h
HUM ${texeci 600 sed -n '36p' $HOME/Wunderground_conky_script/curr_cond} %${goto 100}${texeci 600 sed -n '7p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/current.png -p 2,15 -s 45x45}\
${image $HOME/Wunderground_conky_script/Forecast_Images/h1.png -p 115,90 -s 25x25}\
DP ${texeci 600 sed -n '56p' $HOME/Wunderground_conky_script/curr_cond}°${goto 82}${membar 0}
Wind ${texeci 600 sed -n '82p' $HOME/Wunderground_conky_script/curr_cond}${goto 85}${tztime GMT-3 %H} h
@ ${texeci 600 sed -n '86p' $HOME/Wunderground_conky_script/curr_cond} km/h${goto 100}${texeci 600 sed -n '80p' $HOME/Wunderground_conky_script/hourly}°
Vis ${texeci 600 sed -n '78p' $HOME/Wunderground_conky_script/curr_cond} km
Ceil ${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/curr_cond} m${goto 82}${membar 0}
Prec.${texeci 600 sed -n '22p' $HOME/Wunderground_conky_script/curr_cond} mm${goto 85}${tztime GMT-4 %H} h
CloudCov.${texeci 600 sed -n '55p' $HOME/Wunderground_conky_script/hourly}%${goto 100}${texeci 600 sed -n '153p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h2.png -p 115,140 -s 25x25}\
${image $HOME/Wunderground_conky_script/Forecast_Images/h3.png -p 115,190 -s 25x25}\
${membar 0}
${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 85}${tztime GMT-5 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/4.png -p 30,240 -s 35x35}\
${goto 100}${texeci 600 sed -n '226p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h4.png -p 115,240 -s 25x25}\
${texeci 600 sed -n '208p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 85}${tztime GMT-6 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/6.png -p 30,300 -s 35x35}\
${goto 100}${texeci 600 sed -n '299p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h5.png -p 115,300 -s 25x25}
${texeci 600 sed -n '404p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='3 day' '+%a. %e'}\
${goto 85}${tztime GMT-7 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/8.png -p 30,360 -s 35x35}\
${goto 100}${texeci 600 sed -n '372p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h6.png -p 115,360 -s 25x25}\
${texeci 600 sed -n '600p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='4 day' '+%a. %e'}\
${goto 85}${tztime GMT-8 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/10.png -p 30,412 -s 35x35}\
${goto 100}${texeci 600 sed -n '445p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h7.png -p 115,412 -s 25x25}\
${texeci 600 sed -n '796p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='5 day' '+%a. %e'}\
${goto 85}${tztime GMT-9 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/12.png -p 30,460 -s 35x35}\
${goto 100}${texeci 600 sed -n '518p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h8.png -p 115,460 -s 25x25}\
${texeci 600 sed -n '992p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='6 day' '+%a. %e'}\
${goto 85}${tztime GMT-10 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/14.png -p 30,516 -s 35x35}\
${goto 100}${texeci 600 sed -n '591p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h9.png -p 115,516 -s 25x25}\
${texeci 600 sed -n '1188p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='7 day' '+%a. %e'}\
${goto 85}${tztime GMT-11 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/16.png -p 30,568 -s 35x35}\
${goto 100}${texeci 600 sed -n '664p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h10.png -p 115,568 -s 25x25}\
${texeci 600 sed -n '1384p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='8 day' '+%a. %e'}\
${goto 85}${tztime GMT-12 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/18.png -p 30,620 -s 35x35}\
${goto 100}${texeci 600 sed -n '737p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h11.png -p 115,620 -s 25x25}\
${texeci 600 sed -n '1580p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='9 day' '+%a. %e'}\
${goto 85}${tztime GMT-13 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/20.png -p 30,670 -s 35x35}\
${goto 100}${texeci 600 sed -n '737p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h12.png -p 115,670 -s 25x25}\
${texeci 600 sed -n '1776p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
1.10
--https://forums.bunsenlabs.org/viewtopic.php?pid=2121#p2121
-- pkill -xf "conky -c $HOME/WuPix/wu_pixconkyrc10" &
-- Works perfect: Thu 29 Oct 2015 Sector11 with accuweather modify unklar 15.01.2016
-- modify unklar 2019-11-15 with Wunderground_conky_script
conky.config = {
own_window = true,
own_window_type = 'normal',
own_window_transparent = false,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- own_window_colour = '#000000',
-- own_window_class = 'Conky',
-- own_window_title = 'Teo's Accuweather',
own_window_argb_visual = true,
own_window_argb_value = 120,
minimum_width = 160, minimum_height = 00, -- w|h
maximum_width = 160,
gap_x = 450, -- l|r
gap_y = 50, -- u|d
alignment = 'top_left',
use_xft = true,
font = 'monofur:bold:size=9',
xftalpha = 1,
override_utf8_locale = true,
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#DCDCDC', --Gainsboro
color0 = '#A9A9A9', --DarkGray
color1 = '#778899', --LightSlateGray
color2 = '#F5F5DC', --Beige
color3 = '#87CEFA', --LightSkyBlue
color4 = '#48D1CC', --MediumTurquoise
color5 = '#FFDEAD', --NavajoWhite
color6 = '#00BFFF', --DeepSkyBlue
color7 = '#B0E0E6', --PowderBlue
color8 = '#FFD700', --Gold
color9 = '#FFA07A', --LightSalmon
border_inner_margin = 5,
border_outer_margin = 0,
background = true,
use_spacer = 'none',
no_buffers = true,
imlib_cache_size = 0,
double_buffer = true,
update_interval = 2, --0.5
};
conky.text = [[
${texeci 500 bash $HOME/Wunderground_conky_script/wunderground}\
${color5}Current${image $HOME/1_pixel_images/cyan_1.png -p 75,0 -s 1x710}${goto 85}${color7}Mondphase
${color9}${texeci 600 sed -n '52p' $HOME/Wunderground_conky_script/curr_cond}°${color}\
${image $HOME/Wunderground_conky_script/Forecast_Images/Moon_phase.png -p 100,12 -s 30x30}\
${goto 50}${color8}±${texeci 600 sed -n '58p' $HOME/Wunderground_conky_script/curr_cond}°${color}${goto 82}${execpi 600 sed -n '1p' $HOME/Wunderground_conky_script/moon_data}
${goto 82}${membar 0}
${texeci 600 sed -n '26p' $HOME/Wunderground_conky_script/curr_cond} mb${goto 85}Next 12 hours
${color8}${texeci 600 sed -n '34p' $HOME/Wunderground_conky_script/curr_cond}${color}
UVI ${texeci 600 sed -n '72p' $HOME/Wunderground_conky_script/curr_cond}${goto 85}${tztime GMT-2 %H} h
HUM ${texeci 600 sed -n '36p' $HOME/Wunderground_conky_script/curr_cond} %${goto 100}${texeci 600 sed -n '7p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/current.png -p 2,15 -s 45x45}\
${image $HOME/Wunderground_conky_script/Forecast_Images/h1.png -p 115,90 -s 25x25}\
DP ${texeci 600 sed -n '56p' $HOME/Wunderground_conky_script/curr_cond}°${goto 82}${membar 0}
Wind ${texeci 600 sed -n '82p' $HOME/Wunderground_conky_script/curr_cond}${goto 85}${tztime GMT-3 %H} h
@ ${texeci 600 sed -n '86p' $HOME/Wunderground_conky_script/curr_cond} km/h${goto 100}${texeci 600 sed -n '80p' $HOME/Wunderground_conky_script/hourly}°
Vis ${texeci 600 sed -n '78p' $HOME/Wunderground_conky_script/curr_cond} km
Ceil ${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/curr_cond} m${goto 82}${membar 0}
Prec.${texeci 600 sed -n '22p' $HOME/Wunderground_conky_script/curr_cond} mm${goto 85}${tztime GMT-4 %H} h
CloudCov.${texeci 600 sed -n '55p' $HOME/Wunderground_conky_script/hourly}%${goto 100}${texeci 600 sed -n '153p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h2.png -p 115,140 -s 25x25}\
${image $HOME/Wunderground_conky_script/Forecast_Images/h3.png -p 115,190 -s 25x25}\
${membar 0}
${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 85}${tztime GMT-5 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/4.png -p 30,240 -s 35x35}\
${goto 100}${texeci 600 sed -n '226p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h4.png -p 115,240 -s 25x25}\
${texeci 600 sed -n '208p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 85}${tztime GMT-6 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/6.png -p 30,300 -s 35x35}\
${goto 100}${texeci 600 sed -n '299p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h5.png -p 115,300 -s 25x25}
${texeci 600 sed -n '404p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='3 day' '+%a. %e'}\
${goto 85}${tztime GMT-7 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/8.png -p 30,360 -s 35x35}\
${goto 100}${texeci 600 sed -n '372p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h6.png -p 115,360 -s 25x25}\
${texeci 600 sed -n '600p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='4 day' '+%a. %e'}\
${goto 85}${tztime GMT-8 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/10.png -p 30,412 -s 35x35}\
${goto 100}${texeci 600 sed -n '445p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h7.png -p 115,412 -s 25x25}\
${texeci 600 sed -n '796p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='5 day' '+%a. %e'}\
${goto 85}${tztime GMT-9 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/12.png -p 30,460 -s 35x35}\
${goto 100}${texeci 600 sed -n '518p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h8.png -p 115,460 -s 25x25}\
${texeci 600 sed -n '992p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='6 day' '+%a. %e'}\
${goto 85}${tztime GMT-10 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/14.png -p 30,516 -s 35x35}\
${goto 100}${texeci 600 sed -n '591p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h9.png -p 115,516 -s 25x25}\
${texeci 600 sed -n '1188p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='7 day' '+%a. %e'}\
${goto 85}${tztime GMT-11 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/16.png -p 30,568 -s 35x35}\
${goto 100}${texeci 600 sed -n '664p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h10.png -p 115,568 -s 25x25}\
${texeci 600 sed -n '1384p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='8 day' '+%a. %e'}\
${goto 85}${tztime GMT-12 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/18.png -p 30,620 -s 35x35}\
${goto 100}${texeci 600 sed -n '737p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h11.png -p 115,620 -s 25x25}\
${texeci 600 sed -n '1580p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='9 day' '+%a. %e'}\
${goto 85}${tztime GMT-13 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/20.png -p 30,670 -s 35x35}\
${goto 100}${texeci 600 sed -n '737p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h12.png -p 115,670 -s 25x25}\
${texeci 600 sed -n '1776p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
]];
Offline
You have to check the second line of the 10days file with the if_match command; read one of my conkyrcs to see how.
There are two cases:
1)If the first time section of the file is TONIGHT, your conkyrc should take its values from the 2nd, 4th, 6th, etc. sections.
2)If the first time section of the file is TODAY, your conkyrc should take its values from the 1st, 3rd, 5th, etc. sections.
So, in your case:
...
${if_match "${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/10days}" == "Tonight"}${membar 0}
${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 85}${tztime GMT-5 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/2.png -p 30,240 -s 35x35}\
${goto 100}${texeci 600 sed -n '226p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h4.png -p 115,240 -s 25x25}\
${texeci 600 sed -n '110p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 85}${tztime GMT-6 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/4.png -p 30,300 -s 35x35}\
${goto 100}${texeci 600 sed -n '299p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h5.png -p 115,300 -s 25x25}
${texeci 600 sed -n '306p' $HOME/Wunderground_conky_script/10days}
...
${membar 0}
${else}${membar 0}
${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 85}${tztime GMT-5 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/1.png -p 30,240 -s 35x35}\
${goto 100}${texeci 600 sed -n '226p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h4.png -p 115,240 -s 25x25}\
${texeci 600 sed -n '12p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 85}${tztime GMT-6 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/3.png -p 30,300 -s 35x35}\
${goto 100}${texeci 600 sed -n '299p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h5.png -p 115,300 -s 25x25}
${texeci 600 sed -n '208p' $HOME/Wunderground_conky_script/10days}
...
${membar 0}${endif}
]];
If you get an additional line try dealing with it with a voffset.
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
Thank you for your trouble, Teo.
But I still have to "practice" because this order:
${if_match "${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/10days}" == "Tonight"}
after "CloudCov." there's no more output in the Conky.
The reason seems to me to be that I don't use a Today edition. The next day should appear in the Conky right away.
works
${if_match "${texeci 600 sed -n '100p' $HOME/Wunderground_conky_script/10days}" == "Tonight"}
and
${if_match "${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/10days}" == "Today"}
which I'm not sure this is "Tonight" and "Today" correctly.
Now I have
...
${if_match "${texeci 600 sed -n '2p' $HOME/Wunderground_conky_script/10days}" == "Today"}\
${membar 0}
${execi 3600 date --date='1 day' '+%a. %e'}\
${goto 85}${tztime GMT-5 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/3.png -p 30,240 -s 35x35}\
${goto 100}${texeci 600 sed -n '226p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h4.png -p 115,240 -s 25x25}\
${texeci 600 sed -n '208p' $HOME/Wunderground_conky_script/10days}°
${membar 0}
${execi 3600 date --date='2 day' '+%a. %e'}\
${goto 85}${tztime GMT-6 %H} h
${image $HOME/Wunderground_conky_script/Forecast_Images/5.png -p 30,300 -s 35x35}\
${goto 100}${texeci 600 sed -n '299p' $HOME/Wunderground_conky_script/hourly}°
${image $HOME/Wunderground_conky_script/Forecast_Images/h5.png -p 115,300 -s 25x25}
${texeci 600 sed -n '404p' $HOME/Wunderground_conky_script/10days}°
...
Offline
If the 2nd line of the 10days file is "Tonight", then the sections in the file go as follows:
1-98: Tonight
99-196: Tomorrow
197-294: Tomorrow Night
295-392: Monday
...etc.
If the 2nd line of the 10days file is not "Tonight", then the sections in the file go as follows:
1-98: Today
99-196: Tonight
197-294: Tomorrow
295-392: Tomorrow Night
491-588: Monday
...etc.
So, if sed -n '2p' $HOME/Wunderground_conky_script/10days}" == "Tonight", you need to take data from 99-196, 295-392, etc.
Else, you need to take data from 197-294, 491-588, etc.
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
That's right, Teo. But it's not the problem.
The problem is that Conky is cut off, as I wrote above.
I suspect the error is in the if statement and using the "Backslash" in my configuration.
Offline
That's right, Teo. But it's not the problem.
![]()
The problem is that Conky is cut off, as I wrote above.I suspect the error is in the if statement and using the "Backslash" in my configuration.
You'd "suspect" wrong unklar ...
{sounds of the trumpets announcing the arrival of El Conkystador}
Nowhere in Conky v9 do I see:
max_specials
Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
that doesn't exist in v10. But you can try:
What does exist in both v9 and v10 is:
max_user_text bytes
Maximum size of user text buffer, i.e. text inside conky.text section in config file (default
is 16384 bytes)
so increase 16384 + 2048 (try) + 2048 (try) see if it adds some missing stuff
If you get it all: reduce that number a "little" at a time as it's chewing up "buffer space" - 512 | - 512
NOTE: I believe you have to "kill" the conky vs just refresh it
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
+1 for what S11 said
Also, do you get any error messages when you run conky from a terminal?
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
{waving madly from a corner} Hi my friends unklar and Teo and everyone....
I may not post much these days but I read al lot!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
unklar wrote:That's right, Teo. But it's not the problem. smile
The problem is that Conky is cut off, as I wrote above.I suspect the error is in the if statement and using the "Backslash" in my configuration.
You'd "suspect" wrong unklar ...
{sounds of the trumpets announcing the arrival of El Conkystador}
Nowhere in Conky v9 do I see: ...
Brilliant! That's just awesome! Again it has hit: WOW, BINGO!
This reminds me when you recommended me years ago to reduce the size of the pictures in Accuweather because of the high Cpu load and in the Conky
--imlib_cache_size = 0,
imlib_cache_flush_interval = 900,
to do.
This time does exactly
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
# (default is 512)
max_specials 1024
# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
max_user_text 48552
this job!
Thank you very much, my friend. O:)
Teo, everything's correct in the terminal. It shows no errors. That's the "malicious" behavior.
Offline
Good to know unklar, glad you've solved it.
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 so love happy endings
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ manuel-909
WOW! That is a beautiful desktop!!!
¡Wow! Es un hermoso escritorio!!!
¿Cómo estás mi viejo amigo?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Nice one manuel, that's what I call conky-extravaganza!
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 am good my friend sector 11 and you how are you doing ? , thank's TeoBigusGeekus is all your scripts.
Offline
Thanks for being around mate.
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