Bonjour,

J'essaye de lancer Le Chronograph Conky avec la commande suivantes:
$ .Conky/cronograph/start_conky.sh
et il me retourne la réponse suivante:
$ .Conky/cronograph/start_conky.sh: ligne4: conky : commande introuvable
J'ai positionné .Conky dans le Home conformément aux instructions suivantes:
Move or Copy the hidden folder ".Conky" to your user folder!

Don't forget to install the fonts!!!

Go to
www.accuweather.com
type in your location and press enter. If your location is found and you can see a
forecast, copy and keep the web address somewhere.

Open the script ".Conky/cronograph/accuweather/accuw_script" with your favourite text editor and replace my location's address at the
"adress=" with yours (taken from www.accuweather.com).

To put conky to start with the system go to "startup applications" and add in the "command" the file ".Conky/cronograph/start_conky.sh"

Used Scripts modified by me:

"Clock Rings" by londonali1010

Multi Rings (Based on "conky_HUD" by SLK)

"Bliking Led Script" taken from "Conky LED sidebar" by jpope

"Accuweather Script" taken from "TeoBigusGeekus_Conky_Weather_Scripts"
Visit: "http://ubuntuforums.org/showthread.php?t=1156383" for more info.

Enjoy!!!

Si quelqu'un a une expérience avec le Chrono?
Merci de votre aide.
Bonjour,

que contient le script start_conky.sh? surtout la ligne 4

vu l'erreur, question bête, mais conky est installé? Que donne rpm -q conky ?
madko wrote:Bonjour,
que contient le script start_conky.sh? surtout la ligne 4
vu l'erreur, question bête, mais conky est installé? Que donne rpm -q conky ?
Il n'y a pas de question bête, car en répondant à la deuxième directement je m'aperçois qu'il n'est effectivement pas installé.
Je n'ai pas trouvé d'instruction plus avancée que celle du "read me" et rpm -q conky me dit qu'il n'est pas installé.
donc un
yum install conky
résoudra peut être ton problème?
madko wrote:donc un
yum install conky
résoudra peut être ton problème?
C'est effectivement le cas, avec mes remerciements pout ton aide.
J'ai donc lancé le superbe chrono avec la commande:
.Conky/cronograph/start_conky.sh
Il demarre bien mais la console renvoi des messages d'erreurs:
[olivier@DUHENO ~]$ .Conky/cronograph/start_conky.sh
[olivier@DUHENO ~]$ Conky: temperature_unit: incorrect argument
Conky: /home/olivier/.Conky/cronograph/conkyrc: 23: config file error
Conky: forked to background, pid is 11403

Conky: desktop window (1400024) is subwindow of root window (18e)
Conky: window type - normal
Conky: drawing to created window (0x3200001)
Conky: drawing to double buffer
wget: aucun processus trouvé
--2012-12-28 00:06:35--  http://www.accuweather.com/en/fr/la-baconniere/150531/current-weather/150531
Résolution de www.accuweather.com (www.accuweather.com)... 80.239.221.51, 80.239.221.17
Connexion vers www.accuweather.com (www.accuweather.com)|80.239.221.51|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: non spécifié [text/html]
Sauvegarde en : «/home/olivier/.Conky/cronograph/accuweather/curr_cond_raw»

    [ <=>                                   ] 97 291       537K/s   ds 0,2s    

2012-12-28 00:06:35 (537 KB/s) - «/home/olivier/.Conky/cronograph/accuweather/curr_cond_raw» sauvegardé [97291]

--2012-12-28 00:06:35--  http://www.accuweather.com/en/fr/la-baconniere/150531/daily-weather-forecast/150531
Résolution de www.accuweather.com (www.accuweather.com)... 80.239.221.17, 80.239.221.51
Connexion vers www.accuweather.com (www.accuweather.com)|80.239.221.17|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: non spécifié [text/html]
Sauvegarde en : «/home/olivier/.Conky/cronograph/accuweather/tod_ton_raw»

    [ <=>                                   ] 96 377       559K/s   ds 0,2s    

2012-12-28 00:06:36 (559 KB/s) - «/home/olivier/.Conky/cronograph/accuweather/tod_ton_raw» sauvegardé [96377]

Conky: can't open /sys/class/power_supply/BAT1/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT1/state: No such file or directory
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable 
Conky: unknown variable
le message est sans fin.

Il y a un ou plusieurs problèmes dans la page de config "Conkyrc" je pense...
Le mieux serai de nous fournir ton conkyrc et les scripts qu'il lance.
Heldwin wrote:Bonjour,
Si ça vient de là (mettre le lien aurait permis de faire perdre moins de temps...):
http://hfcf.deviantart.com/art/Conky-Cr … -278646771
Alors oui, il y a des erreurs de config.
Oui c'est juste tu a raison, ça vient de là.
Chepioq wrote:Le mieux serai de nous fournir ton conkyrc et les scripts qu'il lance
Le voilà:
# — Conky settings — #

background yes

update_interval 1
total_run_times 0
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

temperature_unit celcius

# — Window specifications — #

own_window_class Conky
own_window yes
own_window_type conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

minimum_size 300 300
maximum_width 300

alignment top_right

gap_x 30
gap_y 75


# — Graphics settings — #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# — Text settings — #
use_xft yes
xftfont hooge 05_53:size=6
xftalpha 0.5

default_color FFFFFF

uppercase no
use_spacer right

color0 white
color1 orange
color2 green

# — Lua Load — #

lua_load $HOME/.Conky/cronograph/scripts/clock_rings.lua
lua_draw_hook_pre clock_rings
lua_load $HOME/.Conky/cronograph/scripts/multi_rings.lua
lua_draw_hook_post main

TEXT
${execi 500 bash $HOME/.Conky/cronograph/accuweather/accuw_script}
${voffset 29}${offset 120}BAT:
${voffset 17}${goto 65}${font hooge 05_53:size=12}${time %H:%M}${font}${goto 185}UPTIME:
${voffset 2}${goto 65}${time %a %d %b}${goto 185}${uptime}
${voffset 2}${goto 65}${time %Y}
${voffset -6}${goto 145}HD
${voffset 12}${alignc}${fs_free}/${fs_size}
${voffset 36}${goto 91}${cpu cpu0}%${goto 221}${memperc}%
${voffset 10}${goto 76}CPU${goto 205}MEM
${voffset 20}${goto 90}${font hooge 05_53:size=12}${execpi 600 sed -n '4p' $HOME/.Conky/cronograph/accuweather/curr_cond}°${voffset -32}${goto 125}${font conkyweather:size=40}${execpi 600 sed -n '2p' $HOME/.Conky/cronograph/accuweather/curr_cond}${font}${voffset -12}${goto 185}${execpi 600 sed -n '3p' $HOME/.Conky/cronograph/accuweather/curr_cond}${voffset 12}${goto 185}${font conkyweather:size=20}${voffset 7}${goto 80}${execpi 600 sed -n '7p' $HOME/.Conky/cronograph/accuweather/tod_ton}${goto 135}${execpi 600 sed -n '12p' $HOME/.Conky/cronograph/accuweather/tod_ton}${goto 185}${execpi 600 sed -n '17p' $HOME/.Conky/cronograph/accuweather/tod_ton}${font}${voffset 6}${goto 84}${execpi 600 sed -n '9p' $HOME/.Conky/cronograph/accuweather/tod_ton}°/${execpi 600 sed -n '10p' $HOME/.Conky/cronograph/accuweather/tod_ton}°${goto 140}${execpi 600 sed -n '14p' $HOME/.Conky/cronograph/accuweather/tod_ton}°/${execpi 600 sed -n '15p' $HOME/.Conky/cronograph/accuweather/tod_ton}°${goto 190}${execpi 600 sed -n '19p' $HOME/.Conky/cronograph/accuweather/tod_ton}°/${execpi 600 sed -n '20p' $HOME/.Conky/cronograph/accuweather/tod_ton}°${voffset 7}${goto 85}${execpi 600 sed -n '6p' $HOME/.Conky/cronograph/accuweather/tod_ton}${goto 140}${execpi 600 sed -n '11p' $HOME/.Conky/cronograph/accuweather/tod_ton}${goto 190}${execpi 600 sed -n '16p' $HOME/.Conky/cronograph/accuweather/tod_ton}
${if_match ${battery_percent BAT1}>0}${if_match ${battery_percent BAT1}<=15}${image $HOME/.Conky/cronograph/images/Red.png -p 129,18 -s 40x40}${endif}${endif}
${if_match ${battery_percent BAT1}>15}${if_match ${battery_percent BAT1}<=20}${image $HOME/.Conky/cronograph/images/Orange.png -p 129,18 -s 40x40}${endif}${endif}
${if_match ${battery_percent BAT1}>20}${if_match ${battery_percent BAT1}<=35}${image $HOME/.Conky/cronograph/images/Yellow.png -p 129,18 -s 40x40}${endif}${endif}
${if_match ${battery_percent BAT1}>35}${if_match ${battery_percent BAT1}<=100}${image $HOME/.Conky/cronograph/images/Dark_Green.png -p 129,18 -s 40x40}${endif}${endif}
${execpi 1 cat $HOME/.Conky/cronograph/scripts/blinkingLED}
Heldwin wrote:own_window_type (config file error):
* Il n'y a pas de "conky", mais: normal, desktop, dock, panel or override (default: normal)
temperature_unit (Conky: temperature_unit: incorrect argument):
* "celsius", pas "celcius" ...
Pour l'erreur: Unknow variable, cela vient du script: $HOME/.Conky/cronograph/scripts/clock_rings.lua
* Il faut supprimer toutes les entrées qui sont vides (tous les { name=' ' [...] }😉

2) Batterie
* Si ton PC n'a pas de batterie, il faut commenter les lignes qui cherchent les infos sur la batterie (je n'ai pas de portable sous la main pour regarder si ce qu'il cherche existe encore).

3) Température
* J'ai dû modifier la ligne concernant le temps en remplaçant tous les curr_cond en curr_cond_raw, et les tod_ton en tod_ton_raw
(il y en a plusieurs, alors un coup de sed là-dessus, ou un "chercher/remplacer" dans un éditeur)
Je dois regarder encore, car il y a des balises qui trainent dans tous les coins sur le conky (mais bon des sed -n sur des '3p', '4p', etc ? Ils ont dû modifier la page depuis le temps)
Dernière modification par Heldwin (Hier 11:46:31)
J'ai fait rigoureusement ce que tu dis, pour les lignes contenant Battery, je les ai juste commentées.

J'obtient une superposition de 2 info de température et Conky: Unkown variable en fin de procédure apparaît toujours.
Enfin :
* Il faut supprimer toutes les entrées qui sont vides (tous les { name=' ' [...] }😉
je n'en ai pas trouvé.

Merci pour l'aide mais ne vous prenez pas la tête ce n'est pas vital...