You are not logged in.
This should be fine if I understand it right!
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- fiddle with window
use_spacer = 'right',
use_xft = true,
-- Update interval in seconds
update_interval = 3,
-- Minimum size of text area
minimum_width = 380, minimum_height = 500,
maximum_width = 380,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Arial:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
border_inner_margin = 9,
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
own_window_colour = 'brown',
own_window_transparent = true,
-- Text alignment, other possible values are commented
--alignment top_left
--alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right
-- Gap between borders of screen and text
gap_x = 20,
gap_y = 10,
imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}
${font conkyweather:size=130}${execi 600 sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '26p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '27p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '28p' $HOME/1_accuweather/first_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°
${font Arial:size=8}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '29p' $HOME/1_accuweather/first_days}${goto 135}${execi 600 sed -n '30p' $HOME/1_accuweather/first_days}${goto 255}${execi 600 sed -n '26p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600 sed -n '27p' $HOME/1_accuweather/last_days}${goto 135}${execi 600 sed -n '28p' $HOME/1_accuweather/last_days}${goto 255}${execi 600 sed -n '29p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°
${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 2}
]];
Offline
This should be fine if I understand it right!
Okay but what if you want a solid window?
own_window_colour = 'black',
own_window_transparent = false,
Then it's not so fine!
http://i.imgur.com/fdQ5VBZ.png
Last edited by chairman67 (2017-06-15 14:32:19)
Offline
Here is example of conkyrc_1_images_2015/6 with height reduced. Their height can be reduced by deleting the empty lines at the end of the conkyrc as suggested by Teo. But for some strange reason it doesn't work on conkyrc_1_weatherfont.
Offline
The behavior is confirmed on my system as well.
It happens no matter what, whether you use an images' conky or the weatherfont one.
It happens even when you delete all conky text and just leave the title WEATHER alone.
Could it be a conky bug?
A setting we don't know about?
What conky version are you using?
I'm using 1.10.6-2.
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
G'day Teo,
I'm on 1.10.1-3
It happens no matter what, whether you use an images' conky or the weatherfont one.
It happens even when you delete all conky text and just leave the title WEATHER alone.
I disagree. See the marked up image URL posted below that explains.
http://i.imgur.com/NMp5OkL.png
I found the cause for the different behavior with conkyrc_1_weatherfont.
Its this offset setting in the script for the first large weatherfont.
${voffset -170}
If you delete the first (largest) weatherfont from the script the excess height
gets reduced like the others. See the image URL below which shows the height resolved.
http://i.imgur.com/yzEUhHe.png
I am not sure if the conkyrc script can be modified to resolve it?
This finding proves it's not a conky bug!
Check it out to see for yourself.
Last edited by chairman67 (2017-06-15 22:57:04)
Offline
G'day Teo,
I'm on 1.10.1-3It happens no matter what, whether you use an images' conky or the weatherfont one.
It happens even when you delete all conky text and just leave the title WEATHER alone.I disagree. See the marked up image URL posted below that explains.
http://i.imgur.com/NMp5OkL.png
http://i.imgur.com/NMp5OkLm.png
I found the cause for the different behavior with conkyrc_1_weatherfont.
Its this offset setting in the script for the first large weatherfont.${voffset -170}
If you delete the first (largest) weatherfont from the script the excess height
is reduced like the others. See the image below which shows it.
http://i.imgur.com/yzEUhHe.png
http://i.imgur.com/yzEUhHem.png
I am not sure if the conkyrc script can be modified to resolve it?
This finding proves it's not a conky bug!
Check it out to see for yourself.
Perhaps it can be corrected in conky 1.10.1-3, but not in 1.10.6-2
...unless it's a new and obscure setting we're missing...
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
Perhaps it can be corrected in conky 1.10.1-3, but not in 1.10.6-2
...unless it's a new and obscure setting we're missing...
There is nothing obscure with the conky 1.10.6-2!
You need to change your minimum_height to 10 from 500 and then you will see the height get reduced all the way up to the WEATHER text!
Now, if you put everything back and then remove just the first weatherfont from the script altogether you will produce what I get in the second image I posted.
Remove just this code.
${font conkyweather:size=130}${execi 600 sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}
So there is something about the -170 vertical offset with the first weatherfont pic that forces the height down at the bottom of the window! I am not sure if the script can be modified to stop this knock on effect?
Last edited by chairman67 (2017-06-15 23:16:42)
Offline
Well, you's got the idea BUT ... there is always a BUT!
Conky puts one line on the screen for every line you have under TEXT (or: conky.text = [[ )
Text
line1
line2
line3
line4
line5
Which produces a conky 5 line on the screen. Now what happens when you start playing with ${voffset} --- you are moving "where the line displays on the screen" BUT conky is still putting it on the proper line - and then moving it.
So you end up with that "free space". Take a look at this: Goto/offset/voffset
And try this:
1=================
${voffset -14}2=================
3===================================
4=================
${voffset -14}5=================
6===================================
${voffset xx) will vary depending on your font and fontsize
Now to get rid of that space on the end....
On the last working line of your conky add an \ like this: ${somecommand}\ then on the next line:
${voffset 20}----------
and play with that "20" hitting [ Ctrl + s ] on every change until the line comes up to where you want the conky window to end just under the final displayed text.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ chairman67 - why not use scrot.moe an image site setup and hosted by a BunsenLab user, mrneilypops, for all BunsenLab users - it's FREE! too.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks for your valued input Sector. I will take a closer look at your post after some sleep.. it's been an all nighter for me! Will pick this up later. Cheers for now.
Edit: Sec, I will look into Scrot later as well. Thanks for the tip.
Last edited by chairman67 (2017-06-15 23:25:31)
Offline
Yea go get some sleep ... 9:30ish in the AM is a LONG night.
World time weather conky ...
Remember this one Teo? World time, world weather (you did the script) and International Dateline by colour change with an updating image of the world c/w day/night shadow and cloud cover.
Took me a few days to get the ( + ) marks over the cities as the clouds kept covering them up
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Oh God, talking about a brainfart.
Sorry everyone, that one went completely over my head; I totally forgot about the min height variable.
@chairman67
Read S11's post, it explains everything.
Just change your conkyrc's last lines from
...
${hr 2}
]];
to
...
${hr 2}${voffset -145}
]];
Play with voffset's value and you'll fix your issue.
@S11
Thanks buddy for the clear judgement.
I think that world weather thingy reminds me of something, but it must have been some years, haven't they?
Last edited by TeoBigusGeekus (2017-06-17 05:25:34)
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 & S11,
This workaround fix does the trick. Thanks a whole bunch, you guys are both legends!
S11, now trying out scrot.moe for the first time. Nice! Posted image below shows the effect of adding voffset variable at the last line of the conkyrc for the 3 main weather conkys. This does a real nice job in fine tuning the window's height. Fantastic stuff!
Offline
Good to know you've solved your problem and sorry again for the brainfart.
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
No worries mate, no need for any apology... Brainfarts get the better of us all from time to time.
In most cases there is always a workaround to fix most technical problems we encounter.. but in life, well that's a different challenge!
Offline
Two weeks into Linux and you already have a weather conky! That's a sign of conky addiction, we'll have you in the One Step Program before you know it.
In a terminal check out man conky. 'man' is your friendly manual for 99% of the programs you have installed.
Did I say welcome to the forums? Come back anytime.
Thanks Sector, much appreciated!
Yea go get some sleep ... 9:30ish in the AM is a LONG night.
Actually it was more like 0730ish being that I am currently living in China !
Last edited by chairman67 (2017-06-16 12:15:55)
Offline
Hello,
I still have an update problem with the wu and acc weather scripts. I've noticed this error with sed :
sed: -e expression n°1, caractère 4: commande manquante
The conky is not displayed, after that I re-launch the conky which is now displayed. The problem is that I run 2 conkys with one time with a bug and at the second time without error reported...
After a while the script crash, I didn't find a solution to correct the sed problem, thanks by advance for help.
... oh and the T° of the last hour forecast is not dispayed. here is my conky:
conky.config = {
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
text_buffer_size = 2048,
-- fiddle with window
use_spacer = 'none',
use_xft = true,
-- Update interval in seconds
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
-- Minimum size of text area
minimum_width = 235, minimum_height = 320,
maximum_width = 235,
override_utf8_locale = true,
-- Draw shades?
draw_shades = true,
-- Text stuff
draw_outline = true,-- amplifies text if yes
draw_borders = false,
--font freesans -12
font = 'Liberation Mono:bold:size=9',
uppercase = false,-- set to yes if you want all text to be in uppercase
-- Stippled borders?
stippled_borders = 3,
-- border margins
--border_margin = '9',
-- border width
border_width = 10,
-- Default colors and also border colors, grey90 == #e5e5e5
default_color = '#cbcbcb',
color1 = '#505454',
own_window_colour = 'brown',
own_window_transparent = true,
-- Text alignment, other possible values are commented
--alignment top_right
--alignment top_left
alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right
-- Gap between borders of screen and text
gap_x = 50,
gap_y = 50,
imlib_cache_size = 0,
};
conky.text = [[
${voffset -15}${execi 600 bash $HOME/2_Wunderground_API/2_wun}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,30 -s 260x145}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,168 -s 260x70}
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 18,9 -s 100x110}\
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 118,9 -s 100x110}\
${image $HOME/2_Wunderground_API/Now.png -p 55,98 -s 125x75}
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,250 -s 260x70}
${font LED_Mono:size=60}${color1}${goto 24}${time %H}${goto 124}${time %M}${font}
${goto 28}${execi 600 sed -n '67p' $HOME/2_Wunderground_API/Conditions}°\
${goto 130}${time %a %e %b}${color}
${goto 4}Wind ${execi 600 sed -n '73p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execi 600 sed -n '63p' $HOME/2_Wunderground_API/Conditions|cut -c-13}
${goto 4}${execi 600 sed -n '74p' $HOME/2_Wunderground_API/Hourly} km/h\
${alignr 17}${execi 600 sed -n '69p' $HOME/2_Wunderground_API/Conditions} Hum
${goto 4}UVI ${execi 600 sed -n '121p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execi 600 sed -n '57p' $HOME/2_Wunderground_API/Simple_Forecast}mm Prec
${goto 4}${execi 600 sed -n '85p' $HOME/2_Wunderground_API/Conditions}mb\
${alignr 17}${execi 600 sed -n '117p' $HOME/2_Wunderground_API/Conditions} Vis${color}
##--bloc heures##
${goto 12}${execi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execi 600 echo `date --date "10 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${voffset 15}${color8}${goto 6}${execi 600 sed -n '172p' $HOME/2_Wunderground_API/Hourly}°\
${goto 52}${execi 600 sed -n '406p' $HOME/2_Wunderground_API/Hourly}°\
${goto 99}${execi 600 sed -n '640p' $HOME/2_Wunderground_API/Hourly}°\
${goto 144}${execi 600 sed -n '874p' $HOME/2_Wunderground_API/Hourly}°\
${goto 190}${execi 600 sed -n '1108' $HOME/2_Wunderground_API/Hourly}°\
${image $HOME/2_Wunderground_API/h2.png -p 5,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h4.png -p 51,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h6.png -p 97,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h8.png -p 143,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h10.png -p 188,195 -s 50x30}${color}\
##--bloc heures##
${voffset 52}${goto 12}${execi 600 echo `date --date "1 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execi 600 echo `date --date "2 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execi 600 echo `date --date "3 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execi 600 echo `date --date "4 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execi 600 echo `date --date "5 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${color8}${goto 6}${execi 600 sed -n '145p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52}${execi 600 sed -n '251p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99}${execi 600 sed -n '357p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144}${execi 600 sed -n '463p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190}${execi 600 sed -n '569p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${image $HOME/2_Wunderground_API/d2.png -p 5,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d3.png -p 51,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d4.png -p 97,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d5.png -p 143,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d6.png -p 188,273 -s 50x30}\
${voffset 15}${color3}${goto 6} ${execi 600 sed -n '150p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52} ${execi 600 sed -n '256p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99} ${execi 600 sed -n '362p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144} ${execi 600 sed -n '468p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190} ${execi 600 sed -n '574p' $HOME/2_Wunderground_API/Simple_Forecast}°${color}\
]];
Offline
@ chairman67 - that's an old trick that was on Conky Hardcore, Conky Pitstops predecessor, that only exists on my machine these days. Especially useful if conky is stopping you from using that space on your desktop or there is a conflict between conkys background and your background. One of the reasons I don't like ${voffset}, but I admit at times it's necessary.
@ Teo - Old! OH YEA!! but still working, maybe this will jog your memory, I found the "simple weather site" - a chinese site out of Bejing: http://www.hko.gov.hk/wxinfo/worldwx/wwi.htm
The "majorcities" script you wrote has this line I added:
# TeoBigusGeekus - 20130915
-- a few months shy of 4 years now.
Habitual - who doesn't do conkys anymore - had the code to grab the earth image with daylight and night shadow that updates every 30 minutes.
And it was ragamatrix who had a conky that had a few cities on a small map that showed the time using ${tztime}
After asking you for help with the script** I went NUTZ! merging their ideas into one conky, adding a change in colour as the "date" changed as conky ran.
= = = = =
** help as in "Hey Teo can you write a script to grab the cities/weather from ... ]:D ... and being the nice guy you are you did it almost instantly.
As I look at it today though it needs a major tweak as the info, according to the map has shifted .... BsAs is a few thousand miles east of it's actual location, in the Atlantic. Hmmmm maybe I found another Atlantis.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello,
I still have an update problem with the wu and acc weather scripts.
Trying this here to see if I can help.
... but first thing you need to change:
-- border margins
--border_margin = '9',
to
-- border margins
--border_inner_margin = '9',
this code is WU only though right.
Also can you post the contents of: $HOME/2_Wunderground_API/2_wun please.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ ragamatrix
Are wou running the latest script:
2) WUnderground API - All users - 2_4-3-17
your "2_wun" is either: 1) old or 2) modified - in which case we need to see it.
Without your images and using your code below "conky.text = [[" in conky v1.9 I get it:
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline