Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#776 Le 12/09/2013, à 11:13

daniel38100

Re : [Conky] Alternative à weather.com (3)

Didier-T a écrit :

Daniel38100, je vais préparer une mise à jour, par contre je ne parviens pas à reproduire le souci de jeje2a (dommage, sa aurai permis de régler en même temps)

merci à toi

Hors ligne

#777 Le 12/09/2013, à 23:28

Ehcor8

Re : [Conky] Alternative à weather.com (3)

Bonjour,
Bonne nouvelle, meteo et conky fonctionnent très bien sur Ubuntu 13.10  Recmeteo en version 1.28  Pas encore fait l'essai avec recmeteo 1.30   L'installation a été très simplifiée avec vos commentaires et entre autres le script de verif des dépendances.
https://www.dropbox.com/sh/7pkh7es3xyjl … 0%3A44.png
Les données se régénèrent toutes les 12 minutes, le fond de base idem et se met à jour automatiquement avec la nouvelle image satellite.
Encore merci pour vos aides.

Hors ligne

#778 Le 13/09/2013, à 06:01

Didier-T

Re : [Conky] Alternative à weather.com (3)

@ tous,
passage de recmeteo.py en 1.31.
ajout protection surcharge processeur en cas de coupure internet, et option notification pour mise à jour partielle

Hors ligne

#779 Le 13/09/2013, à 16:00

ragamatrix

Re : [Conky] Alternative à weather.com (3)

Salut;
Voici encore une nouvelle composition, avec la contribution d'un code de Sector11 permettant aux villes de changer de couleur en fonction de l'heure de la nuit...
currentdesktop.jpg
Je vous poste les codes bientôt dans la section conky

Dernière modification par ragamatrix (Le 13/09/2013, à 16:09)

Hors ligne

#780 Le 13/09/2013, à 17:20

Didier-T

Re : [Conky] Alternative à weather.com (3)

c'est pas mal du tout sa comme composition.
toujours un peu chargé, mais c'est très lisible.
j'aime bien la carte du monde, avec les différents fuseaux horaires.

Hors ligne

#781 Le 16/09/2013, à 10:53

ragamatrix

Re : [Conky] Alternative à weather.com (3)

Didier-T a écrit :

c'est pas mal du tout sa comme composition.
toujours un peu chargé, mais c'est très lisible.
j'aime bien la carte du monde, avec les différents fuseaux horaires.

Salut Didier-T
Pour faire ce conky il te faut cette image : world-mother-board et la police monofur
Ensuite le conky avec les différentes heures des villes mondiales changeant de couleur en fonction de la nuit et du jour où se trouvent celles-ci.
Conky:

  # killall conky && conky -c /media/5/Conky/ragamatrix_Map/Map_Time.conky &
# From and idea started by ragamatrix
# http://crunchbang.org/forums/viewtopic.php?pid=331813#p331813

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

# 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

### 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

### 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 0

minimum_size 620 420     ## width, height
maximum_width 620      ## width

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

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

# 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
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
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
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 0
# border margins
border_inner_margin 4
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  ##################################################
# 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

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

# 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

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

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

update_interval 1
TEXT
      ${tztime America/Anchorage %a %d %b %Y}${goto 298}${color1}Seconds${color}${goto 500}${color6}${tztime NZ %a %d %b %Y}${color}
      ${alignc}${color1}${time :%S}${color}

${voffset 10}${goto 300}${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}Longyearbyen${color}${else}Longyearbyen${endif}${voffset -10}
${voffset 10}${goto 185}${if_match ${tztime Canada/Eastern %d} == ${tztime NZ %d}}${color6}° Alert ${tztime Canada/Eastern %R}${color}${else}° Alert ${tztime Canada/Eastern %R}${endif}${voffset 3}   ${if_match ${tztime Arctic/Longyearbyen %d} == ${tztime NZ %d}}${color6}° ${tztime Arctic/Longyearbyen %R}${color}${else}° ${tztime Arctic/Longyearbyen %R}${endif}${voffset -3}

${goto 240}  ${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6} ${tztime Atlantic/Reykjavik %R}${color}${else} ${tztime Atlantic/Reykjavik %R}${endif}
${goto 240}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6}° Reykjavik${color}${else}° Reykjavik${endif}
${voffset -3}${goto 45}${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6} Anchorage${color}${else} Anchorage${endif}${voffset 3}
${voffset -3}${goto 45}° ${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6}${tztime America/Anchorage %R}${color}${else}${tztime America/Anchorage %R}${endif}${voffset 3}${goto 270}${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}° London ${tztime UTC %R}${color}${else}° London ${tztime UTC %R}${endif}
${goto 275}${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}° Paris ${tztime Europe/Paris %R}${color}${else}° Paris ${tztime Europe/Paris %R}${endif}
${voffset -7}${goto 095}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}° Vancouver${color}${else}° Vancouver${endif}${goto 200}${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}° St. John's${color}${else}° St. John's${endif}${voffset -5}
${voffset 2}${goto 095} ${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}${tztime Canada/Pacific %R}${color}${else}${tztime Canada/Pacific %R}${endif}${voffset -2}${voffset 5}${goto 200} ${if_match ${tztime Canada/Newfoundland %d} == ${tztime NZ %d}}${color6}${tztime Canada/Newfoundland %R}${color}${else}${tztime Canada/Newfoundland %R}${endif}${voffset -5}${voffset 4}${goto 492}${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}° Tokyo ${tztime Asia/Tokyo %R}${color}${else}° Tokyo ${tztime Asia/Tokyo %R}${endif}${voffset -4}

${voffset -2}${goto 158}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}° Miami ${tztime US/Eastern %R}${color}${else}° Miami ${tztime US/Eastern %R}${endif}\
${voffset 3}${goto 325}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}New Delhi °${color}${else}New Delhi °${endif}${voffset -3}\
${goto 448}${if_match ${tztime Hongkong %d} == ${tztime NZ %d}}${color6}° Hong Kong ${tztime Hongkong %R}${color}${else}° Hong Kong ${tztime Hongkong %R}${endif}
${voffset 4}${goto 140}${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}° Mexico ${tztime America/Mexico_City %R}${color}${else}° Mexico ${tztime America/Mexico_City %R}${endif}${voffset -4}\
${voffset 3}${goto 355}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}${tztime GMT-5:30 %R}${color}${else}${tztime GMT-5:30 %R}${endif}${voffset -3}
${goto 434}${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}° Singapore ${tztime Asia/Singapore %R}${color}${else}° Singapore ${tztime Asia/Singapore %R}${endif}


${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}° Darwin${color}${else}° Darwin${endif}${voffset 3}
${voffset 4}${goto 305}${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}° Cape Town ${tztime Africa/Johannesburg %R}${color}${else}° Cape Town ${tztime Africa/Johannesburg %R}${endif}${voffset -4}${voffset -3}${goto 500}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}${tztime Australia/Darwin %R}${color}${else}${tztime Australia/Darwin %R}${endif}${voffset 3}

${voffset -2}${goto 188}${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}° Buenos Aires ${tztime America/Buenos_Aires %R}${color}${else}° Buenos Aires ${tztime America/Buenos_Aires %R}${endif}${voffset 2}${voffset 5}${goto 560}${color6}°${color}
${goto 488}${color6}Christchurch${color}
${goto 538}${color6}${tztime NZ %R}${color}${voffset 2}${goto 171}${if_match ${tztime America/Argentina/Ushuaia %d} == ${tztime NZ %d}}${color6}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${color}${else}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${endif}${voffset 2}

Bon voilà... Mais maintenant Sector11 voudrait faire une carte en mode plein écran avec les heures, changements de couleurs mais aussi les conditions météo de toutes les villes avec les T°...
un truc du genre:
world_weather_conky
Le truc c'est comment afficher les conditions de plein de villes avec un script météo...
J'ai un script perl qui fait ça avec xplanet et wunderground, mais nous voudrions l'utiliser avec d'autres cartes et faire les placements des conditions avec conky...
Par exemple avec le script relié à xplanet donne ce genre là:
xplanet+wunderground

Dernière modification par ragamatrix (Le 16/09/2013, à 10:55)

Hors ligne

#782 Le 16/09/2013, à 15:29

ragamatrix

Re : [Conky] Alternative à weather.com (3)

J'ai essayé de faire un effort pour l'intégration au fond d'écran. wink
Board_Compo.jpg
J'ai pas trouvé comment déplacer la flèche pour les tendances (horizontalement dans macompo). Si quelqu'un a une idée ? Merci.

Dernière modification par ragamatrix (Le 16/09/2013, à 15:59)

Hors ligne

#783 Le 16/09/2013, à 19:24

enebre

Re : [Conky] Alternative à weather.com (3)

Salut Didier-T,
je viens de faire la Maj et c'est la cata, je ne vois vraiment pas pourquoi j'ai toutes ces erreurs. Ca fonctionnait nickel et je n'ai pas fait une sauvegarde avant de lancer la Maj , bougre d'âne que j'ai été. sad
Merci à toi de jeter un oeil sur mon conky smile

$ ▶ conky -c /home/marc/.conky/conky-meteo/meteo/conkyrc
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 64: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 66: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 68: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 70: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 72: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 74: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 75: no such configuration: '${goto'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 78: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 80: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 82: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 83: no such configuration: '${template1'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 85: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 86: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 88: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 90: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 92: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 94: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 97: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 100: no such configuration: '${voffset'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 102: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 103: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 104: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 106: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 108: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 109: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 111: no such configuration: '${template0'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 113: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 114: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 116: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 117: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 118: no such configuration: '${lua'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 120: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 121: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 122: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 123: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 124: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 125: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 126: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 127: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 128: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 129: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 130: no such configuration: '${template2'
Conky: /home/marc/.conky/conky-meteo/meteo/conkyrc: 131: no such configuration: '${template2'
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_context_free();

	With the parameter:

	context

	being NULL. Please fix your program.
	# -- Conky settings -- #
	background yes
	update_interval 1

	cpu_avg_samples 2
	net_avg_samples 2

	override_utf8_locale yes

	double_buffer yes
	no_buffers yes

	text_buffer_size 2048
	# -- Window specifications -- #

  own_window_argb_visual yes
	own_window yes
	own_window_type normal
	own_window_transparent yes
	own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

	border_inner_margin 0
	border_outer_margin 0

	minimum_size 280 100
	maximum_width 310
	

	alignment tr
	gap_x 10
	gap_y 15

	# -- Graphics settings -- #
	draw_shades no
	draw_outline no
	draw_borders no
	draw_graph_borders yes

	# -- Text settings -- #
	use_xft yes
	xftfont MaiandraGD:size=24
	xftalpha 0.4

	uppercase no

	default_color 8b8b8b
	# -- Déclaration template -- #
	template0 ${lua fDrawImage ~/.conky/conky-meteo/meteo/images/\1 \2 \3 \4 \5} # -- images fond -- #
	template1 ${lua Meteo_\1 \2 \3 \4 \5 \6} # -- gestion météo --#
	template2 ${lua Meteo_\1 \2 \3 \4 \5 \6 \7} # -- icônes météo -- \2=répertoire icônes \3=position \4=taille \5=jour (pour les prévisions) #
	template3 ${lua Lune_\1} 
	template4 ${lua_parse Images_\1 \2 \3 60 \4} # -- Appelle image -- \2=position \3=taille \4=jour (pour les prévisions) #
	
	lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/meteo2.lua

	lua_startup_hook init ~/.conky/conky-meteo/meteo/meteo.cfg
	
	
#### Lancement du script récupérant les données météo ####
${template1 Maj}
#${template1 horsligne}
#### Premier cadre ####
##### Heure #####
${voffset -23}${font LED_mono :style=Medium:size=58}${color 434343}${goto 27}${time %H}${goto 136}${time %M} ${font LED_mono :size=25:style=Medium}${color 808080}${goto 235}#${time %S}
##### Date #####
${voffset 30}${goto 6}${color yellow}${font URW Chancery L:style=Bold:size=12}${alignc}${exec date "+%A %d %B %Y"|sed 's/^.\| [a-z]/\U&/g'}
##### ville #####
${voffset 0}${font URW Chancery L:style=Bold:size=14}${goto 5}${color ffe595}${template1 Ville}
##### température actuelle #####
${voffset -10}${goto 15}${font URW Chancery L:style=Bold:size=30}${if_match ${template1 TempAct}<5}${color lightblue}${blink ${template1 TempAct}°}${else}${color white}${template1 TempAct}°${endif}
##### Affichage conditions météo #####
${voffset -40}${font URW Chancery L:style=Bold:size=12}${color white}${alignc}${template1  CondMeteo}
##### Affichage infos vent ######
${voffset -50}${color ffe595}${font URW Chancery L:style=Bold:size=13}${alignr}${offset -10}${template1 VentDirP}            
${goto 200}${template1 VentForce} km/h
#### Second cadre ####
##### Affichage Probabilité de précipitations Jour/Nuit #####
${voffset 25}${color lightwhite}${font Helvetica LT Std:style=Bold:size=10}${goto 45}${template1 Jour_ProbPrec 1} %${goto 220}${template1 Nuit_ProbPrec 1} %
##### Affichage temperature #####
${voffset 5}${goto 75}${template1 Jour_Temp 1}°${goto 250}${template1 Nuit_Temp 1}°
##### Affichage conditions météo #####
${voffset 7}${font Bitstream Vera Sans Mono:style=condensed:size=6}${color grey} ${template1  AM_CondMeteo1 1}${goto 170} ${template1  Noct_CondMeteo1 1}
 ${template1  AM_CondMeteo2 1}${goto 170} ${template1  Noct_CondMeteo2 1}
##### Affichage lunaison #####
${voffset -68}${font URW Chancery L:style=Bold:size=12}${color FEEFEF}${alignc}${template3 ephemerides1}
${voffset -10}${alignc}${template3 ephemerides2}
#### troisieme cadre ####
${voffset 46}${font Ubuntu :size=10:style=bold}${color lightwhite}${goto 30}${template1 Jour_ProbOrage 2}%${goto 105}${template1 Jour_ProbOrage 3}%${goto 170}${template1 Jour_ProbOrage 4}%${goto 235}${template1 Jour_ProbOrage 5}%
##### Affichage temperature #####
${voffset 16}${goto 27}${font Ubuntu :size=10:style=bold}${color red}${template1 Jour_Temp 2}°${color white}/${color lightblue}${template1 Nuit_Temp 2}°${goto 97}${color red}${template1 Jour_Temp 3}°${color white}/${color lightblue}${template1 Nuit_Temp 3}°${goto 167}${color red}${template1 Jour_Temp 4}°${color white}/${color lightblue}${template1 Nuit_Temp 4}°${goto 237}${color red}${template1 Jour_Temp 5}°${color white}/${color lightblue}${template1 Nuit_Temp 5}°
##### Affichage vitesse du vent #####
${voffset 8}${font Ubuntu :size=9:style=bold}${color ffe595}${goto 27}${template1 Jour_VentForce 2}${font Ubuntu :size=6:style=bold} km/h${goto 97}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 3}${font Ubuntu :size=6:style=bold} km/h${goto 167}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 4}${font Ubuntu :size=6:style=bold} km/h${goto 237}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 5}${font Ubuntu :size=6:style=bold} km/h
##### Affichage Date #####
${voffset 8}${font Ubuntu :size=10:style=bold}${color 522BAF}${goto 20}${template1 Jour %a_%d 2}${goto 90}${template1 Jour %a_%d 3}${goto 155}${template1 Jour %a_%d 4}${goto 220}${template1 Jour %a_%d 5}
#### quatrième cadre ####
##### Heure mise à jour #####
${voffset 17}${color ffe595}${font URW Chancery L:style=Bold:size=16}${alignc}Dernière mise à jour : ${template1 Heure}h${template1 Minute}

#### Affichage des cadres utilisés dans le conky ####
${voffset -935}
#### premier cadre ####
${template0 base.png 0 40 280 170}
${template0 flip_bg.png 24 10 100 100}
${template0 flip_bg.png 134 10 100 100}
#### Second cadre ####
${template0 base.png 0 245 280 50}
#### troisième cadre ####
${template0 base.png 0 320 280 40}
${template0 base180.png 0 358 280 40}
#### quatrieme cadre ####
${template0 base1.png 0 420 280 30}
#### icônes premier cadre ####
${template2 IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 74 120 132 79}
${template2 IconeV ~/.conky/conky-meteo/meteo_lua_2/icones 235 130 44 44}
#### icônes Second cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones -15 205 132 79 1}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 160 205 132 79 1}
${lua fDrawImage /tmp/lune.png 111 210 63 63}
#### icônes troisième cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 0 295 86 52 2}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 68 295 86 52 3}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 133 295 86 52 4}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 200 295 86 52 5}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 0 344 30 30 2}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 70 344 30 30 3}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 140 344 30 30 4}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 210 344 30 30 5}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 0 375 86 52 2}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 68 375 86 52 3}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 133 375 86 52 4}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 200 375 86 52 5}

Dernière modification par enebre (Le 16/09/2013, à 19:29)

Hors ligne

#784 Le 16/09/2013, à 20:34

Didier-T

Re : [Conky] Alternative à weather.com (3)

Bonsoir enebre,
il manque un petit TEXT à ton conky pour délimiter la partie configuration de la partie affichage.
avec ceci ça ira mieux

	# -- Conky settings -- #
	background yes
	update_interval 1

	cpu_avg_samples 2
	net_avg_samples 2

	override_utf8_locale yes

	double_buffer yes
	no_buffers yes

	text_buffer_size 2048
	# -- Window specifications -- #

  own_window_argb_visual yes
	own_window yes
	own_window_type normal
	own_window_transparent yes
	own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

	border_inner_margin 0
	border_outer_margin 0

	minimum_size 280 100
	maximum_width 310
	

	alignment tr
	gap_x 10
	gap_y 15

	# -- Graphics settings -- #
	draw_shades no
	draw_outline no
	draw_borders no
	draw_graph_borders yes

	# -- Text settings -- #
	use_xft yes
	xftfont MaiandraGD:size=24
	xftalpha 0.4

	uppercase no

	default_color 8b8b8b
	# -- Déclaration template -- #
	template0 ${lua fDrawImage ~/.conky/conky-meteo/meteo/images/\1 \2 \3 \4 \5} # -- images fond -- #
	template1 ${lua Meteo_\1 \2 \3 \4 \5 \6} # -- gestion météo --#
	template2 ${lua Meteo_\1 \2 \3 \4 \5 \6 \7} # -- icônes météo -- \2=répertoire icônes \3=position \4=taille \5=jour (pour les prévisions) #
	template3 ${lua Lune_\1} 
	template4 ${lua_parse Images_\1 \2 \3 60 \4} # -- Appelle image -- \2=position \3=taille \4=jour (pour les prévisions) #
	
	lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/meteo2.lua

	lua_startup_hook init ~/.conky/conky-meteo/meteo/meteo.cfg
	
TEXT	
#### Lancement du script récupérant les données météo ####
${template1 Maj}
#${template1 horsligne}
#### Premier cadre ####
##### Heure #####
${voffset -23}${font LED_mono :style=Medium:size=58}${color 434343}${goto 27}${time %H}${goto 136}${time %M} ${font LED_mono :size=25:style=Medium}${color 808080}${goto 235}#${time %S}
##### Date #####
${voffset 30}${goto 6}${color yellow}${font URW Chancery L:style=Bold:size=12}${alignc}${exec date "+%A %d %B %Y"|sed 's/^.\| [a-z]/\U&/g'}
##### ville #####
${voffset 0}${font URW Chancery L:style=Bold:size=14}${goto 5}${color ffe595}${template1 Ville}
##### température actuelle #####
${voffset -10}${goto 15}${font URW Chancery L:style=Bold:size=30}${if_match ${template1 TempAct}<5}${color lightblue}${blink ${template1 TempAct}°}${else}${color white}${template1 TempAct}°${endif}
##### Affichage conditions météo #####
${voffset -40}${font URW Chancery L:style=Bold:size=12}${color white}${alignc}${template1  CondMeteo}
##### Affichage infos vent ######
${voffset -50}${color ffe595}${font URW Chancery L:style=Bold:size=13}${alignr}${offset -10}${template1 VentDirP}            
${goto 200}${template1 VentForce} km/h
#### Second cadre ####
##### Affichage Probabilité de précipitations Jour/Nuit #####
${voffset 25}${color lightwhite}${font Helvetica LT Std:style=Bold:size=10}${goto 45}${template1 Jour_ProbPrec 1} %${goto 220}${template1 Nuit_ProbPrec 1} %
##### Affichage temperature #####
${voffset 5}${goto 75}${template1 Jour_Temp 1}°${goto 250}${template1 Nuit_Temp 1}°
##### Affichage conditions météo #####
${voffset 7}${font Bitstream Vera Sans Mono:style=condensed:size=6}${color grey} ${template1  AM_CondMeteo1 1}${goto 170} ${template1  Noct_CondMeteo1 1}
 ${template1  AM_CondMeteo2 1}${goto 170} ${template1  Noct_CondMeteo2 1}
##### Affichage lunaison #####
${voffset -68}${font URW Chancery L:style=Bold:size=12}${color FEEFEF}${alignc}${template3 ephemerides1}
${voffset -10}${alignc}${template3 ephemerides2}
#### troisieme cadre ####
${voffset 46}${font Ubuntu :size=10:style=bold}${color lightwhite}${goto 30}${template1 Jour_ProbOrage 2}%${goto 105}${template1 Jour_ProbOrage 3}%${goto 170}${template1 Jour_ProbOrage 4}%${goto 235}${template1 Jour_ProbOrage 5}%
##### Affichage temperature #####
${voffset 16}${goto 27}${font Ubuntu :size=10:style=bold}${color red}${template1 Jour_Temp 2}°${color white}/${color lightblue}${template1 Nuit_Temp 2}°${goto 97}${color red}${template1 Jour_Temp 3}°${color white}/${color lightblue}${template1 Nuit_Temp 3}°${goto 167}${color red}${template1 Jour_Temp 4}°${color white}/${color lightblue}${template1 Nuit_Temp 4}°${goto 237}${color red}${template1 Jour_Temp 5}°${color white}/${color lightblue}${template1 Nuit_Temp 5}°
##### Affichage vitesse du vent #####
${voffset 8}${font Ubuntu :size=9:style=bold}${color ffe595}${goto 27}${template1 Jour_VentForce 2}${font Ubuntu :size=6:style=bold} km/h${goto 97}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 3}${font Ubuntu :size=6:style=bold} km/h${goto 167}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 4}${font Ubuntu :size=6:style=bold} km/h${goto 237}${voffset -4}${font Ubuntu :size=9:style=bold}${template1 Jour_VentForce 5}${font Ubuntu :size=6:style=bold} km/h
##### Affichage Date #####
${voffset 8}${font Ubuntu :size=10:style=bold}${color 522BAF}${goto 20}${template1 Jour %a_%d 2}${goto 90}${template1 Jour %a_%d 3}${goto 155}${template1 Jour %a_%d 4}${goto 220}${template1 Jour %a_%d 5}
#### quatrième cadre ####
##### Heure mise à jour #####
${voffset 17}${color ffe595}${font URW Chancery L:style=Bold:size=16}${alignc}Dernière mise à jour : ${template1 Heure}h${template1 Minute}

#### Affichage des cadres utilisés dans le conky ####
${voffset -935}
#### premier cadre ####
${template0 base.png 0 40 280 170}
${template0 flip_bg.png 24 10 100 100}
${template0 flip_bg.png 134 10 100 100}
#### Second cadre ####
${template0 base.png 0 245 280 50}
#### troisième cadre ####
${template0 base.png 0 320 280 40}
${template0 base180.png 0 358 280 40}
#### quatrieme cadre ####
${template0 base1.png 0 420 280 30}
#### icônes premier cadre ####
${template2 IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 74 120 132 79}
${template2 IconeV ~/.conky/conky-meteo/meteo_lua_2/icones 235 130 44 44}
#### icônes Second cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones -15 205 132 79 1}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 160 205 132 79 1}
${lua fDrawImage /tmp/lune.png 111 210 63 63}
#### icônes troisième cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 0 295 86 52 2}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 68 295 86 52 3}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 133 295 86 52 4}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 200 295 86 52 5}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 0 344 30 30 2}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 70 344 30 30 3}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 140 344 30 30 4}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones 210 344 30 30 5}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 0 375 86 52 2}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 68 375 86 52 3}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 133 375 86 52 4}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 200 375 86 52 5}

Hors ligne

#785 Le 16/09/2013, à 20:41

enebre

Re : [Conky] Alternative à weather.com (3)

Merci Didier,
Je n'ai rien vu, je ne sais pas comment il a sauté, c'est sûr j'ai cliqué quand il ne fallait pas ...

c'est ça merci à toi

Hors ligne

#786 Le 16/09/2013, à 20:45

Didier-T

Re : [Conky] Alternative à weather.com (3)

@ ragamatrix,
Ça semble sympa cette idée de météo mondial, mais pour récupérer les données, ça risque d'être un peu long.
À moins de trouver un site qui les fournit sur une carte.
vous pouvez regarder de ce côté-ci.
http://monde.meteofrance.com/
seulement 5 pages à charger et traiter pour la météo sur la planète

Hors ligne

#787 Le 16/09/2013, à 20:46

Didier-T

Re : [Conky] Alternative à weather.com (3)

enebre a écrit :

Merci Didier,
Je n'ai rien vu, je ne sais pas comment il a sauté, c'est sûr j'ai cliqué quand il ne fallait pas ...

c'est ça merci à toi

Pas de soucis

Hors ligne

#788 Le 17/09/2013, à 08:03

ragamatrix

Re : [Conky] Alternative à weather.com (3)

Didier-T a écrit :

@ ragamatrix,
Ça semble sympa cette idée de météo mondial, mais pour récupérer les données, ça risque d'être un peu long.
À moins de trouver un site qui les fournit sur une carte.
vous pouvez regarder de ce côté-ci.
http://monde.meteofrance.com/
seulement 5 pages à charger et traiter pour la météo sur la planète

^^ça j'ai pas compris ce que tu voulais dire hmm
Salut Didier-T,
Bon eh bien Sector11 est allé très vite, avec l' aide de Téo qui à réalisé un script bash relevant les infos meteo des différentes villes...En Anglais...
2013_09_16_19_33_58_1920x1080_Sector11.jpg

Dernière modification par ragamatrix (Le 17/09/2013, à 08:11)

Hors ligne

#789 Le 17/09/2013, à 11:14

daniel38100

Re : [Conky] Alternative à weather.com (3)

@Didier-T
ya un problème pour les notification partielle j'ai bo mettre non elle s’affiche quand même

Hors ligne

#790 Le 17/09/2013, à 19:46

Didier-T

Re : [Conky] Alternative à weather.com (3)

Houps, j'avais oublié de modifier meteo2.lua
passage en 1.10

Hors ligne

#791 Le 18/09/2013, à 21:12

Dreadid

Re : [Conky] Alternative à weather.com (3)

Bonjour Didier-T,
Depuis le passage de meteo2.lua en 1.10, je n'ai plus de mise en jour.
Quand je lance le conky à partir du terminal, j'obtiens le retour suivant :

conky
Conky: forked to background, pid is 3389
didier@ToshDid ~ $ 
Conky: desktop window (c0002a) is subwindow of root window (155)
Conky: window type - normal
Conky: drawing to created window (0x3400002)
Conky: drawing to double buffer
	version = v1.10
	web = http://www.accuweather.com/fr/gp/basse-terre/183798/daily-weather-forecast/183798
	Pévision Nb jours = 5 
	Pévision Matin = non
	Pévision Après Midi = oui
	Pévision Soirée = non
	Pévision Nuit = oui
	Prévision sur 8 heures = oui
	nbFoisHuit= 1
	Délais = 15
	Chemin de travail = /tmp
	Palier = 20
	Chemin de sauvegarde = /home/didier/.conky/conky-meteo/meteo/reptravail
	Chemin script = /home/didier/.conky/conky-meteo/meteo_lua_2/scripts
	Notification = non
	ID = 3389
Ignoring unknown parameter "update encrypted"
Condition courante Ok
Prévision 1 Ok
Apres Midi 1 Ok
Nuit 1 Ok
Prévision 2 Ok
Apres Midi 2 Ok
Nuit 2 Ok
Prévision 3 Ok
Apres Midi 3 Ok
Nuit 3 Ok
Prévision 4 Ok
Apres Midi 4 Ok
Nuit 4 Ok
Prévision 5 Ok
Apres Midi 5 Ok
Nuit 5 Ok
huit heures Ok
Conky: Unable to load image '/tmp/lune.png'
Conky: llua_do_call: function conky_Meteo_enligne execution failed: ...er/.conky/conky-meteo/meteo_lua_2/scripts/meteo2.lua:735: attempt to concatenate global 'notifyPartielle' (a nil value)

et la dernière ligne se répète ad vitam eternam wink
Une idée du problème et de sa solution ?
Merci d'avance, cordialement

Dernière modification par Dreadid (Le 18/09/2013, à 21:12)


Intel NUC / Intel® Core™ i5-8259U CPU @ 2.30GHz × 4/ Intel Iris Plus Graphics 655 / 16 Go RAM
LinuxMint 20.3 - Cinnamon 64 bits / Windows 10 - 64 bits

Hors ligne

#792 Le 19/09/2013, à 05:39

Didier-T

Re : [Conky] Alternative à weather.com (3)

Bonjour Dreadid,
en fait j'ai ajouté une variable dans meteo.cfg a la demande de daniel38100.
comme ton problème va se répéter pour d'autres, j'ai modifié un peu meteo2.lua, de manière à avoir une valeur par défaut si le meteo.cfg n'est pas complet.
passage de meteo2.lua en version 1.11

Hors ligne

#793 Le 19/09/2013, à 11:27

daniel38100

Re : [Conky] Alternative à weather.com (3)

moi j'utilise pas meteo.lua donc j'ais mis à jour le pack meteo mode fond d'ecran de jpdipsy
dispo ici Accuweather v1.96 + recmeteo 1.28

Hors ligne

#794 Le 19/09/2013, à 13:02

Dreadid

Re : [Conky] Alternative à weather.com (3)

Merci Didier-T,
Je télécharge, j'installe et je te tiens au courant wink

Edit : après passage de meteo2.lua en version 1.11, ça marche nickel. Merci.

Dernière modification par Dreadid (Le 19/09/2013, à 15:57)


Intel NUC / Intel® Core™ i5-8259U CPU @ 2.30GHz × 4/ Intel Iris Plus Graphics 655 / 16 Go RAM
LinuxMint 20.3 - Cinnamon 64 bits / Windows 10 - 64 bits

Hors ligne

#795 Le 23/09/2013, à 07:47

loutch

Re : [Conky] Alternative à weather.com (3)

smilies%20(204).gif

D'abord merci à ragamatix car je me suis servi de son conky pour en faire un à ma sauce .
le wall en 1600x900 trouvé ici (à choisir en fonction de la taille de votre écran)

le conky ( la position des villes est pour mon écran de 1600x900, donc faudra modifier en fonction du votre.):

 
background no
use_xft yes
xftfont DejaVu Sans :size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes #no
own_window_argb_visual yes
own_window_type normal
#own_window_color 000000
#own_window_argb_value 70
own_window_hints undecorated,below,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1600 900
maximum_width 1600
text_buffer_size 1024
draw_shades no
draw_outline no
draw_borders no
border_width 1
draw_graph_borders no
default_color c8c8c8
default_outline_color cacaca
alignment top_left
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
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 0
# border margins
border_inner_margin 4
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no #yes
#default_graph_size 15 40


update_interval 1
TEXT

      ${tztime America/Anchorage %a %d %b %Y}${goto 600}${color1}Seconds${color}${goto 1100}${color6}${tztime NZ %a %d %b %Y}${color}
                                             ${goto 605}${color1}${time :%S}${color}
                                             
                                             
                                             
                                             
                                                                                        

${voffset 10}${goto 460}${if_match ${tztime Canada/Eastern %d} == ${tztime NZ %d}}${color6}° Alert ${tztime Canada/Eastern %R}${color}${else}° Alert ${tztime Canada/Eastern %R}${endif}




${goto 600}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6} ${tztime Atlantic/Reykjavik %R}${color}${else} ${tztime Atlantic/Reykjavik %R}${endif}
${goto 600}${if_match ${tztime Atlantic/Reykjavik %d} == ${tztime NZ %d}}${color6}° Reykjavik${color}${else}° Reykjavik${endif}
${voffset -3}${goto 125}${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6} Anchorage${color}${else} Anchorage${endif}${voffset 3}
${voffset -3}${goto 125}° ${if_match ${tztime America/Anchorage %d} == ${tztime NZ %d}}${color6}${tztime America/Anchorage %R}${color}${else}${tztime America/Anchorage %R}${endif}${voffset 33}${goto 655}${if_match ${tztime UTC %d} == ${tztime NZ %d}}${color6}° London ${tztime UTC %R}${color}${else}° London ${tztime UTC %R}${endif}

${goto 660}${voffset -10}${if_match ${tztime Europe/Paris %d} == ${tztime NZ %d}}${color6}° Paris ${tztime Europe/Paris %R}${color}${else}° Paris ${tztime Europe/Paris %R}${endif}
${voffset -7}${goto 165}${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}° Vancouver${color}${else}° Vancouver${endif}
${voffset -2}${goto 165} ${if_match ${tztime Canada/Pacific %d} == ${tztime NZ %d}}${color6}${tztime Canada/Pacific %R}${color}${else}${tztime Canada/Pacific %R}${endif}${voffset -5}${voffset 50}${goto 1240}${if_match ${tztime Asia/Tokyo %d} == ${tztime NZ %d}}${color6}° Tokyo ${tztime Asia/Tokyo %R}${color}${else}° Tokyo ${tztime Asia/Tokyo %R}${endif}${voffset -4}



${voffset -2}${goto 300}${if_match ${tztime US/Eastern %d} == ${tztime NZ %d}}${color6}° Miami ${tztime US/Eastern %R}${color}${else}° Miami ${tztime US/Eastern %R}${endif}\

${voffset 3}${goto 945}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}New Delhi °${color}${else}New Delhi °${endif}${voffset -10}\
${goto 1180}${voffset -05}${if_match ${tztime Hongkong %d} == ${tztime NZ %d}}${color6}° Hong Kong ${goto 1195}${voffset -10}${tztime Hongkong %R}${color}${else}° Hong Kong ${tztime Hongkong %R}${endif}




${voffset -20}${goto 240}${if_match ${tztime America/Mexico_City %d} == ${tztime NZ %d}}${color6}° Mexico ${tztime America/Mexico_City %R}${color}${else}° Mexico ${tztime America/Mexico_City %R}${endif}${voffset -4}\
${voffset -30}${goto 965}${if_match ${tztime GMT-5:30 %d} == ${tztime NZ %d}}${color6}${tztime GMT-5:30 %R}${color}${else}${tztime GMT-5:30 %R}${endif}${voffset -3}







${goto 1103}${if_match ${tztime Asia/Singapore %d} == ${tztime NZ %d}}${color6}° Singapore ${tztime Asia/Singapore %R}${color}${else}° Singapore ${tztime Asia/Singapore %R}${endif}






${voffset 5}${goto 1250}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}° ${goto 1205}${voffset -2}Darwin${color}${else}° Darwin${endif}${voffset 3}







${goto 755}${if_match ${tztime Africa/Johannesburg %d} == ${tztime NZ %d}}${color6}° Cape Town ${tztime Africa/Johannesburg %R}${color}${else}° Cape Town ${tztime Africa/Johannesburg %R}${endif}${voffset -4}${voffset -90}${goto 1215}${if_match ${tztime Australia/Darwin %d} == ${tztime NZ %d}}${color6}${tztime Australia/Darwin %R}${color}${else}${tztime Australia/Darwin %R}${endif}${voffset 3}




${voffset -2}${goto 442}${if_match ${tztime America/Buenos_Aires %d} == ${tztime NZ %d}}${color6}° Buenos Aires ${tztime America/Buenos_Aires %R}${color}${else}° Buenos Aires ${tztime America/Buenos_Aires %R}${endif}${voffset 2}${voffset 5}${goto 560}${color6}°${color}









${goto 401}${if_match ${tztime America/Argentina/Ushuaia %d} == ${tztime NZ %d}}${color6}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${color}${else}° Ushuaia ${tztime America/Argentina/Ushuaia %R}${endif}${voffset 2}

et l'image:
1379918210.png

Encore merci , et


smilies%20(1).gif

Dernière modification par loutch (Le 23/09/2013, à 07:51)

Hors ligne

#796 Le 25/09/2013, à 10:04

loutch

Re : [Conky] Alternative à weather.com (3)

smilies%20(204).gif
Cher Didier  Sur mageia 2 kde  le météo6jours ne se met plus à jour j'ai fait les mises à jour.(sur mint 13 kde il tourne au poil)
j'ai une erreur  "no module named bs4" pourtant d'après le Centre  De Controle ,le paquet est installé ainsi que python3.

[romuald@localhost ~]$ conky -c ~/.conky/conky-meteo/meteo6jours/conkyrc
Conky: forked to background, pid is 26052
[romuald@localhost ~]$ 
Conky: desktop window (2200144) is subwindow of root window (ae)
Conky: window type - normal
Conky: drawing to created window (0x4e00002)
Conky: drawing to double buffer
        version = v1.11
        web = http://www.accuweather.com/fr/fr/sarreguemines/57200/weather-forecast/167193_pc
        Pévision Nb jours = 7
        Pévision Matin = non
        Pévision Après Midi = non
        Pévision Soirée = non
        Pévision Nuit = non
        Prévision sur 8 heures = non
        nbFoisHuit= 1
        Délais = 60
        Chemin de travail = /tmp
        Palier = 20
        Chemin de sauvegarde = /home/romuald/.conky/conky-meteo/meteo6jours/reptravail
        Chemin script = /home/romuald/.conky/conky-meteo/meteo_lua_2/scripts
        Notification = non
        ID = 26052
Condition courante Ok
Prévision 1 Ok
Prévision 2 Ok
Prévision 3 Ok
Prévision 4 Ok
Prévision 5 Ok
Prévision 6 Ok
Prévision 7 Ok
[romuald@localhost ~]$ Traceback (most recent call last):
  File "/home/romuald/.conky/conky-meteo/meteo_lua_2/scripts/recmeteo.py", line 15, in <module>
    from bs4 import BeautifulSoup
ImportError: No module named bs4
lunaison Ok

et le CCM:
bs4
1380099648.png
python3
1380099770.png

Merci d'avance de ton aide.

smilies%20(1).gif

Hors ligne

#797 Le 25/09/2013, à 10:23

Didier-T

Re : [Conky] Alternative à weather.com (3)

bonjour loutch,
sous mageia 2, tu ne disposes pas de beautifulsoup4 pour python 3, après les choses ont peut être évolués.

Hors ligne

#798 Le 25/09/2013, à 15:02

loutch

Re : [Conky] Alternative à weather.com (3)

Re

OK bs4 pour python3 ,effectivement ni est pas ni sur la 2 ni sur mageia 3 .
Donc la question suivante tu va peut-être la trouver un peu "neu-neu",

Ou puis-je trouvé l'ancienne version de météo6jours ,celle qui n'as pas besoin de python3 , ?
Si elle fonctionne encore bien-sur.

@+

Hors ligne

#799 Le 25/09/2013, à 20:55

ragamatrix

Re : [Conky] Alternative à weather.com (3)

Salut,
Quelqu'un saurait-il comment faire pour créer 2 lignes de prévisions avec macompo (fond écran). Par exemple trois jours sur une ligne et trois autre en dessous ? (sans le vent)
prev_H.jpg

Hors ligne

#800 Le 26/09/2013, à 05:39

Didier-T

Re : [Conky] Alternative à weather.com (3)

loutch a écrit :

Re

OK bs4 pour python3 ,effectivement ni est pas ni sur la 2 ni sur mageia 3 .
Donc la question suivante tu va peut-être la trouver un peu "neu-neu",

Ou puis-je trouvé l'ancienne version de météo6jours ,celle qui n'as pas besoin de python3 , ?
Si elle fonctionne encore bien-sur.

@+

elle n'est plus maintenue depuis bien longtemps, désolé, il va falloir patienter que mageia passe sous python3.

Hors ligne