You are not logged in.

#101 2015-11-02 19:13:57

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@ Nili and TBG - it may seem like I am a walking talking, living breathing meteorological station station but let me assure you that; I am - with the help I get from scripts others use.

And now for the weather:
Today will be light, tonight will be dark. HEY! I can do that with sunrise|sunset times  ${grin big_evil}
And Teo's weather: It's Spring in the South and Autumn in the North


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#102 2015-11-02 19:17:29

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Sector11 wrote:

And Teo's weather: It's Spring in the south and Autumn in the North

LOL, you still remember that one...


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

#103 2015-11-02 21:31:19

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

TeoBigusGeekus wrote:
Sector11 wrote:

And Teo's weather: It's Spring in the South and Autumn in the North

LOL, you still remember that one...

Remember - me!  lol lol  Never, my forgetter is getting better!

I have it well documented in my old 1b2 conky, that I used just before the "updated script" - I should put it back - just for fun!  devil
2015_11_02_18_01_10_Scrot11.jpg
It is rounded off to "months", so not an exact science, but then, neither is the weather an exact science!

Interesting, I started the old one - it updated the data but the running conky hadn't updated yet.
PROOF that weather is an inexact science!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#104 2015-11-03 08:09:54

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 918
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

OK, I say do not reject if someone offer you a job in a meteorologist stations , Teo too, You can work together as a team. smile

You guys use this work for hobbies (think), you wouldn't be wrong to receive some money one day for any big weather project.

Nice weather conky as always. Your shots speak itself.


Devuan / Fluxbox (lean & mean)
Rosenburg Engel [神崎蘭子(CV:内田真礼)]

Offline

#105 2015-11-03 11:40:22

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

We have nothing to do with the making of the weather forecast, we just take it and present it in a beautiful way through 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

#106 2015-11-03 12:06:45

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Thank you Nili, for the nice compliment.  And you are right, it's a pastime or hobby.  And of course, what Teo said.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#107 2015-11-03 17:12:43

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Request:

7 Day forecast in a floating window. Showing the basic high, low, humidity, % chance of rain, wind, sun rise and set times.

Thanks!


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

#108 2015-11-03 18:12:08

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

HUH!  As in you want someone to make one?  Did you look at the free samples from the first post?


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#109 2015-11-03 18:57:09

unklar
Member
Registered: 2015-10-31
Posts: 937

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Sector11 wrote:

ConkyFan - that's me.  I was called "El Conkystador", a play on the Spanish word: Conquistador and pronounced the same.  damo gave me "Leonardo de Conci" because he, or someone, said my conkys are art.  big_smile  I simple say I'm a "Conky Nut!" ie: Crazy for Conky

Thanks for the excellent explanation.

Hey, ye nice guys!
@S11 , @TBG, @all

Thank you for your kindness.
I feel good.

Offline

#110 2015-11-03 22:36:06

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Sector11 wrote:

HUH!  As in you want someone to make one?  Did you look at the free samples from the first post?

But that would take more effort than "Oh internet bless me with this thing I want but not badly enough to put effort into."

wink

See what happens when I follow the instructions in the PDF? It breaks. All I did was add my location in as requested then ran conky -c /pathtoscript as indicated in the pdf.

2015_11_03_14_50_49_scrot.jpg

Yeah, no. So um, what am I doing wrong? I am trying to use the 1b1 script as found on page 1.

Last edited by Temetka (2015-11-03 22:54:26)


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

#111 2015-11-04 09:31:35

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 231

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Hello Guys , advise I modified conky moon phase you like ? but I have a problem or a better question , how do I shorten the distance values years moon moon moon angle sun angle and distance sun ..vi enclose the conky changed ...... TEO SECTOR11 Support
Schermata_del_2015_11_04_10_15_30.jpg

# pkill -xf "conky -c /home/sector11/4_Moon/conkyrc_4_Moon_test" &
# works perfect - Sat 23 May 2015 21:45:27

###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 4_Moon

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 150

minimum_size 978 400
maximum_width 978

gap_x 75
gap_y 10

alignment top_left
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Arial:size=7

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1.0

# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
drawg_shades yes
default_shade_color 000000
drawg_outline no
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
color0 8FBC8F #DarkSeaGreen
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 CD5C5C #IndianRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
drawg_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
drawg_graph_borders yes #no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file slystem) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable th0e image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
##############################################  End Miscellaneous Section  ###
update_interval 1

#${execi 500 $HOME/4_Moon/moon}
own_window_argb_value 0
own_window_argb_visual yes
TEXT
${color ffe595}MOON PHASE TODAY ${membar 0,150}${color}${execi 500 $HOME/4_Moon/moon}${color ffe595} MOON PHASES FOR THE NEXT TWO DAYS ${color}${color ffe595}${membar 0,200} MOON PHASES FOR THE PAST TWO DAYS ${hr 1}${color}\
${image $HOME/4_Moon/0.png -p 0,20 -s 40x40}${image $HOME/4_Moon/1.png -p 200,20 -s 40x40}${image $HOME/4_Moon/2.png -p 420,20 -s 40x40}${image $HOME/4_Moon/-1.png -p 630,20 -s 40x40}${image $HOME/4_Moon/-2.png -p 800,20 -s 40x40}
${goto 40}${color ffe595}Today${color} ${execpi 600 sed -n '9p' $HOME/4_Moon/rawg}${goto 240}${color ffe595}Tomorrow${color} ${execpi 600 sed -n '28p' $HOME/4_Moon/rawg}${goto 460}${color ffe595}In Two Days${color} ${execpi 600 sed -n '36p' $HOME/4_Moon/rawg}${goto 670}${color ffe595}Yesterday ${color}${execpi 600 sed -n '20p' $HOME/4_Moon/rawg}${goto 840}${color ffe595}Two Days Back ${color}${execpi 600 sed -n '12p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Illumunation${color} ${execpi 600 sed -n '1p' $HOME/4_Moon/rawg}${goto 250}${color ffe595}Illumunation${color} ${execpi 600 sed -n '29p' $HOME/4_Moon/rawg}${goto 470}${color ffe595}Illumunation${color} ${execpi 600 sed -n '37p' $HOME/4_Moon/rawg}${goto 680}${color ffe595}Illumunation ${color}${execpi 600 sed -n '21p' $HOME/4_Moon/rawg}${goto 850}${color ffe595}Illumunation ${color}${execpi 600 sed -n '13p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '4p' $HOME/4_Moon/rawg} km${goto 250}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '32p' $HOME/4_Moon/rawg} km${goto 470}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '40p' $HOME/4_Moon/rawg} km${goto 680}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '24p' $HOME/4_Moon/rawg} km${goto 850}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '16p' $HOME/4_Moon/rawg} km
${goto 50}${color ffe595}Moon Age${color} ${execpi 600 sed -n '5p' $HOME/4_Moon/rawg} days${goto 250}${color ffe595}Moon Age${color} ${execpi 600 sed -n '33p' $HOME/4_Moon/rawg} days${goto 470}${color ffe595}Moon Age${color} ${execpi 600 sed -n '41p' $HOME/4_Moon/rawg} days${goto 680}${color ffe595}Moon Age ${color}${execpi 600 sed -n '25p' $HOME/4_Moon/rawg} days${goto 850}${color ffe595}Moon Age ${color}${execpi 600 sed -n '17p' $HOME/4_Moon/rawg} days
${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°${goto 240}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '34p' $HOME/4_Moon/rawg}°${goto 460}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '42p' $HOME/4_Moon/rawg}°${goto 670}${color ffe595}Moon Angle ${color}${execpi 600 sed -n '26p' $HOME/4_Moon/rawg}°${goto 845}${color ffe595}Moon Angle${color}${execpi 600 sed -n '18p' $HOME/4_Moon/rawg}°
${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '7p' $HOME/4_Moon/rawg}${color}${goto 207}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '35p' $HOME/4_Moon/rawg}${color}${goto 430}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '43p' $HOME/4_Moon/rawg}${color}${goto 640}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '27p' $HOME/4_Moon/rawg}${color}${goto 800}${color ffe595}Phase ${color}${color FF0000}${execpi 600 sed -n '19p' $HOME/4_Moon/rawg}${color}
${color ffe595}Moonrise/Set Approx${color} ${execpi 600 sed -n '8p' $HOME/4_Moon/rawg}${goto 207}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '30p' $HOME/4_Moon/rawg}°${goto 430}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '38p' $HOME/4_Moon/rawg}°${goto 640}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '22p' $HOME/4_Moon/rawg}°${goto 800}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '14p' $HOME/4_Moon/rawg}°
${color ffe595}Sun Angle ${color} ${execpi 600 sed -n '2p' $HOME/4_Moon/rawg}°${goto 207}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '31p' $HOME/4_Moon/rawg} km${goto 430}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '39p' $HOME/4_Moon/rawg} km${goto 640}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '23p' $HOME/4_Moon/rawg} km${goto 800}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '15p' $HOME/4_Moon/rawg} km
${color ffe595}Sun Distance${color} ${execpi 600 sed -n '3p' $HOME/4_Moon/rawg} km

Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#112 2015-11-04 10:12:38

unklar
Member
Registered: 2015-10-31
Posts: 937

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Temetka wrote:

Yeah, no. So um, what am I doing wrong? I am trying to use the 1b1 script as found on page 1.

conky -c ~/.conkyrc_1b1_int &

   wink

Last edited by unklar (2015-11-04 13:46:43)

Offline

#113 2015-11-04 10:15:38

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@Temetka
You are probably still using conky 1.9
Use the conkyrcs from this post.

@fvirgola80
Use the cut command. Instead, for example, of putting in your conkyrc:

${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°

use

${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg | cut -c1-5}°

Filtering sed with this cut command will only use the first 5 characters of the required info.


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

#114 2015-11-04 11:04:50

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 231

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

»»»»» This is for conky v1.90 «««««

TEO great works fine , you say publish it as conky alternate with others of SECTOR11 obviously if you agree ... I attach the modified conky

### fvirgola80 4 november 2015
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 4_Moon

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 150

minimum_size 978 400
maximum_width 978

gap_x 75
gap_y 10

alignment top_left
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Arial:size=7

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1.0

# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
drawg_shades yes
default_shade_color 000000
drawg_outline no
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
color0 8FBC8F #DarkSeaGreen
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 CD5C5C #IndianRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
drawg_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
drawg_graph_borders yes #no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file slystem) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable th0e image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
##############################################  End Miscellaneous Section  ###
update_interval 1

#${execi 500 $HOME/4_Moon/moon}
own_window_argb_value 0
own_window_argb_visual yes
TEXT
${color ffe595}MOON PHASE TODAY ${membar 0,150}${color}${execi 500 $HOME/4_Moon/moon}${color ffe595} MOON PHASES FOR THE NEXT TWO DAYS ${color}${color ffe595}${membar 0,200} MOON PHASES FOR THE PAST TWO DAYS ${hr 1}${color}\
${image $HOME/4_Moon/0.png -p 0,20 -s 40x40}${image $HOME/4_Moon/1.png -p 200,20 -s 40x40}${image $HOME/4_Moon/2.png -p 420,20 -s 40x40}${image $HOME/4_Moon/-1.png -p 630,20 -s 40x40}${image $HOME/4_Moon/-2.png -p 800,20 -s 40x40}
${goto 40}${color ffe595}Today${color} ${execpi 600 sed -n '9p' $HOME/4_Moon/rawg}${goto 240}${color ffe595}Tomorrow${color} ${execpi 600 sed -n '28p' $HOME/4_Moon/rawg}${goto 460}${color ffe595}In Two Days${color} ${execpi 600 sed -n '36p' $HOME/4_Moon/rawg}${goto 670}${color ffe595}Yesterday ${color}${execpi 600 sed -n '20p' $HOME/4_Moon/rawg}${goto 840}${color ffe595}Two Days Back ${color}${execpi 600 sed -n '12p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Illumunation${color} ${execpi 600 sed -n '1p' $HOME/4_Moon/rawg}${goto 250}${color ffe595}Illumunation${color} ${execpi 600 sed -n '29p' $HOME/4_Moon/rawg}${goto 470}${color ffe595}Illumunation${color} ${execpi 600 sed -n '37p' $HOME/4_Moon/rawg}${goto 680}${color ffe595}Illumunation ${color}${execpi 600 sed -n '21p' $HOME/4_Moon/rawg}${goto 850}${color ffe595}Illumunation ${color}${execpi 600 sed -n '13p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '4p' $HOME/4_Moon/rawg} km${goto 250}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '32p' $HOME/4_Moon/rawg | cut -c1-5} km${goto 470}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '40p' $HOME/4_Moon/rawg | cut -c1-5} km${goto 680}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '24p' $HOME/4_Moon/rawg  | cut -c1-5} km${goto 850}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '16p' $HOME/4_Moon/rawg | cut -c1-5} km
${goto 50}${color ffe595}Moon Age${color} ${execpi 600 sed -n '5p' $HOME/4_Moon/rawg} days${goto 250}${color ffe595}Moon Age${color} ${execpi 600 sed -n '33p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 470}${color ffe595}Moon Age${color} ${execpi 600 sed -n '41p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 680}${color ffe595}Moon Age ${color}${execpi 600 sed -n '25p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 850}${color ffe595}Moon Age ${color}${execpi 600 sed -n '17p' $HOME/4_Moon/rawg | cut -c1-5} days
${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°${goto 240}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '34p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 460}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '42p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 670}${color ffe595}Moon Angle ${color}${execpi 600 sed -n '26p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 845}${color ffe595}Moon Angle ${color}${execpi 600 sed -n '18p' $HOME/4_Moon/rawg | cut -c1-5}°
${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '7p' $HOME/4_Moon/rawg}${color}${goto 207}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '35p' $HOME/4_Moon/rawg}${color}${goto 430}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '43p' $HOME/4_Moon/rawg}${color}${goto 640}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '27p' $HOME/4_Moon/rawg}${color}${goto 800}${color ffe595}Phase ${color}${color FF0000}${execpi 600 sed -n '19p' $HOME/4_Moon/rawg}${color}
${color ffe595}Moonrise/Set Approx${color} ${execpi 600 sed -n '8p' $HOME/4_Moon/rawg}${goto 207}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '30p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 430}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '38p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 640}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '22p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 800}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '14p' $HOME/4_Moon/rawg | cut -c1-5}°
${color ffe595}Sun Angle ${color} ${execpi 600 sed -n '2p' $HOME/4_Moon/rawg}°${goto 207}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '31p' $HOME/4_Moon/rawg} km${goto 430}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '39p' $HOME/4_Moon/rawg} km${goto 640}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '23p' $HOME/4_Moon/rawg} km${goto 800}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '15p' $HOME/4_Moon/rawg} km
${color ffe595}Sun Distance${color} ${execpi 600 sed -n '3p' $HOME/4_Moon/rawg} km

Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#115 2015-11-04 13:22:53

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@ fvirgola80

Nice stuff ... One idea for a tweak ... conkys are always tweakable...

Since all the data in the raw file for "today" is cut to 2 decimal places, why not do that for the Sun and Moon angles for all days ( | cut -c-4 ) and also the sun and moon distances.  It would keep everything looking the same.

${font monofont:bold:size=10}${color8}Samples for: November 2 - raw data lines 15 and 16${color}
Sun Distance ${execpi 600 sed -n '15p' $HOME/4_Moon/raw} km\
	${goto 300}Moon Distance ${execpi 600 sed -n '16p' $HOME/4_Moon/raw} km
Sun Distance ${execpi 600 sed -n '15p' $HOME/4_Moon/raw | cut -c-3}.${execpi 600 sed -n '15p' $HOME/4_Moon/raw | cut -c4-5} M/km\
	${goto 300}Moon Distance ${execpi 600 sed -n '16p' $HOME/4_Moon/raw | cut -c-3}.${execpi 600 sed -n '15p' $HOME/4_Moon/raw | cut -c4-5} K/km
${font}

2015_11_04_10_16_27_Scrot11.png
Sun at Million/km and Moon at Thousand/km


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#116 2015-11-04 14:03:29

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 231

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Great Sector11 ... you say my can publish your changes .... we do TEO saying ? meanwhile hia way to make the change so we see it ? .... Big Sector11 .... but because you do not come and TEO in Italy in Rome from Me ....


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#117 2015-11-04 16:29:26

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

TeoBigusGeekus wrote:

@Temetka
You are probably still using conky 1.9
Use the conkyrcs from this post.

@fvirgola80
Use the cut command. Instead, for example, of putting in your conkyrc:

${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°

use

${goto 40}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg | cut -c1-5}°

Filtering sed with this cut command will only use the first 5 characters of the required info.

I'm using whatever version of conky shipped with BL RC1.

I'll try out the code you linked to.

Worked great, thanks!

2015_11_04_08_39_10_scrot.jpg

Last edited by Temetka (2015-11-04 16:40:06)


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

#118 2015-11-04 17:39:09

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,568

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

fvirgola80 wrote:

Great Sector11 ... you say my can publish your changes .... we do TEO saying ? meanwhile hia way to make the change so we see it ? .... Big Sector11 .... but because you do not come and TEO in Italy in Rome from Me ....

If you are asking if you can use the changes I posted - YES!
"anything" I put here is GPL - free to use, change what ever you want to do with it.
Se ti stai chiedendo se è possibile utilizzare i cambiamenti che ho postato - SÍ!
"qualsiasi cosa" Ho messo qui è GPL - libero di utilizzare, cambiare che cosa volete mai a che fare con esso.

I would visit you in Italy, Teo in Greece and unklar in Germany in an instant if I had the $$$
Vorrei farvi visita in Italia, due in Grecia e in Germania unklar in un istante se avessi the $$$

Your font (Arial:size=7) was way to small for me, I had to use a magnifying glass to see it ... but I like the layout, so I made the font bigger with a mono font and tweaked in a few changes.   devil   Us old guys need bigger font!
Il vostro carattere (Arial: size = 7) è stato modo di piccola per me, ho dovuto usare una lente di ingrandimento per vedere ... ma mi piace il layout, così ho fatto il carattere più grande con un font mono e ottimizzato in pochi i cambiamenti. devil noi vecchi ragazzi hanno bisogno di carattere più grande!


This is my ~/4_Moon/fvirgola80.conky in action
Questo è il mio ~ /4_Moon/ fvirgola80.conky in azione
2015_11_04_14_31_08_Scrot11.jpg


Sorry for the online translator errors.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#119 2015-11-04 17:40:39

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

@Temetka
Good to know mate.


@fvirgola80
Can you post the full, corrected code and a screenshot, so I can link it from the first page? Well done by the way.


EDIT:
@S11
Beautiful S11. Now I need a post with some code and an image to link from the first post.

Last edited by TeoBigusGeekus (2015-11-04 17:42:16)


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

#120 2015-11-05 08:08:30

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 231

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

»»»»» This is for conky v1.90 «««««

Good morning guys.....
@ Sector11 fantastic your conky ....
TEO As I have requested you insert the image and code ....
Can I say something? You are unique........!!!!!

### fvirgola80 4 november 2015 ###############################################
###  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 4_Moon

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 150

minimum_size 978 400
maximum_width 978

gap_x 75
gap_y 10

alignment top_left
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Arial:size=7

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1.0

# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
drawg_shades yes
default_shade_color 000000
drawg_outline no
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
color0 8FBC8F #DarkSeaGreen
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 CD5C5C #IndianRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
drawg_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
drawg_graph_borders yes #no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file slystem) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable th0e image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
##############################################  End Miscellaneous Section  ###
update_interval 1

#${execi 500 $HOME/4_Moon/moon}
own_window_argb_value 0
own_window_argb_visual no
TEXT
${color ffe595}MOON PHASE TODAY ${membar 0,150}${color}${execi 500 $HOME/4_Moon/moon}${color ffe595} MOON PHASES FOR THE NEXT TWO DAYS ${color}${color ffe595}${membar 0,200} MOON PHASES FOR THE PAST TWO DAYS ${hr 1}${color}\
${image $HOME/4_Moon/0.png -p 0,20 -s 40x40}${image $HOME/4_Moon/1.png -p 200,20 -s 40x40}${image $HOME/4_Moon/2.png -p 420,20 -s 40x40}${image $HOME/4_Moon/-1.png -p 630,20 -s 40x40}${image $HOME/4_Moon/-2.png -p 800,20 -s 40x40}
${goto 40}${color ffe595}Today${color} ${execpi 600 sed -n '9p' $HOME/4_Moon/rawg}${goto 240}${color ffe595}Tomorrow${color} ${execpi 600 sed -n '28p' $HOME/4_Moon/rawg}${goto 460}${color ffe595}In Two Days${color} ${execpi 600 sed -n '36p' $HOME/4_Moon/rawg}${goto 670}${color ffe595}Yesterday ${color}${execpi 600 sed -n '20p' $HOME/4_Moon/rawg}${goto 840}${color ffe595}Two Days Back ${color}${execpi 600 sed -n '12p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Illumunation${color} ${execpi 600 sed -n '1p' $HOME/4_Moon/rawg}${goto 250}${color ffe595}Illumunation${color} ${execpi 600 sed -n '29p' $HOME/4_Moon/rawg}${goto 470}${color ffe595}Illumunation${color} ${execpi 600 sed -n '37p' $HOME/4_Moon/rawg}${goto 680}${color ffe595}Illumunation ${color}${execpi 600 sed -n '21p' $HOME/4_Moon/rawg}${goto 850}${color ffe595}Illumunation ${color}${execpi 600 sed -n '13p' $HOME/4_Moon/rawg}
${goto 50}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '4p' $HOME/4_Moon/rawg} km${goto 250}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '32p' $HOME/4_Moon/rawg | cut -c1-5} km${goto 470}${color ffe595}Moon Distance${color} ${execpi 600 sed -n '40p' $HOME/4_Moon/rawg | cut -c1-5} km${goto 680}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '24p' $HOME/4_Moon/rawg  | cut -c1-5} km${goto 850}${color ffe595}Moon Distance ${color}${execpi 600 sed -n '16p' $HOME/4_Moon/rawg | cut -c1-5} km
${goto 50}${color ffe595}Moon Age${color} ${execpi 600 sed -n '5p' $HOME/4_Moon/rawg} days${goto 250}${color ffe595}Moon Age${color} ${execpi 600 sed -n '33p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 470}${color ffe595}Moon Age${color} ${execpi 600 sed -n '41p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 680}${color ffe595}Moon Age ${color}${execpi 600 sed -n '25p' $HOME/4_Moon/rawg | cut -c1-5} days${goto 850}${color ffe595}Moon Age ${color}${execpi 600 sed -n '17p' $HOME/4_Moon/rawg | cut -c1-5} days
${goto 45}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°${goto 245}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '34p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 465}${color ffe595}Moon Angle${color} ${execpi 600 sed -n '42p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 675}${color ffe595}Moon Angle ${color}${execpi 600 sed -n '26p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 845}${color ffe595}Moon Angle ${color}${execpi 600 sed -n '18p' $HOME/4_Moon/rawg | cut -c1-5}°
${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '7p' $HOME/4_Moon/rawg}${color}${goto 207}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '35p' $HOME/4_Moon/rawg}${color}${goto 430}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '43p' $HOME/4_Moon/rawg}${color}${goto 640}${color ffe595}Phase${color} ${color FF0000}${execpi 600 sed -n '27p' $HOME/4_Moon/rawg}${color}${goto 800}${color ffe595}Phase ${color}${color FF0000}${execpi 600 sed -n '19p' $HOME/4_Moon/rawg}${color}
${color ffe595}Moonrise/Set Approx${color} ${execpi 600 sed -n '8p' $HOME/4_Moon/rawg}${goto 207}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '30p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 430}${color ffe595}Sun Angle${color} ${execpi 600 sed -n '38p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 640}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '22p' $HOME/4_Moon/rawg | cut -c1-5}°${goto 800}${color ffe595}Sun Angle ${color}${execpi 600 sed -n '14p' $HOME/4_Moon/rawg | cut -c1-5}°
${color ffe595}Sun Angle ${color} ${execpi 600 sed -n '2p' $HOME/4_Moon/rawg}°${goto 207}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '31p' $HOME/4_Moon/rawg | cut -c-9} M/km${goto 430}${color ffe595}Sun Distance${color} ${execpi 600 sed -n '39p' $HOME/4_Moon/rawg | cut -c-9} M/km${goto 640}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '23p' $HOME/4_Moon/rawg | cut -c-9} M/km${goto 800}${color ffe595}Sun Distance ${color}${execpi 600 sed -n '15p' $HOME/4_Moon/rawg | cut -c-9} M/km
${color ffe595}Sun Distance${color} ${execpi 600 sed -n '3p' $HOME/4_Moon/rawg | cut -c-9} M/km

Schermata_del_2015_11_04_10_15_30.jpg


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#121 2015-11-05 08:12:28

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Thanks a lot fvirgola80.
I've updated the first post.


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

#122 2015-11-05 08:34:29

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 918
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Fine looking Temetka smile Good job as always by Teo


Devuan / Fluxbox (lean & mean)
Rosenburg Engel [神崎蘭子(CV:内田真礼)]

Offline

#123 2015-11-05 08:51:55

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

Sure I made the scrot look pretty, but Teo wrote the weather script. He get's the credit. Same for the 9 months calendar from Sector 11.

Between these 2 guys my screens always look great. I love conky very much and I have some pretty good scripting skills (when I put effort into it), but these 2 guys are GODS.

Ray, when someone asks if you are a God - you say YES!


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

#124 2015-11-05 10:35:27

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,122

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

I'm Zuul!!!!


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

#125 2015-11-05 11:08:56

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

Re: Conky weather+moon scripts (Accuw/WUndergr/Weather.com/NWS/MoonGiant)

I want to talk to Dana.


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

Board footer

Powered by FluxBB