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.

#3226 Le 25/10/2010, à 21:27

JB-home

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

wido a écrit :

trop longtemps que je n'ai pas posté sur ce sujet...

la même, maintenant que j'ai trouvé les conf "parfaites" pour conky, je change plus...

Hors ligne

#3227 Le 26/10/2010, à 09:05

fouduroi

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

salut les gens!
@adama45, j'ai largement copié ton conky et tout marchait bien, mais depuis hier a certains demarrages
il n'apparait plus (et je n'ai rien modifié!)
puis au bout de 5 ou 6 mn il réapparrait tout seul !!!
mon conkyrc:

# conky configuration

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes
xftfont HandelGotDLig:size=10
xftalpha 0.8

# Print everything to console?
out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no
draw_graph_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 0

# border width
border_width 1

# Default colors and also border colors
default_color F8A65C
default_shade_color black
default_outline_color black

# Minimum size of text area
minimum_size 400 500
maximum_width 400

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1368
gap_y 100

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

# gris
color1 CCCCCC

# orange
color3 FFFFFF
# bleu
color2 ED9549

text_buffer_size 4096
max_specials 1024



TEXT
${color3}${offset 220}${font Terminator Real NFI:size=35}${time %H}:${offset 10}${voffset -20}${font Terminator Real NFI:size=14}${time %M}${voffset 20}${offset -35}${font Terminator Real NFI:size=14}${time %S}
${voffset -38}${font Terminator Real NFI:size=19}${time %A} 
${voffset -12}${font Terminator Real NFI:size=09}${time %d} ${font Terminator Real NFI:size=09}${time %b} ${font Terminator Real NFI:size=10}${time %Y}${color}


${color}${font HandelGotDLig:size=12}Ordinateur ${offset 10}${color1}${hr}${font}

${offset 20}${color1}Version : ${color3}${execi 86400 cat /etc/lsb-release|grep ID|cut -d= -f2} ${execi 86400 cat /etc/lsb-release|grep REL|cut -d= -f2} "${execi 86400 cat /etc/lsb-release|grep NAME|cut -d= -f2}"
${offset 20}${color1}Noyau : ${color3}$sysname $kernel ${color1}on ${color3}$machine
${offset 20}${color1}Fonctionne depuis ${color3}$uptime

${color}${font HandelGotDLig:size=12}Réseau ${offset 10}${color1}${hr}${font}

${offset 20}${color1}lan : ${color3}${addr eth0}    ${color1}${alignr}${offset -20}IP Publique : ${color3}${execi 10800 wget -qO- whatismyip.org}
${offset 20}${color1}Localisation par IP (Lat./long.) : ${color3} ${exec python ~/conkyLatLong/conkyLatLong.py}
${offset 20}${color1}Réception : ${color3}${downspeed eth0}
${color2}$downspeedgraph${color}
${offset 20}${color1}Emission : ${color3}${upspeed eth0}
${color2}$upspeedgraph${color}

${color}${font HandelGotDLig:size=12}Système ${offset 10}${color1}${hr}${font}

${offset 20}${color1}Processus : ${color3}$processes   ${color1}En cours : ${color3}$running_processes
${offset 20}${color1}CPU : ${color3}${freq_g} G Hz ${color1}soit : ${color3} ${cpu cpu0}%${alignr}${offset -15}${voffset -8}

${offset 20}${color1}RAM  : ${color3}${memperc} % ${alignr}[$mem / $memfree / $memmax]
${offset 20}${color1}SWAP : ${color3}${swapperc} % ${alignr}[$swap / $swapfree / $swapmax]

${color}${font HandelGotDLig:size=12}Disques ${offset 10}${color1}${hr}${font}

${offset 20}${color1}/ : ${color3}${fs_used_perc /} % [${fs_used /} / ${fs_free /} / ${fs_size /}] ${offset 5}${color1}${fs_bar 4 /}

${offset 20}${color1}/home : ${color3}${fs_used_perc /home} % [${fs_used /home} / ${fs_free /home} / ${fs_size /home}] ${offset 5}${color1}${fs_bar 4 /home}

${color}${font HandelGotDLig:size=12}Températures et Ventilateur ${offset 10}${color1}${hr}${font}

${offset 25}${color1}CM  : ${alignr}${color3}${hwmon 0 temp 2}°C
${offset 25}${color1}CPU : ${alignr}${color3}${hwmon 0 temp 1}°C
${offset 25}${color1}GPU : ${alignr}${color3}${nvidia temp}°C
${offset 25}${color1}Disque dur /dev/sda : ${alignr}${color3}${hddtemp /dev/sda}°C
${offset 25}${color1}Disque dur /dev/sdb : ${alignr}${color3}${hddtemp /dev/sdb}°C
${offset 25}${color1}Disque dur /dev/sdc : ${alignr}${color3}${hddtemp /dev/sdc}°C
${offset 25}${color1}Disque dur /dev/sdd : ${alignr}${color3}${hddtemp /dev/sdd}°C
${offset 25}${color1}Ventilateur : ${alignr}${color3}${hwmon 0 fan 1} T/mn

${color}${font HandelGotDLig:size=12}${offset 10}${color1}${hr}${font}

le conky.sh:

#!/bin/bash

sleep 05
conky -c /home/alain/.conkyrc &
sleep 07
amule
exit

le conky de adama45:

adama45 a écrit :

Conky de droite :

# conky configuration

# set to yes if you want Conky to be forked in the background
background yes

# Use Xft?
use_xft yes
xftfont HandelGotDLig:size=9
xftalpha 0.8

# Print everything to console?
out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no
draw_graph_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 0

# border width
border_width 1

# Default colors and also border colors
default_color F8A65C
default_shade_color black
default_outline_color black

# Minimum size of text area
minimum_size 400 500
maximum_width 400

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 30

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

# gris
color1 CCCCCC

# orange
color3 FFFFFF
# bleu
color2 ED9549

text_buffer_size 4096
max_specials 1024



TEXT
${color3}${offset 240}${font Terminator Real NFI:size=32}${time %H}:${offset 10}${voffset -20}${font Terminator Real NFI:size=12}${time %M}${voffset 20}${offset -35}${font Terminator Real NFI:size=12}${time %S}
${voffset -38}${font Terminator Real NFI:size=18}${time %A} 
${voffset -12}${font Terminator Real NFI:size=09}${time %d} ${font Terminator Real NFI:size=09}${time %b} ${font Terminator Real NFI:size=09}${time %Y}${color}


${color}${font HandelGotDLig:size=12}Ordinateur ${offset 10}${color1}${hr}${font}

${offset 20}${color1}Version : ${color3}${execi 86400 cat /etc/lsb-release|grep ID|cut -d= -f2} ${execi 86400 cat /etc/lsb-release|grep REL|cut -d= -f2} "${execi 86400 cat /etc/lsb-release|grep NAME|cut -d= -f2}"
${offset 20}${color1}Noyau : ${color3}$sysname $kernel ${color1}on ${color3}$machine
${offset 20}${color1}Fonctionne depuis ${color3}$uptime

${color}${font HandelGotDLig:size=12}Réseau ${offset 10}${color1}${hr}${font}

${offset 20}${color1}lan : ${color3}${addr eth0}    ${color1}${alignr}${offset -20}IP Publique : ${color3}${execi 10800 wget -qO- whatismyip.org}
${offset 20}${color1}Localisation par IP (Lat./long.) : ${color3} ${exec python ~/conkyLatLong/conkyLatLong.py}
${offset 20}${color1}Réception : ${color3}${downspeed eth0}
${offset 20}${color1}Emission : ${color3}${upspeed eth0}

${color}${font HandelGotDLig:size=12}Système ${offset 10}${color1}${hr}${font}

${offset 20}${color1}Processus : ${color3}$processes   ${color1}En cours : ${color3}$running_processes
${offset 20}${color1}CPU : ${color3}${freq_g} G Hz ${color1}soit : ${color3} ${cpu cpu0}%${alignr}${offset -15}${voffset -8}

${offset 20}${color1}RAM  : ${color3}${memperc} % ${alignr}[$mem / $memfree / $memmax]
${offset 20}${color1}SWAP : ${color3}${swapperc} % ${alignr}[$swap / $swapfree / $swapmax]

${color}${font HandelGotDLig:size=12}Disques ${offset 10}${color1}${hr}${font}

${offset 20}${color1}/ : ${color3}${fs_used_perc /} % [${fs_used /} / ${fs_free /} / ${fs_size /}] ${offset 5}${color1}${fs_bar 4 /}

${offset 20}${color1}/home : ${color3}${fs_used_perc /home} % [${fs_used /home} / ${fs_free /home} / ${fs_size /home}] ${offset 5}${color1}${fs_bar 4 /home}

${color}${font HandelGotDLig:size=12}Températures et Ventilateur ${offset 10}${color1}${hr}${font}

${offset 25}${color1}CM  : ${alignr}${color3}${hwmon 0 temp 2}°C
${offset 25}${color1}CPU : ${alignr}${color3}${hwmon 0 temp 1}°C
${offset 25}${color1}GPU : ${alignr}${color3}${nvidia temp}°C
${offset 25}${color1}Disque dur  : ${alignr}${color3}${hddtemp /dev/sda}°C
${offset 25}${color1}Ventilateur : ${alignr}${color3}${hwmon 0 fan 1} T/mn


${color}${font HandelGotDLig:size=12}Rhythmbox ${offset 10}${color1}${hr}${font}
${if_running rhythmbox}
${offset 20}${color1}Artiste : ${offset 5}$color3${exec rhythmbox-client --no-start --print-playing-format "%ta"}
${offset 20}${color1}Album   : ${offset 5}$color3${exec rhythmbox-client --no-start --print-playing-format "%at"}
${offset 20}${color1}Titre   : ${offset 5}$color3${exec rhythmbox-client --no-start --print-playing-format "%tt"}
${offset 20}${color1}Durée   : ${offset 5}$color3${exec rhythmbox-client --no-start --print-playing-format "%te / %td"}${alignr 10}${exec conkyRhythmbox -n -d PP}%
${voffset 5}${color1}${execibar 1 conkyRhythmbox --datatype=PP}
${else}
${alignc}${color3} Rhythmbox n'est pas ouvert
$endif
${color1}${hr}
Mises à jour disponibles : ${color3}${execi 900 aptitude search "~U" | wc -l | tail}

Dernière modification par fouduroi (Le 26/10/2010, à 09:07)


ubuntu 14.04 64 bits  / ubuntu 16.04 64 bits
asus p6t, core i7 920, 7go ram, nvidia gt630
http://www.pullco.fr/  association pour la Promotion de l’Utilisation des Logiciels Libres en COrrèze
pourquoi Linux est le meilleur?

Hors ligne

#3228 Le 26/10/2010, à 09:11

Fafanuclear

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut a tous,

J'utilise depuis 6 mois conkyEmail pour avoir un aperçu de ma boite Gmail. Depuis la mise à jour de conkyEmail d'hier soir, je n'arrive plus à accéder au nombre de messages non lu de ma boîte. Pas de soucis, je me suis dit qu'avec la mise à jour, peut-être que la syntaxe de la commande conkyEmail avait évolué et que je devais mettre à jour mon sourcecode conky. Cependant je ne trouve rien la dessus. Et le fichier exemple qui se trouve dans le répertoire /share ne semble pas présenter un changement dans la syntaxe à utiliser pour appeler conkyEmail.

Est-ce quelqu'un d'autre a le même problème, et si oui, avez vous des pistes pour le corriger.
Merci

Hors ligne

#3229 Le 26/10/2010, à 09:15

Gil76mg

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

1:Bonjour,

depuis la mise à jour de Conkyforecast de ce matin, tout mon conky avec la météo n'affiche plus rien.

Si certains d'entre vous ont fait la mise à jour, peuvent-ils me donner le résultat de cette dernière sur leur conky?

Merci d'avance.

2: Le message d'erreur sur la console est le suivant:

"/usr/bin/conkyForecast: 3: /usr/bin/python2: not found"

Dernière modification par Gil76mg (Le 26/10/2010, à 09:23)


Nous sommes meilleurs qu'hier mais moins bons que demain.

Hors ligne

#3230 Le 26/10/2010, à 11:21

VictorDayeur

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

J'ai résolu tous mes problèmes, potassé les conditions, mis openbox, tilda etc... Mon bureau commence à ressembler à quelque chose (reste plus qu'a remplacer ce qui reste de gnome par autre chose et trouver une jolie police pour le conky).

Je vous montre même si mon conky est bien en dessous des votres tongue
captureyqa.th.png

Merci à vous pour les bouts de code piqués dans vos conky big_smile

Hors ligne

#3231 Le 26/10/2010, à 11:33

Fafanuclear

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Fafanuclear a écrit :

Salut a tous,

J'utilise depuis 6 mois conkyEmail pour avoir un aperçu de ma boite Gmail. Depuis la mise à jour de conkyEmail d'hier soir, je n'arrive plus à accéder au nombre de messages non lu de ma boîte. Pas de soucis, je me suis dit qu'avec la mise à jour, peut-être que la syntaxe de la commande conkyEmail avait évolué et que je devais mettre à jour mon sourcecode conky. Cependant je ne trouve rien la dessus. Et le fichier exemple qui se trouve dans le répertoire /share ne semble pas présenter un changement dans la syntaxe à utiliser pour appeler conkyEmail.

Est-ce quelqu'un d'autre a le même problème, et si oui, avez vous des pistes pour le corriger.
Merci


Et maintenant, le même souci avec la mise à jour de conkyForecast. Pour les deux, voici le message d'erreur:

/usr/bin/conkyEmail: 3: /usr/bin/python2: not found
/usr/bin/conkyForecast: 3: /usr/bin/python2: not found

Si je saisi bien, le souci proviendrait de la désinstallation de python2 lors de l'upgrade de Lucid vers Maverick.

Hors ligne

#3232 Le 26/10/2010, à 12:20

MrKaer

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Fafanuclear a écrit :

Salut a tous,

J'utilise depuis 6 mois conkyEmail pour avoir un aperçu de ma boite Gmail. Depuis la mise à jour de conkyEmail d'hier soir, je n'arrive plus à accéder au nombre de messages non lu de ma boîte. Pas de soucis, je me suis dit qu'avec la mise à jour, peut-être que la syntaxe de la commande conkyEmail avait évolué et que je devais mettre à jour mon sourcecode conky. Cependant je ne trouve rien la dessus. Et le fichier exemple qui se trouve dans le répertoire /share ne semble pas présenter un changement dans la syntaxe à utiliser pour appeler conkyEmail.

Est-ce quelqu'un d'autre a le même problème, et si oui, avez vous des pistes pour le corriger.
Merci


Salut smile
Une solution "temporaire" pour résoudre ton problème de mails non lus -> http://doc.ubuntu-fr.org/conky_scripts_systeme#mails
En attendant que quelqu'un trouve une solution pour ConkyEmail et ConkyForecats ^_^

Cordialement

Hors ligne

#3233 Le 26/10/2010, à 13:03

Fafanuclear

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Merci MrKaer pour cette solution temporaire.

Pour le reste, j'ai vérifié dans synaptic et j'ai bien python2.6 d'installé, par contre 2.7 et 3 ne sont pas installées. Je dois avouer que je ne comprends pas bien pourquoi j'ai une version ancienne du compilateur python et pas une version récente. S'il y a des stars du Python dans le coin, pensez-vous que le problème puisse venir de la version de Python que j'ai installé? Si oui, pourrait on m'expliquer qu'elle est la différence entre ces différentes versions.

Merci d'avance.

Dernière modification par Fafanuclear (Le 26/10/2010, à 13:03)

Hors ligne

#3234 Le 26/10/2010, à 15:45

maestroom

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

salut a tous!

dans ce code

 
bg_colour1={{5,0x858181,1},{5,0x858181,1}, {5,0x858181,1}},
fg_colour1={{0,0XFF6E00,0},{0,0xFF6E00,1}, {1,0xFF6E00,0}},
fg_colour2={{0,0Xae0119,0},{0,0xae0119,1}, {1,0xae0119,0}},
bd_colour1={{0,0XFF6E00,1},{0,0xFF6E00,1}, {1,0xFF6E00,1}},

comment peut-on intégrer une transparance????

Dernière modification par maestroom (Le 26/10/2010, à 15:46)


CM: Asus Maximus extreme VI/ cpu: intel Core I7-4770 /carte graphique: nvidia GTX 760 /os: Ubuntu gnome-shell 14.04 "" 64 bits avec dual boot windows 8.1 64bit

Hors ligne

#3235 Le 26/10/2010, à 16:02

carpediem

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut à tous,
je rencontre me même problème que Gil76mg, depuis me la mise à jour de Conkyforecast il ne fonctionne plus.
Si quelqu'un à une solution ?
merci d'avance
Cordialement carpediem

Dernière modification par carpediem (Le 26/10/2010, à 16:05)


"Carpe diem quam minimum credula postero"
(Cueille le jour présent, en te fiant le moins possible au lendemain.)
HORACE

Hors ligne

#3236 Le 26/10/2010, à 18:04

JB-home

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

les variables ont sûrement changés, faut attendre qu'ils mettent à jour la liste des variables, enfin je pense.

sinon lancez vos conky depuis un terminal pour voir les erreurs retournés.

Hors ligne

#3237 Le 26/10/2010, à 19:29

wido

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Ah bien voilà pour tilda smile
ça me plait déjà.

Hors ligne

#3238 Le 26/10/2010, à 19:31

Fafanuclear

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut,

z0rg> a écrit :

les variables ont sûrement changés, faut attendre qu'ils mettent à jour la liste des variables, enfin je pense.

sinon lancez vos conky depuis un terminal pour voir les erreurs retournés.

Le problème provient de là:

Fafanuclear a écrit :

Et maintenant, le même souci avec la mise à jour de conkyForecast. Pour les deux, voici le message d'erreur:

/usr/bin/conkyEmail: 3: /usr/bin/python2: not found
/usr/bin/conkyForecast: 3: /usr/bin/python2: not found

Si je saisi bien, le souci proviendrait de python2.

Dernière modification par Fafanuclear (Le 26/10/2010, à 19:32)

Hors ligne

#3239 Le 26/10/2010, à 19:35

wido

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

remplace la ligne #!/usr/bin/python2

par

#!/usr/bin/env python2

et vois si ça passe.

Hors ligne

#3240 Le 26/10/2010, à 19:38

JB-home

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Edit : ouhais, c'est moins con ce que propose wido xD

( dsl wido,  je suis un peu à l'ouest...)

Dernière modification par z0rg> (Le 26/10/2010, à 19:41)

Hors ligne

#3241 Le 26/10/2010, à 19:40

wido

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

lol?

EDIT: mon = moins? sinon c'est pas drôle

Dernière modification par wido (Le 26/10/2010, à 19:41)

Hors ligne

#3242 Le 26/10/2010, à 20:05

gauloisval

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

bonsoir a tous,
j'ai trouvé la solution :
sudo gedit /usr/bin/conkyForecast
mettre python2.6 à la place du 2
pour moi cela fonctionne .


Ubuntu 19.04 64bits

Hors ligne

#3243 Le 26/10/2010, à 21:22

Gil76mg

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Bien vu!!!!!

Pareil pour moi c'est une affaire qui roule, encore bravo pour la solution!!!!

Bonne soirée.


Nous sommes meilleurs qu'hier mais moins bons que demain.

Hors ligne

#3244 Le 27/10/2010, à 18:50

Fafanuclear

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Nickel pour moi aussi.
Merci

Gil76mg a écrit :

Bien vu!!!!!

Pareil pour moi c'est une affaire qui roule, encore bravo pour la solution!!!!

Bonne soirée.

Hors ligne

#3245 Le 28/10/2010, à 09:28

TwistedSister

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut

http://yfrog.com/7bcaptureuokp

Conkyrc

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
use_xft yes
on_bottom yes
xftfont URW Chancery L:size=12
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color #4582B5
default_shade_color black
default_outline_color black
alignment top_right
gap_x 8
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no



TEXT
${font Ruritania:pixelsize=30}${color black}Bonjour Rhum1
${font URW Chancery L:pixelsize=14}${color black}Il est : ${time %H:%M:%S}
${color black}Nous sommes le : ${time %A %d %B %Y}
$stippled_hr
$sysname $kernel on $machine
${color black}Version : ${color black}${execi 86400 cat /etc/lsb-release|grep ID|cut -d= -f2} ${execi 86400 cat /etc/lsb-release|grep REL|cut -d= -f2} "${execi 86400 cat /etc/lsb-release|grep NAME|cut -d= -f2}"
$stippled_hr
${color black}Uptime:${color black} $uptime ${color black}- Load:${color black} $loadavg
$stippled_hr
${font Hacjiuza:pixelsize=20}${color black}Processeur: 
${font URW Chancery L:pixelsize=14}${color black}Utilisation Core 1: ${color black}${cpu cpu1}% ${cpubar cpu1}
${color black}Utilisation Core 2: ${color black}${cpu cpu2}% ${cpubar cpu2}
${color black}Utilisation Core 3: ${color black}${cpu cpu3}% ${cpubar cpu3}
${color black}Utilisation Core 4: ${color black}${cpu cpu4}% ${cpubar cpu4}
$stippled_hr
${font Hacjiuza:pixelsize=20}${color black}Espace Disque:
${font URW Chancery L:pixelsize=14}${color black}Root: ${color black}${fs_free /}/${fs_size /} ${color black}${fs_bar /}
${color black}Memoire RAM :${color black} $mem/$memmax - $memperc% ${color black}${membar}
${color black}Utilisation du Swap :${color black} $swap/$swapmax - $swapperc% ${color black}${swapbar}
$stippled_hr
${font Hacjiuza:pixelsize=20}${color black}Reseau : 
${font URW Chancery L:pixelsize=14}${color black}IP Locale ${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${color black}Download :${color black} ${downspeed eth0} k/s${color black} ${offset 80}${color black}Upload:${color black} ${upspeed eth0} k/s
${color black}${downspeedgraph eth0 32,150 8b4b0b ffc11f} ${color black}${upspeedgraph eth0 32,150 ffc11f 8b4b0b}
$stippled_hr
${font Hacjiuza:pixelsize=20}${color black}Rhythmbox
${if_running rhythmbox}${font URW Chancery L:pixelsize=14}${color black}Artiste : ${exec rhythmbox-client --no-start --print-playing-format "%ta"}
${color black}Titre : ${exec rhythmbox-client --no-start --print-playing-format "%tt"}
${color black}Duree : ${exec rhythmbox-client --no-start --print-playing-format "%te / %td"}
${else}
${font URW Chancery L:pixelsize=14}${color black}Rhythmbox n'est pas ouvert 
$endif

Dernière modification par TwistedSister (Le 29/10/2010, à 16:31)

Hors ligne

#3246 Le 28/10/2010, à 10:17

RegisBurin

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

@ TwistedSister:
Utilise les balises <code> stp, c'est plus lisible, merci

Par contre; il me semble que tu as des lignes qui ne servent à rien...!

#!/bin/bash

Config (M-AUDIO Delta44/Wacom CTH661-Phone ZTE OpenC-FFOS2.1) | BabyBox[WIP]
Moi sur le web / Moi, IRL mais sur le web / Ma maison sur le web

Hors ligne

#3247 Le 28/10/2010, à 11:39

TwistedSister

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

ah j'essaierai tout a l'heure sans, je m'était inspiré de quelqu'un et je l'ai beaucoup modifié donc il est possible qu'il reste des bout de code.

Hors ligne

#3248 Le 28/10/2010, à 22:12

maestroom

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut a tous et a toutes XD.... je viens de changer de Background téléchargeable ici
donc j'ai retravailler mon conky smile
conkyearth.png

et voici la programmation qu'il va avec

conkyrc:

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
background no

# Create own window instead of using desktop (requiblack in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (blackuces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 1240
maximum_width 1250

# Draw shades?
draw_shades no

#draw graph borders?
draw_graph_borders yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 1

# Default colors and also border colors
default_color black
default_shade_color black
default_outline_color black
own_window_colour white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 20
gap_y 0

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support requiblack XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

border_inner_margin 0
border_outer_margin 5

# -- Lua load -- #
lua_load ~/Conky/ring.lua
lua_draw_hook_pre main_rings

TEXT
${image ~/Conky/pix/calque_conky.png -p 0,0 -s 1280x960}

${color grey}${voffset 60}${goto 290}${cpugraph cpu1 0,40}${goto 435}${cpugraph cpu1 0,40}${goto 620}${cpugraph cpu1 0,40}
${color grey}${voffset -11}${goto 329}${cpugraph cpu1 140,1}${goto 474}${cpugraph cpu1 140,1}${goto 659}${cpugraph cpu1 140,1}
${voffset 0}${color black}${font Alice in Wonderland:size=15}${goto 270}Serenity: ${goto 440}Home: ${goto 590}Dead space: 
${voffset 0}${goto 270}Used: ${fs_used /media/serenity} ${goto 440}Used: ${fs_used /home} ${goto 590}Used: ${fs_used /media/dead space}
${voffset 0}${goto 270}Free: ${fs_free /media/serenity} ${goto 440}Free: ${fs_free /home} ${goto 590}Free: ${fs_free /media/dead space}
${voffset 0}${goto 270}Size: ${fs_size /media/serenity} ${goto 440}Size: ${fs_size /home} ${goto 590}Size: ${fs_size /media/dead space}
${voffset 0}${goto 270}Temp: ${execi 10 hddtemp -n /dev/sda}${font Beautiful Dreams:size=10}° ${font Alice in Wonderland:size=15}C ${goto 440}Temp:  ${execi 10 hddtemp -n /dev/sdb}${font Beautiful Dreams:size=10}°${font Alice in Wonderland:size=15}C ${goto 590}Temp: ${execi 10 hddtemp -n /dev/sde}${font Beautiful Dreams:size=10}°${font Alice in Wonderland:size=15}C
${voffset 100}${goto 210}${color black}${font Alice in Wonderland:size=20} Carte Graphique
${voffset 0}${font Alice in Wonderland:size=15}${goto 240}${color black}Nvidia Geforce Series GTS 250 :${nvidia gpufreq} MHz
${voffset 0}${font Alice in Wonderland:size=15}${goto 250}${color black}Température ACtuel : ${nvidia temp}${font Beautiful Dreams:size=10}°${font Alice in Wonderland:size=15}C
${voffset 0}${font Alice in Wonderland:size=15}${goto 260}${color black}Seuil Température : ${nvidia threshold}${font Beautiful Dreams:size=10}°${font Alice in Wonderland:size=15}C ${goto 640}AMD PHENOM 9550E :
${voffset 0}${font Alice in Wonderland:size=15}${goto 260}${color black}nvidia memory : ${nvidia memfreq} MHZ ${goto 640}Cpu Temp: ${hwmon 1 temp 1}${font Beautiful Dreams:size=10}°${font Alice in Wonderland:size=15}C
${voffset 0}${color #FF6E00}${font Alice in Wonderland:size=15}${goto 640}Core 1: ${cpu cpu1}%
${voffset 0}${color #CB0C29}${font Alice in Wonderland:size=15}${goto 640}Core 2: ${cpu cpu2}%
${voffset 0}${color #49A835}${font Alice in Wonderland:size=15}${goto 640}Core 3: ${cpu cpu3}%
${voffset 0}${color #2D7DB3}${font Alice in Wonderland:size=15}${goto 640}Core 4: ${cpu cpu4}%
${voffset 120}${color #dc1818}${font Alice in Wonderland:size=15}${goto 145}Download: ${downspeed eth0} ${color #2D7DB3}${goto 1025}Upload: ${upspeed eth0}
${voffset 0}${color #AB1852}${font Alice in Wonderland:size=15}${goto 575}Mémoire: $memperc%

ring.lua

--[[ RINGS with SECTORS widget
    v1.0 by wlourf (08.08.2010)
    this widget draws a ring with differents effects 
    http://u-scripts.blogspot.com/2010/08/rings-sectors-widgets.html
    
To call the script in a conky, use, before TEXT
    lua_load /path/to/the/script/rings.lua
    lua_draw_hook_pre main_rings
and add one line (blank or not) after TEXT


Parameters are :
3 parameters are mandatory
name        - the name of the conky variable to display,
              for example for {$cpu cpu0}, just write name="cpu"
arg            - the argument of the above variable,
              for example for {$cpu cpu0}, just write arg="cpu0"
                arg can be a numerical value if name=""
max            - the maximum value the above variable can reach,
              for example for {$cpu cpu0}, just write max=100
    
Optional parameters:
xc,yc        - coordinates of the center of the ring,
              default = middle of the conky window
radius        - external radius of the ring, in pixels,
              default = quarter of the width of the conky window
thickness    - thickness of the ring, in pixels, default = 10 pixels
start_angle    - starting angle of the ring, in degrees, value can be negative,
              default = 0 degree
end_angle    - ending angle of the ring, in degrees,
              value must be greater than start_angle, default = 360 degrees
sectors        - number of sectors in the ring, default = 10
gap_sectors - gap between two sectors, in pixels, default = 1 pixel
cap            - the way to close a sector, available values are
                "p" for parallel , default value 
                "r" for radial (follow the radius)
inverse_arc    - if set to true, arc will be anticlockwise, default=false
border_size    - size of the border, in pixels, default = 0 pixel i.e. no border
fill_sector    - if set to true, each sector will be completely filled,
              default=false, this parameter is inoperate if sectors=1
background    - if set to false, background will not be drawn, default=true
foreground    - if set to false, foreground will not be drawn, default=true

Colours tables below are defined into braces :
{position in the gradient (0 to 1), colour in hexadecimal, alpha (0 to 1)}
example for a single colour table : 
{{0,0xFFAA00,1}} position parameter doesn't matter
example for a two-colours table : 
{{0,0xFFAA00,1},{1,0x00AA00,1}} or {{0.5,0xFFAA00,1},{1,0x00AA00,1}}
example for a three-colours table : 
{{0,0xFFAA00,1},{0.5,0xFF0000,1},{1,0x00AA00,1}}

bg_colour1    - colour table for background,
              default = {{0,0x00ffff,0.1},{0.5,0x00FFFF,0.5},{1,0x00FFFF,0.1}}
fg_colour1    - colour table for foreground,
              default = {{0,0x00FF00,0.1},{0.5,0x00FF00,1},{1,0x00FF00,0.1}}
bd_colour1    - colour table for border,
              default = {{0,0xFFFF00,0.5},{0.5,0xFFFF00,1},{1,0xFFFF00,0.5}}              

Seconds tables for radials gradients :
bg_colour2    - second colour table for background, default = no second colour
fg_colour2    - second colour table for foreground, default = no second colour
bd_colour2    - second colour table for border, default = no second colour

v1.0 (08 Aug. 2010) original release

]]


require 'cairo'
function conky_main_rings()
-- START PARAMETERS HERE
rings_settings={

    {
    --ring 1-1 :cpu
    name="cpu",
    arg="cpu1",
    max=100,
    xc=1105,
    yc=365,
    radius=131,
    thickness=7,
    start_angle=-90,
    end_angle=0,
    sectors=1,
    bg_colour1={{0,0xdedede,0.05},{0,0xdedede,0.05}, {0,0xdedede,0.05}},
    fg_colour1={{0,0XFF6E00,0},{0,0xFF6E00,1}, {1,0xFF6E00,0}},
    fg_colour2={{0,0XFF6E00,0},{0,0xFF6E00,1}, {1,0xFF6E00,0}},
    bd_colour1={{0,0XFF6E00,1},{0,0xFF6E00,1}, {1,0xFF6E00,1}},
    },

    {
    --ring 1-2 :cpu
    name="cpu",
    arg="cpu2",
    max=100,
    xc=1105,
    yc=365,
    radius=131,
    thickness=7,
    start_angle=-180,
    end_angle=-90,
    sectors=1,
    bg_colour1={{0,0xdedede,0.05},{0,0xdedede,0.05}, {0,0xdedede,0.05}},
    fg_colour1={{0,0XCB0C29,0.5},{0,0xCB0C29,0}, {0,0xCB0C29,0.5}},
    fg_colour2={{0,0XFF6E00,0.5},{0,0xFF6E00,0.5}, {0,0xCB0C29,0.5}},
    bd_colour1={{0,0XCB0C29,0.1},{0,0xCB0C29,0.1}, {1,0xCB0C29,0.1}},
    },

    {
    --ring 1-3 :cpu
    name="cpu",
    arg="cpu3",
    max=100,
    xc=1105,
    yc=365,
    radius=131,
    thickness=7,
    start_angle=-270,
    end_angle=-180,
    sectors=1,
    bg_colour1={{0,0xdedede,0.05},{0,0xdedede,0.05}, {0,0xdedede,0.05}},
    fg_colour1={{0,0X49A835,0},{0.5,0x49A835,1}, {1,0x49A835,0}},
    fg_colour2={{0,0XCB0C29,0},{0.5,0x49A835,1}, {1,0x49A835,0}},
    bd_colour1={{0,0X49A835,1},{0.5,0x49A835,1}, {1,0x49A835,1}},
    },

    {
    --ring 1-4 :cpu
    name="cpu",
    arg="cpu4",
    max=100,
    xc=1105,
    yc=365,
    radius=131,
    thickness=7,
    start_angle=-360,
    end_angle=-270,
    sectors=1,
    bg_colour1={{0,0xdedede,0.05},{0,0xdedede,0.05}, {0,0xdedede,0.05}},
    fg_colour1={{0,0X2D7DB3,0},{0.5,0x2D7DB3,1}, {1,0x2D7DB3,0}},
    fg_colour2={{0,0XD7DB3,0},{0.5,0xD7DB3,1}, {1,0xD7DB3,0}},
    bd_colour1={{0,0X2D7DB3,1},{0.5,0x2D7DB3,1}, {1,0x2D7DB3,1}},
    },
    
    {
    --ring 2 : memory
    name="memperc",
    arg="",
    max=100,
    xc=625,
    yc=850,
    radius=105,
    thickness=20,
    start_angle=-140,
    end_angle=140,
    sectors=40,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0XAB1852,1},{0.5,0xAB1852,1}, {1,0xAB1852,0}},
    fg_colour2={{0,0Xae0119,1},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0XAB1852,1},{0.5,0xAB1852,1}, {1,0xAB1852,1}},
    },

    {
    --ring 4-1 : download speed
    name="downspeedf",
    arg="eth0",
    max=700,
    xc=80,
    yc=880,
    radius=75,
    thickness=20,
    start_angle=-140,
    end_angle=140,
    sectors=40,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0Xdc1818,0},{0.5,0xdc1818,1}, {1,0xdc1818,0}},
    fg_colour2={{0,0Xae0119,0},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0Xdc1818,1},{0.5,0xdc1818,1}, {1,0xdc1818,1}},
    },    
    
    {
    --ring 4-2 : upload speed
    name="upspeedf",
    arg="eth0",
    max=200,
    xc=1180,
    yc=880,
    radius=75,
    thickness=20,
    start_angle=-140,
    end_angle=140,
    sectors=40,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0X2D7DB3,0},{0.5,0x2D7DB3,1}, {1,0x2D7DB3,0}},
    fg_colour2={{0,0Xae0119,0},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0X2D7DB3,1},{0.5,0x2D7DB3,1}, {1,0x2D7DB3,1}},
    },        

    {
    --ring 5-1 : file system usage for /home
    name="fs_used_perc",
    arg="/home",
    max=100,
    xc=398,
    yc=70,
    radius=40,
    thickness=20,
    start_angle=-180,
    end_angle=180,
    sectors=20,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0XFFFF00,0},{0.5,0xFFFF00,1}, {1,0xFFFF00,0}},
    fg_colour2={{0,0Xae0119,0},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0X00FF00,1},{0.5,0x00FF00,1}, {1,0x00FF00,1}},
    },        

    {
    --ring 5-2 : file system usage for /home
    name="fs_used_perc",
    arg="/media/serenity/",
    max=100,
    xc=255,
    yc=70,
    radius=36,
    thickness=20,
    start_angle=-180,
    end_angle=180,
    sectors=20,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0XFFFF00,0},{0.5,0xFFFF00,1}, {1,0xFFFF00,0}},
    fg_colour2={{0,0Xae0119,0},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0X00FF00,1},{0.5,0x00FF00,1}, {1,0x00FF00,1}},
    },        

    {
    --ring 5-3 : file system usage for /home
    name="fs_used_perc",
    arg="/media/dead space/",
    max=100,
    xc=581,
    yc=70,
    radius=37,
    thickness=20,
    start_angle=-180,
    end_angle=180,
    sectors=20,
    bg_colour1={{0,0x000000,1},{0.5,0x999999,1}, {1,0x000000,1}},
    fg_colour1={{0,0XFFFF00,0},{0.5,0xFFFF00,1}, {1,0xFFFF00,0}},
    fg_colour2={{0,0Xae0119,0},{0.5,0xae0119,1}, {1,0xae0119,0}},
    bd_colour1={{0,0X00FF00,1},{0.5,0x00FF00,1}, {1,0x00FF00,1}},
    },    
    
}
--END OF PARAMETERS HERE

--main function

    if conky_window==nil then return end

    local cs=cairo_xlib_surface_create(conky_window.display,
        conky_window.drawable, 
        conky_window.visual, conky_window.width, conky_window.height)
    cr=cairo_create(cs)

    if tonumber(conky_parse('${updates}'))>3 then
        for i in pairs(rings_settings) do
            draw_ring(rings_settings[i])
        end
    end

    cairo_destroy(cr)

end




function draw_ring(t)

    local function rgba_to_r_g_b_a(tcolour)
        colour,alpha=tcolour[2],tcolour[3]
        return ((colour / 0x10000) % 0x100) / 255., 
            ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
    end
            
            
    local function calc_delta(tcol1,tcol2)
        --calculate deltas P R G B A to table_colour 1

        for x = 1, #tcol1 do
            tcol1[x].dA    = 0
            tcol1[x].dP = 0
             tcol1[x].dR = 0
            tcol1[x].dG = 0
            tcol1[x].dB = 0
            if tcol2~=nil and #tcol1 == #tcol2 then
                local r1,g1,b1,a1 = rgba_to_r_g_b_a(tcol1[x])
                local r2,g2,b2,a2 = rgba_to_r_g_b_a(tcol2[x])
                tcol1[x].dP = (tcol2[x][1]-tcol1[x][1])/t.sectors
                 tcol1[x].dR = (r2-r1)/t.sectors
                tcol1[x].dG = (g2-g1)/t.sectors
                tcol1[x].dB = (b2-b1)/t.sectors
                tcol1[x].dA = (a2-a1)/t.sectors        
                
            end
        end
        
        return tcol1
    end

    --check values
    local function setup(t)
        if t.name==nil and t.arg==nil then 
            print ("No input values ... use parameters 'name'" +
                " with 'arg' or only parameter 'arg' ") 
            return
        end

        if t.max==nil then
            print ("No maximum value defined, use 'max'")
            print ("for name=" .. t.name)
            print ("with arg=" .. t.arg)
            return
        end
        if t.name==nil then t.name="" end
        if t.arg==nil then t.arg="" end

        if t.xc==nil then t.xc=conky_window.width/2 end
        if t.yc==nil then t.yc=conky_window.height/2 end
        if t.thickness ==nil then t.thickness = 10 end
        if t.radius ==nil then t.radius =conky_window.width/4 end
        if t.start_angle==nil then t.start_angle =0 end
        if t.end_angle==nil then t.end_angle=360 end
        if t.bg_colour1==nil then 
            t.bg_colour1={{0,0x00ffff,0.1},{0.5,0x00FFFF,0.5},{1,0x00FFFF,0.1}}
        end
        if t.fg_colour1==nil then
            t.fg_colour1={{0,0x00FF00,0.1},{0.5,0x00FF00,1},{1,0x00FF00,0.1}}
        end
        if t.bd_colour1==nil then
            t.bd_colour1={{0,0xFFFF00,0.5},{0.5,0xFFFF00,1},{1,0xFFFF00,0.5}}
        end
        if t.sectors==nil then t.sectors=10 end
        if t.gap_sectors==nil then t.gap_sectors=1 end 
        if t.fill_sector==nil then t.fill_sector=false end
        if t.sectors==1 then t.fill_sector=false end
        if t.border_size==nil then t.border_size=0 end
        if t.cap==nil then t.cap="p" end
        --some checks
        if t.thickness>t.radius then t.thickness=t.radius*0.1 end
        t.int_radius = t.radius-t.thickness

        --check colors tables 
        for i=1, #t.bg_colour1 do 
            if #t.bg_colour1[i]~=3 then t.bg_colour1[i]={1,0xFFFFFF,0.5} end
        end
        for i=1, #t.fg_colour1 do 
            if #t.fg_colour1[i]~=3 then t.fg_colour1[i]={1,0xFF0000,1} end
        end
        for i=1, #t.bd_colour1 do 
            if #t.bd_colour1[i]~=3 then t.bd_colour1[i]={1,0xFFFF00,1} end
        end
    
        if t.bg_colour2~=nil then
            for i=1, #t.bg_colour2 do 
                if #t.bg_colour2[i]~=3 then t.bg_colour2[i]={1,0xFFFFFF,0.5} end
            end
        end
        if t.fg_colour2~=nil then
            for i=1, #t.fg_colour2 do 
                if #t.fg_colour2[i]~=3 then t.fg_colour2[i]={1,0xFF0000,1} end
            end
        end
        if t.bd_colour2~=nil then
            for i=1, #t.bd_colour2 do 
                if #t.bd_colour2[i]~=3 then t.bd_colour2[i]={1,0xFFFF00,1} end
            end
        end     
        
        if t.start_angle>=t.end_angle then
         local tmp_angle=t.end_angle
         t.end_angle= t.start_angle
         t.start_angle = tmp_angle
         -- print ("inversed angles")
            if t.end_angle-t.start_angle>360 and t.start_angle>0 then
                t.end_angle=360+t.start_angle
                print ("reduce angles")
            end
        
            if t.end_angle+t.start_angle>360 and t.start_angle<=0 then
                t.end_angle=360+t.start_angle
                print ("reduce angles")
            end
        
            if t.int_radius<0 then t.int_radius =0 end
            if t.int_radius>t.radius then
                local tmp_radius=t.radius
                t.radius=t.int_radius
                t.int_radius=tmp_radius
                print ("inversed radius")
            end
            if t.int_radius==t.radius then
                t.int_radius=0
                print ("int radius set to 0")
            end 
        end
        
        t.fg_colour1 = calc_delta(t.fg_colour1,t.fg_colour2)
        t.bg_colour1 = calc_delta(t.bg_colour1,t.bg_colour2)
        t.bd_colour1 = calc_delta(t.bd_colour1,t.bd_colour2)
    end
    
    --initialize table
    setup(t)
    --[[grid
    h=conky_window.height
    w=conky_window.width
    cairo_set_source_rgba(cr,1,1,1,1)
    cairo_set_line_width(cr,0.5)
    cairo_move_to(cr,0,t.yc)
    cairo_line_to(cr,w,t.yc)
    cairo_stroke(cr)
    cairo_move_to(cr,t.xc,0)
    cairo_line_to(cr,t.xc,h)
    cairo_stroke(cr)
    cairo_move_to(cr,t.xc,t.yc)
    cairo_line_to(cr,t.xc+200*math.sin(math.pi/4),t.yc-200*math.cos(math.pi/4))
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.radius)
    cairo_line_to(cr,w,t.yc-t.radius)
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.int_radius)
    cairo_line_to(cr,w,t.yc-t.int_radius)
    cairo_stroke(cr)
    cairo_move_to(cr,0,t.yc-t.gap_sectors)
    cairo_line_to(cr,w,t.yc-t.gap_sectors)
    cairo_stroke(cr)
    cairo_set_source_rgba(cr,1,0,0,0.5)
    cairo_arc(cr,t.xc,t.yc,t.radius,0,2*math.pi)
    cairo_stroke(cr)
    cairo_arc(cr,t.xc,t.yc,t.int_radius,0,2*math.pi)    
    cairo_stroke(cr)    
    cairo_set_source_rgba(cr,0,1,0,1)    
    cairo_move_to(cr,t.xc+t.gap_sectors,t.yc-t.gap_sectors)
    cairo_line_to(cr,t.xc+400*math.sin(math.pi/4),t.yc-400*math.cos(math.pi/4))
    cairo_stroke(cr)
    --END GRID
    ]]
    
    --initialize cairo context
    cairo_save(cr)
    cairo_translate(cr,t.xc,t.yc)
    cairo_set_line_join (cr, CAIRO_LINE_JOIN_ROUND)
    cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND)

    --get value
    local value = 0
    if t.name ~="" then
        value = tonumber(conky_parse(string.format('${%s %s}', t.name, t.arg)))
    else
        value = tonumber(t.arg)
    end
    if value==nil then value =0 end

    --initialize sectors
    --angle of a sector :
    angleA = ((t.end_angle-t.start_angle)/t.sectors)*math.pi/180
    --value of a sector : 
    valueA = t.max/t.sectors
    --first angle of a sector : 
    lastAngle = t.start_angle*math.pi/180


    local function draw_sector(type_arc,angle0,angle,valpc, idx)
     
        --this function draws a portion of arc
         --type of arc, angle0 = strating angle, angle= angle of sector,
         --valpc = percentage inside the sector, idx = sctor number #
         if type_arc=="bg" then         --background
             if valpc==1 then return end
             tcolor=t.bg_colour1
         elseif type_arc=="fg" then    --foreground
             if valpc==0 then return end
             tcolor=t.fg_colour1
         elseif type_arc=="bd" then    --border
             tcolor=t.bd_colour1
         end 

        --angles equivalents to gap_sector
        local ext_delta=math.atan(t.gap_sectors/(2*t.radius))
        local int_delta=math.atan(t.gap_sectors/(2*t.int_radius))

        --angles of arcs
        local ext_angle=(angle-ext_delta*2)*valpc
        local int_angle=(angle-int_delta*2)*valpc

        --define colours to use for this sector
        if #tcolor==1 then 
            --plain color
            local vR,vG,vB,vA = rgba_to_r_g_b_a(tcolor[1])
            cairo_set_source_rgba(cr,vR+tcolor[1].dR*idx,
                                    vG+tcolor[1].dG*idx,
                                    vB+tcolor[1].dB*idx,
                                    vA+tcolor[1].dA*idx    )
        else
            --radient color
            local pat=cairo_pattern_create_radial(0,0,t.int_radius,0,0,t.radius)
            for i=1, #tcolor do
                local vP,vR,vG,vB,vA = tcolor[i][1], rgba_to_r_g_b_a(tcolor[i])
                cairo_pattern_add_color_stop_rgba (pat, 
                                    vP+tcolor[i].dP*idx,
                                    vR+tcolor[i].dR*idx,
                                    vG+tcolor[i].dG*idx,
                                    vB+tcolor[i].dB*idx,
                                    vA+tcolor[i].dA*idx    )
            end
            cairo_set_source (cr, pat)
            cairo_pattern_destroy(pat)
        end

        --start drawing
         cairo_save(cr)
        --x axis is parrallel to start of sector
        cairo_rotate(cr,angle0-math.pi/2)

        local ri,re = t.int_radius ,t.radius

        --point A 
        local angle_a
    
        if t.cap == "p" then 
            angle_a = int_delta
            if t.inverse_arc and type_arc ~="bg" then
                angle_a = angle-int_angle-int_delta
            end
            if not(t.inverse_arc) and type_arc =="bg" then
                angle_a = int_delta+int_angle
            end
        else --t.cap=="r"
            angle_a = ext_delta
            if t.inverse_arc and type_arc~="bg" then
                angle_a = angle-ext_angle-ext_delta
            end
            if not(t.inverse_arc) and type_arc=="bg" then
                angle_a = ext_delta+ext_angle
            end
        end
        local ax,ay = ri*math.cos(angle_a),ri*math.sin(angle_a)


        --point B
        local angle_b = ext_delta
        if t.cap == "p" then 
            if t.inverse_arc and type_arc ~="bg" then
                angle_b = angle-ext_angle-ext_delta
            end
            if not(t.inverse_arc) and type_arc=="bg" then
                angle_b = ext_delta+ext_angle
            end
        else
            if t.inverse_arc and type_arc ~="bg" then
                angle_b = angle-ext_angle-ext_delta
            end
            if not(t.inverse_arc) and type_arc=="bg" then
                angle_b = ext_delta+ext_angle
            end
        end
        local bx,by = re*math.cos(angle_b),re*math.sin(angle_b)

        -- EXTERNAL ARC B --> C
        if t.inverse_arc then
            if type_arc=="bg" then
                b0,b1= ext_delta, angle-ext_delta-ext_angle
            else
                b0,b1= angle-ext_angle-ext_delta, angle-ext_delta
            end
        else
            if type_arc=="bg" then
                b0,b1= ext_delta+ext_angle, angle-ext_delta
            else
                b0,b1= ext_delta, ext_angle+ext_delta
            end
        end
        
        ---POINT D
        local angle_c 
        if t.cap == "p" then 
            angle_d = angle-int_delta
            if t.inverse_arc and type_arc=="bg" then
                angle_d = angle-int_delta-int_angle    
            end
            if not(t.inverse_arc) and type_arc~="bg" then
                angle_d=int_delta+int_angle
            end
        else
            angle_d = angle-ext_delta
            if t.inverse_arc and type_arc=="bg" then
                angle_d =angle-ext_delta-ext_angle
            end
            if not(t.inverse_arc) and type_arc~="bg" then
                angle_d = ext_angle+ext_delta
            end
        end
        local dx,dy = ri*math.cos(angle_d),ri*math.sin(angle_d)
        
        -- INTERNAL ARC D --> A
        if t.cap=="p" then    
            if t.inverse_arc then    
                if type_arc=="bg" then
                    d0,d1= angle-int_delta-int_angle,int_delta
                else
                    d0,d1= angle-int_delta, angle- int_angle-int_delta
                end
            else
                if type_arc=="bg" then
                    d0,d1= angle-int_delta, int_delta+int_angle
                else
                    d0,d1= int_delta+int_angle, int_delta
                end
            end
        else
            if t.inverse_arc then    
                if type_arc=="bg" then    
                    d0,d1= angle-ext_delta-ext_angle,ext_delta
                else
                    d0,d1= angle-ext_delta, angle- ext_angle-ext_delta
                end
            else
                if type_arc=="bg" then    
                    d0,d1= angle-ext_delta,ext_delta+ext_angle
                else    
                    d0,d1= ext_angle+ext_delta, ext_delta
                end
            end            
        end
            
        --draw sector
        cairo_move_to(cr,ax,ay)
        cairo_line_to(cr,bx,by)
        cairo_arc(cr,0,0,re,b0,b1)
        cairo_line_to(cr,dx,dy) 
        cairo_arc_negative(cr,0,0,ri,d0,d1)
         cairo_close_path (cr);

        --stroke or fill sector
         if type_arc=="bd" then
             cairo_set_line_width(cr,t.border_size)
             cairo_stroke(cr)
         else
             cairo_fill(cr)
         end

         cairo_restore(cr)

     end
    --draw sectors
    local n0,n1,n2 = 1,t.sectors,1
    if t.inverse_arc then n0,n1,n2 = t.sectors,1,-1 end
    local index = 0
    for i = n0,n1,n2 do 
        index = index +1
        local valueZ=1
        local cstA, cstB = (i-1),i
        if t.inverse_arc then cstA,cstB = (t.sectors-i), (t.sectors-i+1) end
        
        if value>valueA *cstA and value<valueA*cstB then
            if not t.fill_sector then
                valueZ = (value-valueA*cstA)/valueA
            end
        else
            if value<valueA*cstB then valueZ=0 end
        end
        
        local start_angle= lastAngle+(i-1)*angleA
        if t.foreground ~= false then 
            draw_sector("fg",start_angle,angleA,valueZ, index)
        end
        if t.background ~= false then 
            draw_sector("bg",start_angle,angleA,valueZ, i)
        end
        if t.border_size>0 then draw_sector("bd",start_angle,angleA,1, i) end
    end

    cairo_restore(cr)
end


--[[END OF RING-SECTORS WIDGET]]


function axis(ctx,alpha)
    cairo_set_line_width(ctx,1)
    cairo_set_source_rgba(ctx,1,0,0,alpha)
    cairo_move_to(ctx,0,0)
    cairo_line_to(ctx,150,0)
    cairo_stroke(ctx)
    cairo_set_source_rgba(ctx,0,1,0,alpha)
    cairo_move_to(ctx,0,0)
    cairo_line_to(ctx,0,150)
    cairo_stroke(ctx)
end    

je remercie Esgaroth sur le site de Samurize pour l'inspiration
ainsi qu'a gimp pour ces outils trés utile XD

Dernière modification par maestroom (Le 29/10/2010, à 00:38)


CM: Asus Maximus extreme VI/ cpu: intel Core I7-4770 /carte graphique: nvidia GTX 760 /os: Ubuntu gnome-shell 14.04 "" 64 bits avec dual boot windows 8.1 64bit

Hors ligne

#3249 Le 30/10/2010, à 19:21

Fenouille84

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

Salut tout le monde !!

Voici mon nouveau conky : Tribute to Portal !! ^^
Rien de bien innovant, je voulais juste tester ce script ajoutant un background.

Screen :
obportal.th.png

conkyrc0 (barre supérieure)

#Fonctionnement de conky 
  total_run_times 0            #Temps en secondes ; 0 = toujours actif
  background yes                #Pour que conky tourne en arrière plan ; no = pour les tests

#Réglages système
  cpu_avg_samples 1            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU
  net_avg_samples 2            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU

#Mémoire
  double_buffer yes            #Éviter le clignotement
  no_buffers yes                #Soustraire les mémoires tampons de la mémoire utilisée
  text_buffer_size 1024            #Taille du cache pour le texte

#Affichage
  out_to_console no            #Affiche le texte sur la sortie standard
  update_interval 1            #Taux de rafraîchissement de la fenêtre (s)

#Fenêtre conky
  alignment top_left            #Alignement
 #---
  minimum_size 1134 10            #Taille minimum (px) ; largeur / hauteur
  maximum_width 1134            #Largeur maximum (px)
 #---
  gap_x 93                    #Écart avec le bord gauche / droit
  gap_y 10                    #Écart avec le bord haut / bas
 #---
  draw_shades no                #Afficher les ombres
  draw_outline no                #Afficher les contours de fenêtre
  draw_borders no                #Afficher des contours autour des blocs de texte
  border_width 1                #Largeur du contour
  border_inner_margin 1            #Largeur des marges
 #---
  own_window yes                #Utiliser sa propre fenêtre
  own_window_type override         #Type de fenêtre ; normal / override / desktop
  own_window_transparent yes        #Pseudo transparence

#Mise en forme
  use_xft yes                #Utiliser Xft (polices lissées etc)
  xftalpha .1                #Utiliser Xft
  override_utf8_locale yes         #Force l'UTF8
  uppercase no                #Tout le texte en majuscule
  use_spacer right            #Ajoute des espaces après certains objets (qu'avec des polices fixes)
 #---
  xftfont saxMono:size=9         #Police par défaut
 #---
  default_bar_size 30 3            #Barre par défaut (longeur hauteur)
  stippled_borders 5            #Taille des pointillés

#Couleurs
  default_color FFFFFF             #Couleur par défaut
  default_shade_color 333333        #Couleur des ombres
  default_outline_color black        #Couleur des contours
 #---
  color1 404040                #Gris foncé
  color2 DDDDDD                #Gris clair
 #---
  short_units yes                #Unités courtes
  pad_percents 2                #Unité à 2 décimales

#Prise en charge du LUA
  lua_load ~/conky/Script/bg.lua
  lua_draw_hook_pre draw_bg


TEXT
${color1}${voffset -1}${alignc}Krnl:${exec uname -r | cut -c 1-9} | CPU:${cpu cpu}% | Ram:${memperc}% | Swap:${swapperc}% | ${if_existing /proc/net/route wlan0}${execpi 180 $HOME/Script/wifi_crous}${else}${if_existing /proc/net/route eth0}UL:${totalup eth0} | DL:${totaldown eth0}${else}UL:empty | DL:empty${endif}${endif} | /r:${fs_free /} | /h:${fs_free /home} | /t:${exec du -hs /home/math/.local/share/Trash/ | cut -d "    " -f1} | Lexar:${if_mounted /media/LEXAR}${fs_free /media/LEXAR}${else}empty${endif} | Linux:${if_mounted /media/Linux}${fs_free /media/Linux}${else}empty${endif} | LaCie:${if_mounted /media/LaCie_PC}${fs_free /media/LaCie_PC}${else}empty${endif} | Up:${uptime_short}${voffset -2}

conkyrc1 (heure)

#Fonctionnement de conky 
  total_run_times 0            #Temps en secondes ; 0 = toujours actif
  background yes                #Pour que conky tourne en arrière plan ; no = pour les tests

#Réglages système
  cpu_avg_samples 1            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU
  net_avg_samples 2            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU

#Mémoire
  double_buffer yes            #Éviter le clignotement
  no_buffers yes                #Soustraire les mémoires tampons de la mémoire utilisée
  text_buffer_size 1024            #Taille du cache pour le texte

#Affichage
  out_to_console no            #Affiche le texte sur la sortie standard
  update_interval 1            #Taux de rafraîchissement de la fenêtre (s)

#Fenêtre conky
  alignment top_left            #Alignement
 #---
  minimum_size 65 10            #Taille minimum (px) ; largeur / hauteur
  maximum_width 65            #Largeur maximum (px)
 #---
  gap_x 10                    #Écart avec le bord gauche / droit
  gap_y 10                    #Écart avec le bord haut / bas
 #---
  draw_shades no                #Afficher les ombres
  draw_outline no                #Afficher les contours de fenêtre
  draw_borders no                #Afficher des contours autour des blocs de texte
  border_width 1                #Largeur du contour
  border_inner_margin 1            #Largeur des marges
 #---
  own_window yes                #Utiliser sa propre fenêtre
  own_window_type override         #Type de fenêtre ; normal / override / desktop
  own_window_transparent yes        #Pseudo transparence

#Mise en forme
  use_xft yes                #Utiliser Xft (polices lissées etc)
  xftalpha .1                #Utiliser Xft
  override_utf8_locale yes         #Force l'UTF8
  uppercase no                #Tout le texte en majuscule
  use_spacer right            #Ajoute des espaces après certains objets (qu'avec des polices fixes)
 #---
  xftfont saxMono:size=9         #Police par défaut
 #---
  default_bar_size 30 3            #Barre par défaut (longeur hauteur)
  stippled_borders 5            #Taille des pointillés

#Couleurs
  default_color FFFFFF             #Couleur par défaut
  default_shade_color 333333        #Couleur des ombres
  default_outline_color black        #Couleur des contours
 #---
  color1 404040                #Gris foncé
  color2 DDDDDD                #Gris clair
 #---
  short_units yes                #Unités courtes
  pad_percents 2                #Unité à 2 décimales

#Prise en charge du LUA
  lua_load ~/conky/Script/bg.lua
  lua_draw_hook_pre draw_bg


TEXT
${color1}${offset 2}${font oloron tryout:size=18}${time %M}${font}
${offset 3}${voffset -5}${cpugraph cpu6 0,58}
${voffset -15}${font oloron tryout:size=40}${time %H}${font}
${offset 3}${voffset -6}${cpugraph cpu6 0,58}${voffset -8}
${offset 34}${font oloron tryout:size=18}${time %S}${font}${voffset -28}

conkyrc2 (date)

#Fonctionnement de conky 
  total_run_times 0            #Temps en secondes ; 0 = toujours actif
  background yes                #Pour que conky tourne en arrière plan ; no = pour les tests

#Réglages système
  cpu_avg_samples 1            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU
  net_avg_samples 2            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU

#Mémoire
  double_buffer yes            #Éviter le clignotement
  no_buffers yes                #Soustraire les mémoires tampons de la mémoire utilisée
  text_buffer_size 1024            #Taille du cache pour le texte

#Affichage
  out_to_console no            #Affiche le texte sur la sortie standard
  update_interval 1            #Taux de rafraîchissement de la fenêtre (s)

#Fenêtre conky
  alignment top_left            #Alignement
 #---
  minimum_size 65 10            #Taille minimum (px) ; largeur / hauteur
  maximum_width 65            #Largeur maximum (px)
 #---
  gap_x 10                    #Écart avec le bord gauche / droit
  gap_y 108                    #Écart avec le bord haut / bas
 #---
  draw_shades no                #Afficher les ombres
  draw_outline no                #Afficher les contours de fenêtre
  draw_borders no                #Afficher des contours autour des blocs de texte
  border_width 1                #Largeur du contour
  border_inner_margin 1            #Largeur des marges
 #---
  own_window yes                #Utiliser sa propre fenêtre
  own_window_type override         #Type de fenêtre ; normal / override / desktop
  own_window_transparent yes        #Pseudo transparence

#Mise en forme
  use_xft yes                #Utiliser Xft (polices lissées etc)
  xftalpha .1                #Utiliser Xft
  override_utf8_locale yes         #Force l'UTF8
  uppercase no                #Tout le texte en majuscule
  use_spacer right            #Ajoute des espaces après certains objets (qu'avec des polices fixes)
 #---
  xftfont saxMono:size=9         #Police par défaut
 #---
  default_bar_size 30 3            #Barre par défaut (longeur hauteur)
  stippled_borders 5            #Taille des pointillés

#Couleurs
  default_color FFFFFF             #Couleur par défaut
  default_shade_color 333333        #Couleur des ombres
  default_outline_color black        #Couleur des contours
 #---
  color1 404040                #Gris foncé
  color2 DDDDDD                #Gris clair
 #---
  short_units yes                #Unités courtes
  pad_percents 2                #Unité à 2 décimales

#Prise en charge du LUA
  lua_load ~/conky/Script/bg.lua
  lua_draw_hook_pre draw_bg


TEXT
${color1}${offset 2}${font oloron tryout:size=18}${time %d}${font}
${offset 3}${voffset -5}${cpugraph cpu6 0,58}
${voffset -15}${font oloron tryout:size=40}${time %m}${font}
${offset 3}${voffset -6}${cpugraph cpu6 0,58}${voffset -8}
${offset 34}${font oloron tryout:size=18}${time %y}${font}${voffset -28}

conkyrc3 (calendrier et todolist)

#Fonctionnement de conky 
  total_run_times 0            #Temps en secondes ; 0 = toujours actif
  background yes                #Pour que conky tourne en arrière plan ; no = pour les tests

#Réglages système
  cpu_avg_samples 1            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU
  net_avg_samples 2            #Nb d'échantillons pour calculer la moyenne d'utilisation CPU

#Mémoire
  double_buffer yes            #Éviter le clignotement
  no_buffers yes                #Soustraire les mémoires tampons de la mémoire utilisée
  text_buffer_size 1024            #Taille du cache pour le texte

#Affichage
  out_to_console no            #Affiche le texte sur la sortie standard
  update_interval 1            #Taux de rafraîchissement de la fenêtre (s)

#Fenêtre conky
  alignment top_right            #Alignement
 #---
  minimum_size 185 10            #Taille minimum (px) ; largeur / hauteur
  maximum_width 185            #Largeur maximum (px)
 #---
  gap_x 10                    #Écart avec le bord gauche / droit
  gap_y 10                    #Écart avec le bord haut / bas
 #---
  draw_shades no                #Afficher les ombres
  draw_outline no                #Afficher les contours de fenêtre
  draw_borders no                #Afficher des contours autour des blocs de texte
  border_width 1                #Largeur du contour
  border_inner_margin 1            #Largeur des marges
 #---
  own_window yes                #Utiliser sa propre fenêtre
  own_window_type override         #Type de fenêtre ; normal / override / desktop
  own_window_transparent yes        #Pseudo transparence

#Mise en forme
  use_xft yes                #Utiliser Xft (polices lissées etc)
  xftalpha .1                #Utiliser Xft
  override_utf8_locale yes         #Force l'UTF8
  uppercase no                #Tout le texte en majuscule
  use_spacer right            #Ajoute des espaces après certains objets (qu'avec des polices fixes)
 #---
  xftfont saxMono:size=9         #Police par défaut
 #---
  default_bar_size 110 3        #Barre par défaut (longeur hauteur)
  stippled_borders 5            #Taille des pointillés

#Couleurs
  default_color FFFFFF             #Couleur par défaut
  default_shade_color 333333        #Couleur des ombres
  default_outline_color black        #Couleur des contours
 #---
  color1 404040                #Gris foncé
  color2 DDDDDD                #Gris clair
 #---
  short_units yes                #Unités courtes
  pad_percents 2                #Unité à 2 décimales

#Prise en charge du LUA
  lua_load ~/conky/Script/bg.lua
  lua_draw_hook_pre draw_bg


TEXT
${color1}${font Oloron tryout:size=18}${alignc}${exec sed '/CODE/!d ; s/^.*=//g ; s/^.\| [a-z]/\U&/g' /etc/lsb-release} Inside${font}
${hr}${voffset 5}
#
${execp cal | sed 's/^/ /g ; s/$/ /g ; 1d ; s/'" $(date +%e)"'/\${color2}'" $(date +%e)"'\${color1}/1 ; s/^/\${goto 20}/g'}
${voffset -10}${hr}${voffset 5}
#
${if_match ${exec wc -l < $HOME/Ubuntu/ToDo/ToDo} > 0}${exec sed '/^$/d ; /#/d ; s/^/ /g' $HOME/Ubuntu/ToDo/ToDo | fold -sw 26}${else} Nothing to do${endif}
${hr}${voffset 5}
#
${if_match ${exec wc -l < $HOME/Ubuntu/ToDo/Cal} > 0}${exec sed '/^$/d ; /#/d ; s/^/ /g' $HOME/Ubuntu/ToDo/Cal | fold -sw 26}${else} No event planned${endif}

Et voilà smile

Si vous trouvez que mes conky forment un cadre, c'est bien vu wink
C'est la place réservée pour mes fenêtres ; comme sa, je garde un œil sur les 2 !

Pour le wall, c'est par ici.


Ma page Deviant Art : conky inside ;-)
.
-- DropBox (online backup) : 2Go + 250 Mo pour vous et moi par parrainage --

Hors ligne

#3250 Le 30/10/2010, à 23:57

wlourf

Re : (3) Conky : Postez vos conkyrc ou certaines parties intéressantes

@maestroom : un peu chargé ton bureau je trouve mais j'aime bien les anneaux, pas trop durs à configurer ?

@Fenouille84 : ça y est! tu te mets à Lua, bravo ! Sinon , le site http://conky-pitstop.wikidot.com/ où tu as trouvé ton script est en cours de traduction en français (en plus de l'allemand et de l'espagnol). Pas mal d'articles publiés ont déjà été traduits par arpinux lorsque ces articles étaient encore sur le site "Conky Hardcore". Pour l'instant, je remets un peu tout en ordre et ajoute de nouvelles traductions, si certains d'entre vous souhaitent participer aux traductions, envoyez moi un MP smile

Hors ligne