You are not logged in.

#421 2015-12-22 10:23:47

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

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

^ same version in jessie-backports.

$ apt-cache policy conky
conky:
  Installed: 1.9.0-6
  Candidate: 1.9.0-6
  Version table:
     1.10.0-1~bpo8+1 0
        100 http://httpredir.debian.org/debian/ jessie-backports/main amd64 Packages
 *** 1.9.0-6 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

EDIT:  conky-all is also the same version.

Last edited by pvsage (2015-12-22 10:25:56)


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#422 2015-12-22 11:01:07

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

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

Hey Teos...we went through this a few posts ago.  Remember?  Version 1.10 of conky is available in the Backports repo:

sudo apt-get update && sudo apt-get install -t jessie-backports conky-all

--or--

sudo aptitude update && sudo aptitude install -t jessie-backports conky-all

For the benefit of noobs, you need to have a file under /etc/apt/sources.list.d, or add entries in the debian.list file, for the Backports repo as follows:

# jessie-backports, previously on backports.debian.org
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free

Offline

#423 2015-12-22 17:41:19

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Thanks everyone for reminding the procedure.


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

#424 2015-12-22 18:00:17

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

OK - v1.9.0 ...

Getting the backport version doesn't allow for running both versions of conky v1.9.0 and v1.10 - I think HoaS had a fix for that in ARCH though.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#425 2015-12-23 16:43:42

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

OK, revamped my weather - - ummm Desktop #1 conkys.  We're getting older, the need to see means larger fonts. {sigh}

So this is where I am today.  As usual, not sure if I'll keep it, I've had the old layout a long time.
2015_12_23_12_55_41_Scrot11.jpg
My "sys info" conky looked a little lonely on the right side so it was split in two and the sections are in the bottom corners.

Top centre two weather conkys use 1b2_accuweather_conkyweather_font.  The sun|moon data comes from 2b_Wunderground_API
The only conky that goes on the net to get weather data: S11_Weather_BAR.conky - the top current weather info, the other two simple use the data.

# pkill -xf "conky -q -c /media/5/Conky/S11_Weather_BAR.conky" &
# works 2015-12-22
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title S11 Weather Bar
##		ARGB can be used for real transparency
own_window_argb_visual yes
own_window_argb_value 100 # 0 - clear | 255 - solid

# 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

minimum_size 1025 0		## w|h
maximum_width 1025

gap_x 0 # left-right
gap_y 5 # up-down

alignment tm
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
use_xft yes
xftfont fantasque sans mono:size=18

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes p
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
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  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no

# 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

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

##############################################  End Miscellaneous Section  ###

#${execi 1800 /media/5/Conky/1b2_accuweather_conkyweather_font/1b2}\
#${execi 1800 bash /media/5/Conky/2b_Wunderground_API/2b}\
update_interval 1
TEXT
${execi 1800 bash /media/5/Conky/1b2_accuweather_conkyweather_font/1b2}\
${execi 1800 bash /media/5/Conky/2b_Wunderground_API/2b}\
${goto 35}${color8}±${execi 90 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${color}\
${goto 100}${execi 90 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°\
${goto 152}${color}${execi 90 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${goto 277}${color0}UVI${color} ${execpi 600 sed -n '34p' /media/5/Conky/1b2_accuweather_conkyweather_font/curr_cond}\
${goto 354}${color0}Hum${color} ${execpi 600 sed -n '32p' /media/5/Conky/1b2_accuweather_conkyweather_font/curr_cond}\
${goto 443}${color8}|${color0}Today\
${goto 520}${color9}${execpi 600 sed -n '27p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 598}${color3}${execpi 600 sed -n '26p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 640}${color}${execpi 600 sed -n '28p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}${color0} CoP\
${goto 728}${color8}|${color0}Tonight\
${goto 827}${color9}${execpi 600 sed -n '31p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 892}${color3}${execpi 600 sed -n '32p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 938}${color}${execpi 600 sed -n '33p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 990}${color0}CoP${color}\
${goto 5}${color5}${font conkyweather:bold:size=20}${execi 600  sed -n '27p' /media/5/Conky/1b2_accuweather_conkyweather_font/curr_cond}\
${goto 562}${color5}${execi 600  sed -n '27p' /media/5/Conky/1b2_accuweather_conkyweather_font/curr_cond}\
${goto 862}${color5}${execi 600  sed -n '30p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}${font}

Just below that: S11_1b2_int_tm2.conky

# pkill -xf "conky -q -c /media/5/Conky/1b2_accuweather_conkyweather_font/S11_1b2_int_tm2.conky" &
# works - 2015-12-22
###  Begin Window Settings  ########################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title 1b2 Int tm2
own_window_argb_visual yes
own_window_argb_value 100 # 0 - clear | 255 - solid

#minimum_size 750 0	##	w|h
maximum_width 880

gap_x 0 ## l|r
gap_y 35 ## u|d

alignment tm
##########################################  End Window Settings  ###
###  Font Settings  ################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Fantasque Sans Mono:bold:size=11

# 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  ###############################################
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
###########################################  End Color Settings  ###
###  Borders Section  ##############################################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_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

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

# Use the Xdbe extension? (eliminates flicker)
# It is highly reco${color}mmended to use own window with this one
# so double buffer won't be so big.
double_buffer yes
#####################################  End Miscellaneous Section  ###

update_interval 1
TEXT
${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 100}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 200}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 300}${execi 3600 echo `date --date="4 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 400}${execi 3600 echo `date --date="5 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 500}${execi 3600 echo `date --date="6 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 600}${execi 3600 echo `date --date="7 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 700}${execi 3600 echo `date --date="8 day" | awk '{print $1" "$3" "$2}'`}\
	${goto 800}${execi 3600 echo `date --date="9 day" | awk '{print $1" "$3" "$2}'`}
${color4}${execpi 600 sed -n '8p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 54}${color3}${execpi 600 sed -n '9p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 100}${color4}${execpi 600 sed -n '13p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 154}${color3}${execpi 600 sed -n '14p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 200}${color4}${execpi 600 sed -n '18p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 254}${color3}${execpi 600 sed -n '19p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 300}${color4}${execpi 600 sed -n '23p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 354}${color3}${execpi 600 sed -n '24p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}°${color}\
	${goto 400}${color4}${execpi 600 sed -n '4p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 454}${color3}${execpi 600 sed -n '5p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 500}${color4}${execpi 600 sed -n '9p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 554}${color3}${execpi 600 sed -n '10p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 600}${color4}${execpi 600 sed -n '14p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 654}${color3}${execpi 600 sed -n '15p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 700}${color4}${execpi 600 sed -n '19p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 754}${color3}${execpi 600 sed -n '20p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 800}${color4}${execpi 600 sed -n '24p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
	${goto 854}${color3}${execpi 600 sed -n '25p' /media/5/Conky/1b2_accuweather_conkyweather_font/last_days}°${color}\
${goto 25}${color2}${font conkyweather:bold:size=18}${execi 600  sed -n '6p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 125}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 225}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 325}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 425}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 525}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 625}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 725}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}\
${goto 825}${color2}${execi 600  sed -n '11p' /media/5/Conky/1b2_accuweather_conkyweather_font/first_days}${font}

And since it is using Teo's 2b_Wunderground_API for sun|moon data: S11_DateTime_tr.conky

# pkill -xf "conky -q -c /media/5/Conky/S11_DateTime_tr.conky" &
# created 2015-12-22
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Time Date
### ARGB can be used for real transparency
own_window_argb_visual yes
own_window_argb_value 75 # 0 - clear | 255 - solid

# 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

#minimum_size 300 0     ## w|h
#maximum_width 300

gap_x 5 # left-right
gap_y 5 # up-down

alignment tr
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont fantasque sans mono:bold:size=12

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes p
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
color0 B0C4DE #176 196 222 LightSteelBlue
color1 B0E0E6 #176 224 230 PowderBlue
color2 D8BFD8 #216 191 216	Thistle
color3 778899 #119 136 153	LightSlateGray
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no

# 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

# Subtract (file system) 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

##############################################  End Miscellaneous Section  ###

update_interval 1
TEXT
${font fantasque sans mono:size=18}${time %T %a %d %b %y}${font}
 UTC ${tztime UTC %H:%M} ${alignr 5}${uptime_short} UP
 ${if_match ${pre_exec  sed -n '16p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} < 10}0${endif}\
${pre_exec  sed -n '16p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}:\
${pre_exec  sed -n '18p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} \
${color5}↑S↓${color} \
${if_match ${pre_exec  sed -n '21p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} < 10}0${endif}\
${pre_exec  sed -n '21p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}:\
${pre_exec  sed -n '23p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}\
${alignr 5}${if_match ${pre_exec  sed -n '26p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} < 10}0${endif}\
${pre_exec  sed -n '26p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}:\
${pre_exec  sed -n '28p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} \
${color0}↑M↓${color} \
${if_match ${pre_exec  sed -n '31p' /media/5/Conky/2b_Wunderground_API/Moon_Sun} < 10}0${endif}\
${pre_exec  sed -n '31p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}:\
${pre_exec  sed -n '33p' /media/5/Conky/2b_Wunderground_API/Moon_Sun}

Open an app full:
2015_12_23_13_42_09_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#426 2015-12-24 06:33:42

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

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

Great works Secotr11.........

These days I thought of a script ..... let me explain better ..... you think I am referring to TEO would be possible to extract information from site
http://www.moongiant.com/calendar/current/month/
Monthly ? ......
@TEO What do you think ? the script should take infomarzioni moon phase for the entire month and give her a conky ...

big_smile  big_smile

Last edited by fvirgola80 (2015-12-24 06:35:42)


Nothing happens by chance

Offline

#427 2015-12-26 13:40:07

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Ok... gots problem... neutral

I don't know why, but today, since I started the computer, my moon phase image is not showing.
So I looked around, and found $HOME/2b_Wunderground_API/Moon_phase.png is nowhere to be found.

Anybody has any idea why this may have happened?


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#428 2015-12-26 13:53:57

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

Well, it's working here ... can you show your conky that called it please.
2015_12_26_10_52_01_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#429 2015-12-26 13:59:21

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

fvirgola80 wrote:

@TEO What do you think ? the script should take infomarzioni moon phase for the entire month and give her a conky ...

big_smile  big_smile

OOPS!  Missed this ...  As for the "Monthly" moon script, I'm not 100% convinced that enough people would be interested, I could be wrong though.  I suppose if Teo thought it was worth while it could be done, I don't have the scripting skills necessary and it would be another thing Teo would have to maintain.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#430 2015-12-26 14:11:43

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Sector11 wrote:

Well, it's working here ... can you show your conky that called it please.

Of course...

## killall conky && conky -c ~/.conky/baires_wunmoon.conky &
			##  Begin Window Settings  ##
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
own_window_class Conky
own_window_title baires_w

own_window_argb_visual yes
own_window_argb_value 255

double_buffer yes

minimum_size 420 155 ## width, height
maximum_width 420  ## width

gap_x 700 # left-right  
gap_y 35 # up-down  

alignment top_left

			##  End Window Settings  ##
			##  Font Settings  ##
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monofur:bold:size=12

# Alpha of Xft font. Must be a value at or between 1 and 0 ##
xftalpha 0
# Force UTF8? requires XFT ##
override_utf8_locale yes

uppercase no

			##  End Font Settings  ##
			##  Color Settings  ##
draw_shades no	#amplifies text if yes
default_shade_color black

draw_outline yes # amplifies text if yes
default_outline_color black

default_color ffffff #255 255 255	white
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 FF8C00 #255 140   0	DarkOrange
color3 7FFF00 #127 255   0	Chartreuse
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 0000CD #  0 191 255	Medium blue
color7 00FFFF #  0 255 255	Cyan
color8 FFFF00 #255 255   0	Yellow
color9 FF0000 #255   0   0	RED

			##  End Color Settings  ##
			##  Borders Section  ##
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 0
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
default_graph_size 15 40
			##  End Borders Secton  ##
			##  Miscellaneous Section  ##

background yes

use_spacer none

text_buffer_size 1024

imlib_cache_size 0

no_buffers yes

short_units no

pad_percents 2

			##  End Miscellaneous Section  ##
	
# The all important - How often conky refreshes.
update_interval 120

## lua_load ~/lua/clicky.lua
## lua_draw_hook_pre main

TEXT
${image $HOME/2b_Wunderground_API/Moon_phase.png -p 260,15 -s 130x130}
${goto 10}Phase:${alignr 170}${execi 600  sed -n '6p' $HOME/2b_Wunderground_API/Moon_Sun}
${goto 10}Illuminated:${alignr 190}${execi 600  sed -n '2p' $HOME/2b_Wunderground_API/Moon_Sun} %${font :pixelsize=8}

${font}${goto 10}Moonrise:${alignr 195}${execi 600  sed -n '26p' $HOME/2b_Wunderground_API/Moon_Sun} Hs; ${execi 600  sed -n '28p' $HOME/2b_Wunderground_API/Moon_Sun} min.
${goto 10}Moonset:${alignr 195}${execi 600  sed -n '31p' $HOME/2b_Wunderground_API/Moon_Sun} Hs; ${execi 600  sed -n '33p' $HOME/2b_Wunderground_API/Moon_Sun} min.${font :pixelsize=8}

${font}${goto 10}Sunrise:${alignr 190}${execi 600  sed -n '16p' $HOME/2b_Wunderground_API/Moon_Sun} Hs; ${execi 600  sed -n '18p' $HOME/2b_Wunderground_API/Moon_Sun} min.
${goto 10}Sunset:${alignr 170}${execi 600  sed -n '21p' $HOME/2b_Wunderground_API/Moon_Sun} Hs; ${execi 600  sed -n '23p' $HOME/2b_Wunderground_API/Moon_Sun} min.

Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#431 2015-12-26 14:15:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,063
Website

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

Inodoro Pereyra wrote:

found $HOME/2b_Wunderground_API/Moon_phase.png is nowhere to be found.

Anybody has any idea why this may have happened?

Perhaps you have deleted the images by mistake.

Does the conky work if you replace the images?

Offline

#432 2015-12-26 14:23:09

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Head_on_a_Stick wrote:

Perhaps you have deleted the images by mistake.

Does the conky work if you replace the images?

The image is called by the script, from the images in a separate folder. The folder is there, and so are all the images inside it. I don't know why the script is not calling it... hmm


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#433 2015-12-26 14:35:54

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Ok, fixed it!

Just in case somebody else has the same problem, here's the solution:

In the script 2b, line 228, where it says

elif [[ $moon_phase == "Full Moon" ]]; then

it should read:

elif [[ $moon_phase == "Full" ]]; then

I'm fairly certain there's gonna be the same problem with the new moon, on line 226, but we're gonna have to wait 14 days for it...


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#434 2015-12-26 14:39:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

OH ... OOPS! 
I jumped the gun ... I saw moon_phase and though 4_Moon script ...  sorry.

Yes, I'm getting the same from the wunderground script.  sad  Should be showing a full moon.

EDIT:   ninja'd by IP!
Nice find!

Don't you hate it when people make changes "just because"?  GRRRR!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#435 2015-12-26 15:02:43

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Sector11 wrote:

EDIT:   ninja'd by IP!
Nice find!

lol lol lol  Who'd have thought? ME fixing code... tongue


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#436 2015-12-26 15:43:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

It grows on you ... I can tweak code - just can't write it.  I never thought to look there though.
Like I said; Nice find ... and I'll add: Nice Tweak!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#437 2015-12-26 15:52:16

Inodoro Pereyra
Member
Registered: 2015-11-04
Posts: 123

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

Thank you!  smile


Imagination is intelligence having fun. (Albert Einstein)
The thing about the Internet is you can create a phrase, and make up its author, and everybody will fall for it. (Aristotle)

Offline

#438 2015-12-26 15:55:39

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Hey, nice eye Inodoro.

Does this mean that 'New Moon' should also be 'New'? Have they changed the Moon messages?
It needs some monitoring for a while...

Sector11 wrote:

OK, revamped my weather - - ummm Desktop #1 conkys.  We're getting older, the need to see means larger fonts. {sigh}

Nice one S11, short and to the point!

fvirgola80 wrote:

@TEO What do you think ? the script should take infomarzioni moon phase for the entire month and give her a conky ...

I'll take a look at it in a few days and see if a script is feasible.


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

#439 2015-12-26 17:55:57

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

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

TeoBigusGeekus wrote:

Hey, nice eye Inodoro.

Does this mean that 'New Moon' should also be 'New'? Have they changed the Moon messages?
It needs some monitoring for a while...

Sector11 wrote:

OK, revamped my weather - - ummm Desktop #1 conkys.  We're getting older, the need to see means larger fonts. {sigh}

Nice one S11, short and to the point!

fvirgola80 wrote:

@TEO What do you think ? the script should take infomarzioni moon phase for the entire month and give her a conky ...

I'll take a look at it in a few days and see if a script is feasible.

I have a project in mind ..... between the phases of the moon monthly and conky weather .... all this with the team - ObiWan Yoda and Luke

thanks Teo ... big_smile big_smile

Last edited by fvirgola80 (2015-12-26 17:57:44)


Nothing happens by chance

Offline

#440 2015-12-27 17:14:45

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

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

OK, I had some 'margin' problems with my last new look, not to mention another family member (family of 2 here) liked the 'current' weather on the bottom ... soooooooo more playing.

Some scrots:
Medit 'max screen - the safe zone on the bottom - and the "weather bar" still has the 'ñ' hard spacing elements:
2015_12_27_12_40_06_Scrot11.jpg 2015_12_27_12_42_48_Scrot11.jpg

Hard coding spacing elements cleaned up and a close up of how that works:
2015_12_27_12_43_40_Scrot11.jpg hard_clean_code.jpg

I got to thinking - I like the Forecast bar on the top - so back to some other elements of my last new look:
2015_12_27_13_30_18_Scrot11.jpg
Now I wait and see how this sits with the other family member.  smile  And just so you know that "centre piece" in the conky: fbpanel - systray

1b2_accuweather_conkyweather_font/S11_Weather_BAR.conky

# pkill -xf "conky -q -c $HOME//1b2_accuweather_conkyweather_font/S11_Weather_BAR.conky" &
# conky -q -c $HOME//1b2_accuweather_conkyweather_font/1b2_companion.conky &
# works 2015-12-27

own_window yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title S11 Weather Bar Current Weather
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 100

double_buffer yes

minimum_size 1300 0 # w|h
maximum_width 1300

#alignment bm
#gap_x 0 # l|r
#gap_y 0 # u|d

alignment bl
gap_x 320 # l|r
gap_y 0 # u|d

use_xft yes
xftalpha 1
xftfont fantasque sans mono:size=18

override_utf8_locale yes

draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 A9A9A9 #DarkGrey
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 F8F8FF #GhostWhite
color8 FFD700 #Gold
color9 FFA07A #LightSalmon

draw_borders no
stippled_borders 5
border_inner_margin 5
border_outer_margin 0
border_width 2

background no
use_spacer none
no_buffers yes

# bash script run by: conkyrc_1b2_int_s11_thin
# ${texeci 900 bash $HOME//1b2_accuweather_conkyweather_font/1b2}\
# Not needed here

update_interval 1
TEXT
${goto 5}${color8}±${execi 90 sed -n '30p' $HOME//1b1_accuweather_images/curr_cond}°${color}\
${goto 090}${execi 90 sed -n '29p' $HOME//1b1_accuweather_images/curr_cond}°\
${goto 142}${color}${execi 90 sed -n '33p' $HOME//1b1_accuweather_images/curr_cond}\
${goto 267}${color0}UVI${color} ${execpi 600 sed -n '34p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 344}${color0}Hum${color} ${execpi 600 sed -n '32p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 445}${color0}W${color} ${execpi 600 sed -n '31p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 520}${execpi 600 sed -n '38p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}${color}\
${goto 700}${color0}CC${color} ${execpi 600 sed -n '36p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 790}${color0}CoP${color} ${execpi 600 sed -n '28p' $HOME//1b2_accuweather_conkyweather_font/first_days}\
${goto 890}${color8}|${color0}Today\
${goto 965}${color9}${execpi 600 sed -n '27p' $HOME//1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 1040}${color3}${execpi 600 sed -n '26p' $HOME//1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 1085}${color8}|${color0}Tonight\
${goto 1185}${color9}${execpi 600 sed -n '31p' $HOME//1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 1265}${color3}${execpi 600 sed -n '32p' $HOME//1b2_accuweather_conkyweather_font/first_days}°${color}\
${goto 60}${color5}${font conkyweather:bold:size=20}${execi 600  sed -n '27p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 1010}${color5}${execi 600  sed -n '27p' $HOME//1b2_accuweather_conkyweather_font/curr_cond}\
${goto 1235}${color5}${execi 600  sed -n '30p' $HOME//1b2_accuweather_conkyweather_font/first_days}${font}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB