Ma config. est dans ma signature.
Pour mon conkyrc :
# 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 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 200 250
maximum_width 200
alignment tr
gap_x 10
gap_y 10
# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# Text settings #
use_xft yes
xftfont Linux Biolinum:bold:size=9
xftalpha 0.5
uppercase no
temperature_unit celsius
default_color FFFFFF
# -- Déclaration template -- #
template0 ${lua fDrawImage ~/.conky/conky-meteo/meteo6jours/fond/\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 #
lua_load ~/.conky/clock_rings.lua
lua_draw_hook_pre clock_rings
lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/meteo2.lua
lua_startup_hook init ~/.conky/conky-meteo/meteo/meteo.cfg
TEXT
# Date #
${voffset 8}${color a5cb92}${font Linux Biolinum:bold:size=20}${time %A}${font}${voffset -22}${alignr 50}${color FFFFFF}${font Linux Biolinum:bold:size=42}${time %e}${font}
${voffset -18}${font Linux Biolinum:bold:size=18}${time %b}${font}${voffset -8} ${color a5cb92}${font Linux Biolinum:bold:size=20}${time %Y}${font}${voffset -4}${hr}
# Département & température #
${voffset 139}${font Linux Biolinum:bold:size=12}${color a5cb92}${alignr}Gwada${font}
${font Linux Biolinum:bold:size=13}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ TFFR temperature temperature 30}°C${font}
# Image horloge #
${image ~/.conky/linux-mint1-300x300a.png -p 4,53 -s 192x192}
# CPU, RAM, Disk & Net #
${color FFFFFF}${goto 5}${voffset 2}${cpu cpu0}%${goto 55}${cpu cpu1}%${goto 105}${cpu cpu2}%${goto 155}${cpu cpu3}%
${color a5cb92}${goto 5}CPU1${goto 55}CPU2${goto 105}CPU3${goto 155}CPU4
${color FFFFFF}${voffset 28}${goto 80}${memperc}%${goto 130}${fs_used_perc /}%
${color a5cb92}${goto 80}RAM${goto 130}DISK
${voffset 31}${color 339900}${font Linux Biolinum:bold:size=8}Download :${goto 65}${color FFFFFF}${downspeed eth1}
${color ef8c25}Upload :${goto 65}${color FFFFFF}${upspeed eth1}
${color a5cb92}${voffset -21}${goto 109}${font Linux Biolinum:bold:size=9}NET
# Infos diverses ordinateur #
${voffset 24}${color a5cb92}${font Linux Biolinum:bold:size=9}Allumé depuis : ${color FFFFFF}${uptime_short}
${color a5cb92}Processus : ${color FFFFFF}${processes}
${color a5cb92}En cours : ${color FFFFFF}${running_processes}
${color ffffff}${alignr}${nodename}
${color a5cb92}${alignr}${pre_exec cat /etc/issue.net} ${color ffffff}$machine
${color a5cb92}${alignr}Kernel : ${color ffffff}${kernel}
${voffset -1}${color a5cb92}${font Linux Biolinum:bold:size=12}Météo${font} ${voffset -2}${hr}
#### Lancement du script récupérant les données météo ####
${template1 Maj}
#${template1 horsligne}
#### Premier cadre ####
##### température actuelle #####
${voffset -6}${goto 62}${font Linux Biolinum:bold:size=16}${color a5cb92}${template1 TempAct}°
##### ville #####
${voffset -40}${color ffffff}${font Linux Biolinum:bold:size=9}${template1 Ville}
##### Affichage infos vent ######
${voffset -14}${color a5cb92}${font Linux Biolinum:bold:size=9}${goto 145}${template1 VentDirP}
${color FFFFFF}${font Linux Biolinum:bold:size=9}${goto 145}${template1 VentForce} km/h
##### Affichage conditions météo #####
${voffset 2}${font Linux Biolinum:bold:size=8}${color ffffff}${alignc}${template1 CondMeteo}
#### Second cadre ####
##### Affichage temperature & probabilité de précipitations Jour/Nuit #####
${voffset 29}${color a5cb92}${font Linux Biolinum:bold:size=8}${goto 23}${template1 Jour_Temp 1}° / ${template1 Jour_ProbPrec 1}%${goto 143}${template1 Nuit_Temp 1}° / ${template1 Nuit_ProbPrec 1}%
##### Affichage conditions météo #####
#${voffset 26}${font Linux Biolinum:size=6}${color ffffff}${goto 10}${template1 AM_CondMeteo1 1}${goto 100} ${template1 Noct_CondMeteo1 1}
##### Affichage lunaison #####
${voffset 52}${font Linux Biolinum:bold:size=8}${color ffffff}${alignc}${template3 ephemerides1} ${template3 ephemerides2}
#### troisieme cadre ####
##### Affichage Date #####
${voffset 16}${font Linux Biolinum:bold:size=8}${color a5cb92}${goto 8}${template1 Jour %a_%d 2}${goto 58}${template1 Jour %a_%d 3}${goto 108}${template1 Jour %a_%d 4}${goto 158}${template1 Jour %a_%d 5}
##### Affichage précipitations #####
${voffset -2}${font Linux Biolinum:size=8}${color ffffff}${goto 32}${template1 Jour_ProbPrec 2}%${goto 82}${template1 Jour_ProbPrec 3}%${goto 132}${template1 Jour_ProbPrec 4}%${goto 182}${template1 Jour_ProbPrec 5}%
##### Affichage temperature #####
${voffset 17}${goto 12}${font Linux Biolinum:bold:size=8}${color a5cb92}${template1 Nuit_Temp 2}°/${template1 Jour_Temp 2}°${goto 62}${template1 Nuit_Temp 3}°/${template1 Jour_Temp 3}°${goto 112}${template1 Nuit_Temp 4}°/${template1 Jour_Temp 4}°${goto 162}${template1 Nuit_Temp 5}°/${template1 Jour_Temp 5}°
##### Affichage vitesse du vent #####
${voffset 20}${font Linux Biolinum:bold:size=8}${color ffffff}${goto 9}${template1 Jour_VentForce 2}${font Linux Biolinum:bold:size=6} km/h${goto 59}${voffset -2}${font Linux Biolinum:bold:size=8}${template1 Jour_VentForce 3}${font Linux Biolinum:bold:size=6} km/h${goto 109}${voffset -2}${font Linux Biolinum:bold:size=8}${template1 Jour_VentForce 4}${font Linux Biolinum:bold:size=6} km/h${goto 159}${voffset -2}${font Linux Biolinum:bold:size=8}${template1 Jour_VentForce 5}${font Linux Biolinum:bold:size=6} km/h
#### quatrième cadre ####
##### Heure mise à jour #####
${voffset 23}${alignc}${font Linux Biolinum:bold:size=9}${color a5cb92}MàJ :
${alignc}${color ffffff}${template1 Heure}h${template1 Minute}
#### Affichage des cadres utilisés dans le conky ####
#### fond cadre ####
${template0 carnet4.png 0,573 200x230}
#### icônes premier cadre ####
${template2 IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 67,575 66x40}
${template2 IconeV ~/.conky/conky-meteo/meteo_lua_2/icones/vent 114,528 28x28}
#### icônes second cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 8,610 66x40 1}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 128,610 66x40 1}
${image /tmp/lune.png -p 85,635 -s 30x30 -f 60}
#### icônes troisième cadre ####
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 4,713 43x26 2}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 54,713 43x26 3}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 104,713 43x26 4}
${template2 AM_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 154,713 43x26 5}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 4,746 43x26 2}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 54,746 43x26 3}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 104,746 43x26 4}
${template2 Noct_IconeM ~/.conky/conky-meteo/meteo_lua_2/icones 154,746 43x26 5}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones/vent 14,780 22x22 2}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones/vent 64,780 22x22 3}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones/vent 114,780 22x22 4}
${template2 Jour_IconeR ~/.conky/conky-meteo/meteo_lua_2/icones/vent 164,780 22x22 5}
# Krostons #
${image ~/.conky/Kroston_01.png -p 15,793 -s 63x71}${image ~/.conky/Kroston_02.png -p 0,178 -s 68x71}${image ~/.conky/Kroston_03.png -p 141,390 -s 59x75}
À noter que pour toutes les images affichées "en dur", Horloge et Krostons, tout va bien.
Par contre, pour les images appelées par le biais des templates... rien ne s'affiche!
mon fichier meteo.cfg :
# ---- Config Meteo-Lua v2 ----
#Répertoire des scripts
repscript=~/.conky/conky-meteo/meteo_lua_2/scripts
#Répertoire de sauvegarde
repsauv=~/.conky/conky-meteo/meteo/reptravail
#Répertoire temporaire
TempShell=/tmp
#Copier votre adresse Accuweather ici
web=http://www.accuweather.com/fr/gp/gourbeyre/1150417/daily-weather-forecast/1150417
#Prévision sur n jour (de 1 à 15) moyenne pour la journée
periode=5
#Prévision infos sur la matinée (oui, non)
matinée=non
#Prévision infos sur la Après Midi (oui, non)
am=oui
#Prévision infos sur la Soirée (oui, non)
soiree=non
#Prévision infos sur la Nuit (oui, non)
nuit=oui
#Prévision à 8 Heures
Prev8heures=non
#Nombre de tranche de huit heures a traiter
nbFoisHuit=1
#Palier changement de couleur rose des vents (Km/h)
Palier=20
#Temps entre les mises à jour prévision (minute)
update=15
#Affichage notifiaction a la mise a jour
notify=non
Sinon mon arborescence est celle de ton installation et mon .conkyrc est directement à la racine.