Vous n'êtes pas identifié(e).
Pages : 1
Je comprends qu'il faudrait placer un '=' mais je ne comprends pas à quel endroit exactement.
Une idée ?
Merci
Edit à toto : Pour que la lecture du code sur le forum soit lisible par tous, il faut utiliser le BBCode du forum, ici : Autre code. Modif fête.
Oh, quel beau BB …code où comment mettre en forme vos messages dans le fofo
Dernière modification par exodebian (10-05-2020 21:18:53)
Hors ligne
Edit à toto : Pour que la lecture du code sur le forum soit lisible par tous, il faut bien disposer le code, ici en utilisant la balise Autre code du forum. Modif fête.
Oh, quel beau BB …code où comment mettre en forme vos messages dans le fofo
Hors ligne
fais attention , conky est très connu sur la toile et son langage de script a évolué dernièrement (depuis 2018) .
on trouve beaucoup de vieux conkys à adapter , donc .
malheureusement , le distingo entre les versions de conky n'est souvent pas très clair .
Dernière modification par Debian Alain (10-05-2020 10:18:47)
Hors ligne
Hors ligne
Syntax error (/home/exodebian/.conkyrc:2: '=' expected near 'yes') while reading config file.
Peut-être que, vu le message d'erreur,
il faudrait remplacer la deuxième ligne par :
et sans doute aussi dans les lignes d'affectations de valeurs aux directives qui suivent…
Source d'inspiration : https://wiki.archlinux.org/index.php/conky
Dernière modification par MicP (10-05-2020 14:13:44)
Hors ligne
Bonjour
Dans son message #1, exodebian a écrit :Syntax error (/home/exodebian/.conkyrc:2: '=' expected near 'yes') while reading config file.Peut-être que, vu de message d'erreur,
il faudrait remplacer la deuxième ligne par :background = trueet sans doute aussi dans les lignes d'affectations de valeurs aux directives qui suivent…
Source d'inspiration : https://wiki.archlinux.org/index.php/conky
Exact.
A voir aussi pour les options commentées par un "#" si ce n'est pas "--" maintenant.
Chez moi, la config n'utilise plus "yes" mais "true" et chaque option se termine par une virgule ","
exemple :
voir même :
Mais tout ça sur ma version actuelle sous Archlinux.
Mon conky à titre d'exemple :
Dernière modification par Anonyme (10-05-2020 11:56:53)
Je relance le conky se lance normalement mais me retourne
Mais si je change la 3eme Ligne en
Le conky ne fonctionne plus et retourne
Hors ligne
puis
C'est plus la bonne syntax.
et encore un "=" ligne 4
...
Dernière modification par Anonyme (10-05-2020 12:05:19)
Hors ligne
c'est :
pour le tien, voilà ce que ça pourrait donner (à tester chez toi) j'ai viré quelques doublons genre default color ... faut choisir entre 000000 et FFFFFF
je précise que je n'ai pas testé le code chez moi... conky est une petite bestiole sensible... il faut souvent tester plusieurs fois avant d'obtenir un bon résultat, mais c'est formateur. perso, j'ai commencer à apprendre les fichiers de config avec conky en 2006 et ça m'a mené bien plus loin..
nous sommes tous différents ... c'est notre point commun ...
Association Debian-Facile - Les cahiers du débutant - ISO Debian-Facile - 3hg - nakeDeb
GNU/Linux©2006-2024
Hors ligne
@arpinux
Bonjour,
manque quelques petites fermetures ","
et deux "# " à virer sur FFFFFFF
vi, j'ai juste fait ça rapide histoire de montrer, mais en aucun cas je fais le taf à la place du user ... la découverte et les erreurs, c'est la moitié du plaisir
nous sommes tous différents ... c'est notre point commun ...
Association Debian-Facile - Les cahiers du débutant - ISO Debian-Facile - 3hg - nakeDeb
GNU/Linux©2006-2024
Hors ligne
Dernière modification par Anonyme (10-05-2020 14:07:03)
Hors ligne
Merci à tous pour vos contribs... J'ai du boulot pour tout saisir
Si peu, tu verras plus c'est chiant et plus c'est un plaisir. C'est un peu le but l'informatique
tu verras plus c'est chiant et plus c'est un plaisir. C'est un peu le but l'informatique
Pffff... s'pèce de geek !
saque eud dun (patois chtimi : fonce dedans)
Hors ligne
ou si vous voulez créer un nouveau fichier conky à la norme sans écraser l'original pour le sauvegarder.
c'est tout, le fichier sera converti à la nouvelle norme de conky
le fichier à télécharger convert.lua
quand bien même il resterait des erreurs elles seront bien plus facilement repérables (ex #ffffff à remplacer par ffffff comme déjà cité ci-dessus).
et surtout un temps fou gagné !
nous sommes tous différents ... c'est notre point commun ...
Association Debian-Facile - Les cahiers du débutant - ISO Debian-Facile - 3hg - nakeDeb
GNU/Linux©2006-2024
Hors ligne
nous sommes tous différents ... c'est notre point commun ...
Association Debian-Facile - Les cahiers du débutant - ISO Debian-Facile - 3hg - nakeDeb
GNU/Linux©2006-2024
Hors ligne
Pages : 1