You are not logged in.
Which script are you trying to use?
I don't see any weather in your conky configuration.
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
# required by producing your own API key from [url]http://www.wunderground.com/weather/api/[/url]
w = Wunderground.new secrets['wunderground']['api_key']
file ={"message":"accurate","cod":"200","count":3,"list":[{"id":2641549,"name":"Newtonhill","coord":{"lon":-2.15,"lat":57.033329},"main":{"temp":276.15,"pressure":1015,"humidity":93,"temp_min":276.15,"temp_max":276.15},"dt":1457569200,"wind":{"speed":4.6,"deg":310},"sys":{"country":""},"clouds":{"all":76},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}]},{"id":2636814,"name":"Stonehaven","coord":{"lon":-2.21177,"lat":56.96365},"main":{"temp":278.511,"temp_min":278.511,"temp_max":278.511,"pressure":1026.42,"sea_level":1028.01,"grnd_level":1026.42,"humidity":100},"dt":1457569155,"wind":{"speed":5.8,"deg":3.00238},"sys":{"country":""},"clouds":{"all":32},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}]},{"id":2640030,"name":"Portlethen","coord":{"lon":-2.13066,"lat":57.054741},"main":{"temp":276.15,"pressure":1015,"humidity":93,"temp_min":276.15,"temp_max":276.15},"dt":1457569200,"wind":{"speed":4.6,"deg":310},"sys":{"country":""},"clouds":{"all":76},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}]}]}
'/tmp/weather.txt'
humidity = json['relative_humidity']
feelslike = json["feelslike_#{degree}"]
visibility = json["visibility_#{distance_unit}"]
weather = json['weather']
some ruby bs
=== mod edit === code blocks added
Please use
[code]
code in code blocks
[/code]
Last edited by Sector11 (2016-03-15 13:06:15)
Offline
i dont ggeet it sometimes what if one conky haave 6 conkyrc files what uave to combine them to one or just load one by one
so easy with conky manager.. but takes all the fun out... plus u learn way more one ure oww
Last edited by d4rksenl4bs (2016-03-10 22:58:08)
Offline
If what you're trying to do is use the wunderground script, have you read the accompanying pdf?
Everything you need to kmow is there.
Which part do you not understand?
Last edited by TeoBigusGeekus (2016-03-11 17:55:21)
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
Script 1c updated. It now has the option to show the weather of up to 8 hours in the past as well as the next 8 hours' forecast. It can always of course show the next 16hours' forecast. The conkyrcs are in the conky 1.10 lua syntax.
Here is the old, conky 1.9 syntax.
.conkyrc_1c_16
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 1030 300
maximum_width 1030
override_utf8_locale yes
# Draw shades?
draw_shades yes
# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=9
uppercase no # 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
own_window_colour brown
# 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 10
gap_y 30
imlib_cache_size 0
text_buffer_size 4096
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Arial:size=11}${color ffe595}HOURLY WEATHER ${font}${hr 2}${texeci 600 bash $HOME/1c_accuweather_images_hourly/1c}
${execpi 600 sed -n '1,26p' $HOME/1c_accuweather_images_hourly/altogether16}
.conkyrc_1c_8+8
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 500 300
maximum_width 1030
override_utf8_locale yes
# Draw shades?
draw_shades yes
# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=9
uppercase no # 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
own_window_colour brown
# 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 10
gap_y 30
imlib_cache_size 0
text_buffer_size 4096
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Arial:size=11}${color ffe595}HOURLY WEATHER ${font}${hr 2}${texeci 600 bash $HOME/1c_accuweather_images_hourly/1c}
${execpi 600 sed -n '1,26p' $HOME/1c_accuweather_images_hourly/altogether8+8}
Last edited by TeoBigusGeekus (2016-03-13 20:21:58)
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
Thank you for your work!
I will test today.
Offline
@Teo,
again, thank you for your good work! Sunny greetings to Greece! O:)
my report:
In the console/terminal from $Mageia and $Arch leads the kill command due to the plus sign (8+8) is not successful.
This is also the start-stop script of @S11 the case.
Remove I "+" (. conkyrc 1_88) operates the kill command correctly.
[unklar@localhost ~]$ pkill -xf "conky -c /home/unklar/1c_accuweather_images_hourly/.conkyrc_1c_8+8 " &
[1] 14106
[1]+ Exit 1 pkill -xf "conky -c /home/unklar/1c_accuweather_images_hourly/.conkyrc_1c_8+8 "
[unklar@localhost ~]$ killall conky
[unklar@localhost ~]$ pkill -xf "conky -c /home/unklar/1c_accuweather_images_hourly/.conkyrc_1c_88" &
[1] 16552
[1]+ Fertig pkill -xf "conky -c /home/unklar/1c_accuweather_images_hourly/.conkyrc_1c_88"
Easy is then conky version 1.9
The version 1.10 requires further tests.
I have the pictures reduced
mogrify -resize 50x30 *.png
the xorg-server in "htop" still has a CPU load ~ 22%
I'll try to KaOS also.
Generally caused the conky-version 1.10 lot more problems. This is my personal experience. Very different factors at play, which are different from one computer to another.
Bunsen Labs should be as long as possible to keep the version 1.9.
Regards
Offline
Alright, I'll lose the + sign in all the script's file names.
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
Apparently, putting a plus sign (+) in the filenames of the new 1c wasn't a good idea. + (plus sign) changed to _plus_ for both the altogether8_plus_8 and .conkyrc_1c_8_plus_8 files.
Old conky syntax files:
.conkyrc_1c_16
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 1030 300
maximum_width 1030
override_utf8_locale yes
# Draw shades?
draw_shades yes
# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=9
uppercase no # 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
own_window_colour brown
# 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 10
gap_y 30
imlib_cache_size 0
text_buffer_size 4096
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Arial:size=11}${color ffe595}HOURLY WEATHER ${font}${hr 2}${texeci 600 bash $HOME/1c_accuweather_images_hourly/1c}
${execpi 600 sed -n '1,26p' $HOME/1c_accuweather_images_hourly/altogether16}
.conkyrc_1c_8_plus_8
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 3
# Minimum size of text area
minimum_size 500 300
maximum_width 1030
override_utf8_locale yes
# Draw shades?
draw_shades yes
# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=9
uppercase no # 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
own_window_colour brown
# 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 10
gap_y 30
imlib_cache_size 0
text_buffer_size 4096
# stuff after 'TEXT' will be formatted on screen
TEXT
${font Arial:size=11}${color ffe595}HOURLY WEATHER ${font}${hr 2}${texeci 600 bash $HOME/1c_accuweather_images_hourly/1c}
${execpi 600 sed -n '1,26p' $HOME/1c_accuweather_images_hourly/altogether8_plus_8}
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 hope it's nothing serious.
All the best S11, I wish you a speedy recovery.
I'm back - still alive and kicking!
Now to check out what's changed and - cough cough - and test/tweak some stuff.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
/offtopic
i dont ggeet it sometimes what if one conky haave 6 conkyrc files what uave to combine them to one or just load one by one
so easy with conky manager.. but takes all the fun out... plus u learn way more one ure oww
I run 12 conkys daily, I do not use any conky manager. I've tested it over the years but prefer the 'hands on approach'. One learns better that way. So in that we agree.
Desktop #1 - 7 conkys - 3 on Desktop #1 only - 4 on all desktops
Desktop #2 - 2 conkys - only on #2
Desktop #3 - 3 conkys - only on #3
And an additional 4 conkys start on desktop #1 when I start the computer (in windows) so I read them, and close them.
ie: my vnstat conky:
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Bunsen Labs should be as long as possible to keep the version 1.9.
NICE testing unklar! Awesome work.
BunsenLabs is based on Debian Jessie (stable) so as long as that is the official stable release BL will be running conky v1.9. And after testing conky v1.10 I have decided: I do not like it. It is slower, it doesn't have ${pre_exec ...}, I use it a lot, as well I have read about other problems and commands that don't work right in 1.10 that I'm sure time will fix.
So my locally stored: conky-all_1.9.0-6_amd64.deb will become my default conky app for the foreseeable future.
Last edited by Sector11 (2016-03-15 13:43:21)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ Good to see you back, Sector11.
Offline
Thank you.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@Sector11
I am delighted that you're back.
So my locally stored: conky-all_1.9.0-6_amd64.deb will become my default conky app for the foreseeable future.
These provisions have also taken i
Best Regards
Offline
Thank you unklar.
Believe me, I've missed being here - I was going through conky withdrawal. I have so few pleasures in lifelinux I refuse to give up my one vice.
=== NOTE ===
To keep everyone on track
- two stents installed in the left coronary artery a week ago.
- the one week follow up in an hour.
- it was, in the doctors words, "an excellent proceedure without complications". ${color me-happy}
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ Welcome back indeed Sector 11 - Conky Maestro !!
Offline
@ jalexander9
Thank you.
As Russell Casse said on 4 July, 1996:
Ha-ha-ha! Hello, boys! I'm BAAAAAACK!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ Good to hear. I'll let damo's mother know you are fine
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Welcome back S11 and stay away from overexciting conkys
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