Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#1 Le 26/02/2007, à 23:09

ferreol

Conky : Postez vos conkyrc ou certaines parties intéressantes

Vu les immenses possibilités de conky , calendrier, flux RSS, meteo, Mail, amarok citations et monitoring
Il serait intéressant que les gens sur ce forum postent leurs conkyrc ou des parties en expliquant la fonction et en postant  le ou les scripts associés.

Je commence donc  meme si mes deux conky n'ont rien de spécial mais justement j'aimerai pauffiné voire pomper et m'inspirer de celui d'un autre c'est cela le libre non.

Conkyrc afficher un calendrier rajoutter ceci dans TEXT dans le .conkyrc:

${exec  cal $(date +'%b %Y' --date '1 month')}

Mon .conkyrc tres simple le minimum d'info possible:

${font arialblack:size=5:bold}${color #2E313F}CPU${color #838383}${alignr}$freq_g GHz ${color black} / ${color #838383}$cpu%
${color #2E313F}RAM:${color #838383}${alignr}$mem ${color black} / ${color #838383}$memperc%
$color$stippled_hr
${color #2E313F}File systems:
${color #2E313F}/     ${alignr}${color #838383}${fs_used /}${color black} / ${color #838383}${fs_size /}
${color #2E313F}stuff  ${alignr}${color #838383}${fs_used /media/stuff}${color black} / ${color #838383}${fs_size /media/stuff}
${color #2E313F}Windows   ${alignr}${color #838383}${fs_used /media/win}${color black} / ${color #838383}${fs_size /media/win}

Pour amarok c'est dans le wiki mais chez moi cela buggé s'il n'y avait que amarok dans mon .conkyrc

J'attends les votres ok

Dernière modification par ferreol (Le 26/02/2007, à 23:10)

Hors ligne

#2 Le 01/03/2007, à 14:12

Diti

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

Je fais remonter ce post, qui peut devenir à terme très intéressant.
Je suggère que chacun poste une capture de son Conky, pour que l'on puisse voir le résultat du .conkyrc

Merci smile

Hors ligne

#3 Le 02/03/2007, à 12:29

ferreol

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

apparement bcp postent leur conkyrc dans le sujet a quoi ressemble votre environnement

Hors ligne

#4 Le 02/03/2007, à 14:33

Diti

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

Mais environ 300 pages à lire, avec du flood (je me suis arrêté à la 35), non merci.

Hors ligne

#5 Le 03/03/2007, à 11:01

Michel38

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

Bonjour,
Ma contribution
50763e89e0af0563fbe4957a5c3ct.jpg

use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##own_window_hints undecorated,below,skip_taskbar
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 0
border_width 0
default_color white
default_shade_color black
default_outline_color black
alignment top-right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
min_port_monitors            0
min_port_monitor_connections        0

TEXT

${color white}Bonjour Michel
${time %A %d %B %Y} - ${time %H:%M:%S}
IP Locale ${addr eth0} - IP Publique ${execi 1800 ~/Perso/monip.sh}
$sysname $kernel sur $machine $freq_g GHz
${color #040404}$stippled_hr
${color white}Uptime:$color $uptime ${color white}- Load:$color $loadavg
${color white}CPU Usage:${color white} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color white}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color white}Processes:$color $processes ${color white}Running:$color $running_processes
${color #040404}$stippled_hr
${color white}Reseau
Down:${color white} ${downspeed eth0} k/s${color white} ${offset 80}Up:${color white} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
${color #040404}$stippled_hr
${color #FFFF00}/root    ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
/home   ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /home}%
${fs_bar 8 /home}
/hdb1  ${fs_used /media/disque2}/${fs_size /media/disque2}${alignr}${fs_used_perc /media/disque2}%
${fs_bar 8 /media/disque2}
${color #040404}$stippled_hr
${color black}Process            PID    %CPU   %MEM
${color yellow} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color black}Memoire
${color yellow} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color white} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color white} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color white} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color white} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color #040404}$stippled_hr
${color white}Temperature systeme
${color yellow}M/B: ${exec expr `cat /sys/bus/i2c/devices/0-004c/temp1_input` / 1000} C  
${color green}CPU: ${exec expr `cat /sys/bus/i2c/devices/0-004c/temp2_input` / 1000} C
${color #040404}$stippled_hr
${color black}Port(s) ouvert(s): ${color black}${tcp_portmon 1 65535 count}
${color white} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
${tcp_portmon 1 65535 rhost 6} $alignr${tcp_portmon 1 65535 lservice 6}
${tcp_portmon 1 65535 rhost 7} $alignr${tcp_portmon 1 65535 lservice 7}
${tcp_portmon 1 65535 rhost 8} $alignr${tcp_portmon 1 65535 lservice 8}
${tcp_portmon 1 65535 rhost 9} $alignr${tcp_portmon 1 65535 lservice 9}
${tcp_portmon 1 65535 rhost 10} $alignr${tcp_portmon 1 65535 lservice 10}
${color #040404}$stippled_hr

Dernière modification par Michel38 (Le 11/03/2007, à 09:25)


Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#6 Le 10/03/2007, à 21:05

adam0509

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

Screenshot + contenu du conkyrc dans une balise "Code" svp pour le reste du topic !!

Dernière modification par adam0509 (Le 10/03/2007, à 21:05)


PIII 533Mhz - 192Mo RAM - Geforce DDR - Win98SE/Xubuntu Feisty
AthlonXP2500+ - 512Mo DDR - ATI9600XT - WinXPSP2/Ubuntu Feisty
Dell Ubuntu - Dual Core - 1024Mo -...carte graphique à chier !!! (Intel 950)

Hors ligne

#7 Le 10/03/2007, à 22:00

clem-vangelis

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

hop ma petite contribution :
deskpetit.jpg
http://vangelis1.free.fr/upload/desk.jpg

le conkyrc et les script de température ici :
http://vangelis1.free.fr/upload/conky.zip

Hors ligne

#8 Le 11/03/2007, à 00:07

Astier

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

Bonsoir,

Voici une capture :
4045425fbb217f12b65469f334f7t.jpg

L'horloge c'est pas lié à conky c'est xtu, mais c'est ce qui explique les sauts de ligne.

Voici mon .conky :

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

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 8x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
#font -*-luxi sans-medium-r-normal-*-13-*-*-*-*-*-iso8859-2
#font -*-helvetica-medium-r-normal-*-12-*-100-100-*-*-iso8859-2
#font -*-lucidatypewriter-medium-r-*-*-14-*-100-100-*-*-iso8895-2
#font -*-courier-medium-r-normal-*-14-*-100-100-*-*-iso8859-2
#font -*-lucida-medium-r-normal-*-13-*-*-*-*-*-iso8859-2

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont monospace-8
xftfont Sans -8.5



# Text alpha when using Xft
xftalpha 0.8


# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

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

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

# Minimum size of text area
minimum_size 5 5
maximum_width 215

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 0

# drawn 1 pixel border around graphs or not
draw_graph_borders no

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color 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

gap_x 5
gap_y 5 #margines gorny

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

# Subtract file system buffers from used memory?
no_buffers yes

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

# boinc (seti) dir
# seti_dir /opt/seti

TEXT
${font Verdana:size=11}$alignc${color #DBAA82}${Time %A %d %B %Y} 
$alignc${color #FFFB00}${time %H:%M:%S}${font Sans:size=8.5}









${color #FF000C}Moniteur Systeme : ${color #565868}${stippled_hr}
${color #DBAA82}$sysname : ${color #565868}$kernel ${color #DBAA82}on ${color #565868}$machine
${color #DBAA82}Uptime : ${color #B6A291}$uptime | ${color #DBAA82}Temp : ${color #B6A291}${acpitemp}°C

${color #DBAA82}Adaptateur : ${color #FFFB00}${acpiacadapter}
${color #DBAA82}Autonomie batterie : ${color #FFFB00}${battery BAT1}

${color #DBAA82}cpu: ${color #FFFB00}${cpu}% ${color #344299}$cpubar
${color #FFFFFF}${cpugraph DBAA82 344299}
${color #DBAA82}ram : ${color #3652FF}$mem ${color #DBAA82}/ $memmax - ${color #FFFB00}$memperc% ${color #344299}$membar
${color #DBAA82}swap : ${color #3652FF}$swap ${color #DBAA82}/ $swapmax - ${color #FFFB00}$swapperc% ${color #344299}$swapbar

${color #FFFB00}.: ${top name 1}
${color #DBAA82}PID: ${color #FFFB00}${top pid 1} ${color #DBAA82}%cpu : ${color #FFFB00}${top cpu 1}
${color #565868}.: ${top name 2}
${color #DBAA82}PID: ${color #3652FF}${top pid 2} ${color #DBAA82}%cpu : ${color #344299}${top cpu 2}
${color #565868}.: ${top name 3}
${color #DBAA82}PID: ${color #3652FF}${top pid 3} ${color #DBAA82}%cpu : ${color #344299}${top cpu 3} 
${color #565868}.: ${top name 4}
${color #DBAA82}PID: ${color #3652FF}${top pid 4} ${color #DBAA82}%cpu : ${color #344299}${top cpu 4}
${color #565868}.: ${top name 5}
${color #DBAA82}PID: ${color #3652FF}${top pid 5} ${color #DBAA82}%cpu : ${color #344299}${top cpu 5}

${color #FF000C}Disques : ${color #565868}${stippled_hr}
${color #DBAA82}root : ${color #3652FF}${fs_used /} ${color #DBAA82}/ ${fs_size /} (${color #FFFB00}${fs_free_perc /}% ${color #DBAA82}libre)
${color #344299}${fs_bar /}

${color #DBAA82}home : ${color #3652FF}${fs_used /home} ${color #DBAA82}/ ${fs_size /home} (${color #FFFB00}${fs_free_perc /home}% ${color #DBAA82}libre)
${color #344299}${fs_bar /home}

${color #FF000C}Réseau : ${color #565868}${stippled_hr}
${color #DBAA82}down: ${color #FFFB00}${downspeedf eth1} k/s        ${color #DBAA82}up: ${color #FFFB00}${upspeedf eth1} k/s
${color #FFFFFF}${downspeedgraph eth1 25,100 DBAA82 344299}    ${color #FFFFFF}${upspeedgraph eth1 25,100 344299 DBAA82}

$alignc${color #FFFB00}${mpd_title}
$alignc${color #DBAA82}${mpd_artist}
$alignc${color #DBAA82}${mpd_album}
$alignc${color #DBAA82}${mpd_elapsed} / ${mpd_length} (${mpd_percent}%)
${color #3652FF}${mpd_bar (20),(100)}

Voilà en espérant que ça serve smile

Hors ligne

#9 Le 11/03/2007, à 20:17

fanatux

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

N'y aurai -t-il pas moyen de recupérer une liste de réso wifi par wifi radar ou autre et lui faire afficher? ce srai cool pr les gens ki bougent svnt!!
Comment on met la météo?
Peut on afficher la consommation electrik de l'ordi?

Pb: La temperature c en celsius ou en fareneit? il mindik 67 yikes:o:o jtrouve sa un peu enorme, et c'est vrai kmon pc chauffe vachement...

Dernière modification par fanatux (Le 12/03/2007, à 22:09)


HM lar's Ubuntu
-------------------------------------------------------------
Jamendo: Portail de musique libre // hooseek Pour un internet solidaire

Hors ligne

#10 Le 13/03/2007, à 13:04

hells_dark

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

Salut à tous !

1) Screenshot

6e4605b26d9033352c4257948071t.jpg

2) ~/.conkyrc

background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no
use_xft no
update_interval 1

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated, below


double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1

default_color grey
default_shade_color grey
default_outline_color black

gap_x 3
gap_y 600
alignment top_left

use_spacer no
no_buffers yes
uppercase no


TEXT
[$nodename - $sysname $kernel on $machine]
   |
   +--status
   |    |
   |    +--cpu1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000  000000}
   |    +--cpu2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000  000000}
   |    +--ram - $mem/$memmax - $memperc%
   |    +--date - ${time %a,} ${time %e %m %G}
   |    +--time -${time %l:%M}
   |    +--uptime - $uptime
   |    +--processes
   |        |
   |        +--amount - $processes
   |        +--running - $running_processes
   |
   +--net
   |    |
   |    +--down - ${downspeed eth3} k/s ${downspeedgraph eth3 8,60 000000 000000}
   |    +--up - ${upspeed eth3} k/s ${upspeedgraph eth3 8,60 000000 000000}
   |
   +--resources
   |    |
   |    +--/ - ${fs_free /}/${fs_size /}
   |    +--/data - ${fs_free /mnt/data}/${fs_size /mnt/data}
   |    +--swap - $swap/$swapmax
   |
   +--music
       |
       +--Artist:   ${execi 10 ~/.conky/quodlibet artist}
       +--Title:    ${execi 10 ~/.conky/quodlibet title}

3) ~/.conky/quodlibet

if (test -a ~/.quodlibet/current); then

case "$1" in
# Now Playing Info
artist) cat ~/.quodlibet/current | grep artist | cut -d "=" -f2 ;;
title) cat ~/.quodlibet/current | grep title | cut -d "=" -f2  ;;
album) cat ~/.quodlibet/current | grep album | cut -d "=" -f2  ;;
esac
 
else

case $1 in
artist) echo none  ;;
title) echo none  ;;
album) echo none  ;;
esac

fi

Voilà smile

J'aime beaucoup.
Toute la structure du conkyrc n'est pas de moi.
j'ai juste arrangé à ma sauce des détails et bricolé un script pour quodlibet (qui doit surement déjà exister sous une autre forme).

Enjoy.

Dernière modification par hells_dark (Le 13/03/2007, à 13:17)


"You caught me at a strange time in my life."
devianArt - site perso

Hors ligne

#11 Le 25/03/2007, à 23:32

HarKoT

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

Salut a tous!

Tout d'abord merci Astier de m'avoir fait decouvrir Conky wink

Il me reste un petit probleme : je n'arrive pas a trouver les temperatures autres que le CPU, sous windows j'ai un utilitaire qui m'en affiche 4 mais je sais pas comment les retrouver dans Ubuntu, donc si quelqu'un a une idee... (ACER Aspire 3023 WLMI)

Voici la capture

ca6a151df5796c8d9c5da5f2b97dt.jpg


Et donc voici le code associé (commenté en français s'il vous plait ! xD)

#emplacement
alignment top_right

#pour que corky tourne en arriere plan
background yes
#background no #pour les tests

#nombre d'echantillons a utiliser pour calculer la moyenne d'utilisation
cpu_avg_samples 4
net_avg_samples 4

#affiche le texte sur la sortie standard
out_to_console no

# Utiliser Xft (polices lissées etc)
use_xft yes

#police a utiliser : use_xft doit etre a "yes"
xftfont Terminal Bitstream Vera Sans Mono:size=8

# utiliser sa propre fenetre ?
own_window yes

#type de fenetre : normal(avec le cadre) / override / desktop
own_window_type override

#pseudo transparence?
own_window_transparent yes

# taux de raffraichissement de la fenetre (en secondes)
update_interval 2

# pour eviter le clignotement de la semaine (fonctionne pas chez moi)
double_buffer no

# afficher les ombres?
draw_shades no

# afficher des contours ?
draw_outline no

#contours autour des blocs de texte?
draw_borders no

# contour en trait-tillés, longueur d'un trait en pixels
stippled_borders 10

#largeur des marges (n'a pas l'air de fonctionner)
border_margin 40

# largeur du contour
border_width 1

# couleur par defaut du texte, de l'ombre et du contour
default_color white
default_shade_color white
default_outline_color white

# ecart avec le bord x=gauche ou droit y= haut ou bas
gap_x 30
gap_y 30

# Ajoute des espaces apres certains objets pour eviter de les faire bouger.
# Fonctionne uniquement avec la police Monospace
use_spacer no

# Soustraire les mémoires tampons de la mémoire utiliser ?
no_buffers yes

# Tout le texte en majuscule ?
uppercase no

TEXT
${font Dungeon:style=Bold:pixelsize=12}
${color #ddaa00}$nodename - $sysname $kernel on $machine
${color lightgrey}Uptime:$color $uptime ${color lightgrey}
Autonomie batterie : ${color #FFFB00}${battery}
${color lightgrey}CPU Temp: ${color #FF0000}${acpitemp}C
$color$stippled_hr

${color lightgrey}Ethernet (eth0) :${alignr}DL :${color #8844ee} ${totaldown eth0} ${color lightgrey}/ UP :${color #22ccff} ${totalup eth0} 
Adresse IP : ${color #ddaa00}${addr eth0}
${color lightgrey}Down :${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 100}Up:${color #22ccff} ${upspeed eth0} k/s
${color lightgrey}${downspeedgraph eth0 25,150 ff0000 0000ff} $alignr${color lightgrey}${upspeedgraph eth0 25,150 0000ff ff0000}

${color lightgrey}Wifi (eth1) :${alignr}DL :${color #8844ee} ${totaldown eth1} ${color lightgrey}/ UP :${color #22ccff} ${totalup eth1} 
Adresse IP : ${color #ddaa00}${addr eth1}
${color lightgrey}Down :${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 100}Up:${color #22ccff} ${upspeed eth1} k/s
${color lightgrey}${downspeedgraph eth1 25,150 ff0000 0000ff} $alignr${color lightgrey}${upspeedgraph eth1 25,150 0000ff ff0000}
$color$stippled_hr

${color lightgrey}CPU Usage:${color #FF0000} ${cpu}% ${cpubar}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processus:$color $processes  ${color grey}Running:$color $running_processes
$color$stippled_hr

${color lightgrey}File systems:
	
${color #FFFF00}Linux     ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
${color #0000FF}Windows  ${fs_used /media/hda3}/${fs_size /media/hda3}${alignr}${fs_used_perc /media/hda3}%
${fs_bar 8 /media/hda3}
${color #00FF00}Stockage ${fs_used /media/hda4}/${fs_size /media/hda4}${alignr}${fs_used_perc /media/hda4}%
${fs_bar 8 /media/hda4} 
$color$stippled_hr 

${color}CPU usage
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}CPU%
${offset 80}${color #ddaa00}${top name 1} ${alignr 30}${top pid 1} ${alignr 15}${top cpu 1}
${offset 80}${color #888888}${top name 2} ${alignr 30}${top pid 2} ${alignr 15}${top cpu 2}
${offset 80}${color #888888}${top name 3} ${alignr 30}${top pid 3} ${alignr 15}${top cpu 3}

${color}Mem usage
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}Mem%
${offset 80}${color #ddaa00}${top_mem name 1} ${alignr 30}${top_mem pid 1} ${alignr 15}${top_mem mem 1}
${offset 80}${color lightgrey}${top_mem name 2} ${alignr 30}${top_mem pid 2} ${alignr 15}${top_mem mem 2}
${offset 80}${color lightgrey}${top_mem name 3} ${alignr 30}${top_mem pid 3} ${alignr 15}${top_mem mem 3}

Hors ligne

#12 Le 27/03/2007, à 23:02

Astier

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

Bonsoir,

J'ai voulu essayé le calendrier tel que proposé dans le tout premier post de ce thread ; seulement, certains problèmes subsistent comme on peut le voir sur cette capture :
52bbeb879a0d4fd32466c410900bt.jpg

Comme vous le constatez, le mois affiché est le mois prochain, l'alignement est merdique que le calendrier débute à dimanche ou à lundi (en rajoutant à cal l'option -m comme dit dans le man de cal), le jour présent n'est pas mis en évidence comme il l'est dans la console.

Bien que je suppose que tous mes problèmes ne puissent être résolus j'aimerais surtout mieux comprendre comment fonctionne la ligne

${exec  cal $(date +'%b %Y' --date '1 month')}

présentée par ferreol.

Merci pour les eclaircissements que vous m'apporterez smile

Hors ligne

#13 Le 04/04/2007, à 19:29

adam0509

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

exceptionnellement je paste celui de quelqu'un d'autres :

bd7f2b2438d7895dbe3b938aa7dct.jpg

# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 64


TEXT
${color #000000}
 
${color #000000}Date :${color 800000} ${time %A %d %B %Y} - ${time %H:%M}
${color #000000}CPU Usage :${color 800000} ${cpu}% ${color #000000}${cpubar}
${color #000000}RAM :${color 800000} $mem/$memmax - $memperc% ${color #000000}$membar
${color #000000}Espace disques :
${color #000000}Linux ${color 800000}${fs_used /}/${fs_size /}${alignr}${color #000000}${fs_bar 5,120 /} ${color 800000}${fs_used_perc /}%
${color #000000}
${color #000000}backup ${color 800000}${fs_used /media/backup}/${fs_size /media/backup}${alignr}${color #000000}${fs_bar 5,80 /} ${color 800000}${fs_used_perc /media/backup}%
${color #000000}

Dernière modification par adam0509 (Le 04/04/2007, à 19:30)


PIII 533Mhz - 192Mo RAM - Geforce DDR - Win98SE/Xubuntu Feisty
AthlonXP2500+ - 512Mo DDR - ATI9600XT - WinXPSP2/Ubuntu Feisty
Dell Ubuntu - Dual Core - 1024Mo -...carte graphique à chier !!! (Intel 950)

Hors ligne

#14 Le 04/04/2007, à 20:16

mydoom666

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

Salut,

Michel38, pourrais tu me donner le contenu de ton script ~/Perso/monip.sh ? tongue

Hors ligne

#15 Le 04/04/2007, à 23:49

Michel38

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

mydoom666 a écrit :

Salut,

Michel38, pourrais tu me donner le contenu de ton script ~/Perso/monip.sh ? tongue

Bonsoir,
Je suis à l'étranger (USA) pour le moment, je rentre vendredi et je le poste ..... car je suis en déplacement professionnel sous W XP:rolleyes:


Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#16 Le 05/04/2007, à 00:03

mydoom666

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

Michel38 a écrit :
mydoom666 a écrit :

Salut,

Michel38, pourrais tu me donner le contenu de ton script ~/Perso/monip.sh ? tongue

Bonsoir,
Je suis à l'étranger (USA) pour le moment, je rentre vendredi et je le poste ..... car je suis en déplacement professionnel sous W XP:rolleyes:

Oki pas de problème, merci. smile
Les USA... la chance ! cool

Hors ligne

#17 Le 05/04/2007, à 13:14

mydoom666

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

Mes conkyrc :

24050710.jpg
(24/05/07)

.Conkyrc (En haut à droite de l'écran) :

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
use_xft yes
on_bottom yes
xftfont Comic sans MS:size=10
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
${color white}Bonjour Mydoom
${color white}Nous sommes le : ${time %A %d %B %Y} - ${time %H:%M:%S}
$nodename - $sysname $kernel on $machine
$stippled_hr
${color #e49c16}Uptime:$color $uptime ${color #FFFFFF}- Load:$color $loadavg
${color #e49c16}CPU Utilise :${color #FFFFFF} $cpu% ${color #ffc11f}${cpubar}
${color white}${cpugraph ffc11f 8b4b0b}
${color #e49c16}Memoire RAM :${color #FFFFFF} $mem/$memmax - $memperc% ${color #ffc11f}${membar}
${color #e49c16}Utilisation du Swap :${color #FFFFFF} $swap/$swapmax - $swapperc% ${color #ffc11f}${swapbar}
${color #e49c16}Processus : $color $processes ${color #FFFFFF}En cour : $color $running_processes
$color$stippled_hr
${color #e49c16}Reseau : ${color #FFFFFF}IP Locale ${addr eth0} - IP Publique ${execi 1800 ~/.conky/scriptip.sh}
${color #e49c16}Download :${color white} ${downspeed eth0} k/s${color white} ${offset 80}${color #e49c16}Upload:${color white} ${upspeed eth0} k/s
${color #FFFFFF}${downspeedgraph eth0 32,150 8b4b0b ffc11f} ${color #FFFFFF}${upspeedgraph eth0 32,150 ffc11f 8b4b0b}
$color$stippled_hr
${color #e49c16}Espace Disque:
${color #FFFFFF}Root: ${color #FFFFFF}${fs_free /}/${fs_size /} ${color #ffc11f}${fs_bar /}
${color #FFFFFF}Interne: ${color #FFFFFF}${fs_free /home/ftp/Hdc1}/${fs_size /home/ftp/Hdc1} ${color #ffc11f}${fs_bar /home/ftp/Hdc1}

.Conkyrc2 (En bas à Gauche de l'écran) :

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
use_xft yes
on_bottom yes
xftfont Comic sans MS:size=10
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 bottom_left
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
${color #e49c16}Utilisation du CPU :
${color #FFFFFF} ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
${color #FFFFFF} ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
${color #FFFFFF} ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
${color #FFFFFF} ${top name 4} $alignr${top pid 4} ${top cpu 4} ${top mem 4}
${color #FFFFFF} ${top name 5} $alignr${top pid 5} ${top cpu 5} ${top mem 5}
$color$stippled_hr
${color #e49c16}Utilisation de la Memoire :
${color #FFFFFF} ${top_mem name 1} $alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #FFFFFF} ${top_mem name 2} $alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #FFFFFF} ${top_mem name 3} $alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #FFFFFF} ${top_mem name 4} $alignr${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color #FFFFFF} ${top_mem name 5} $alignr${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$color$stippled_hr
${color #e49c16}Port(s) ouvert(s): ${color #FFFFFF}${tcp_portmon 1 65535 count}
${color white} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
${color white} $alignc${execi 300 /home/mydoom/.conky/conky-rss.sh http://www.animeka.com/rss/rlzday.html 8 1}

Pour les scripts externes :

Flux RSS :

#!/bin/bash
# RSS Display Script by Bill Woodford (admin@sdesign.us) v1.0
#
# This script is designed to output story titles for most any RSS Feed.
#
# This script depends on curl.  Please ensure it is installed and in your $PATH
# Gentoo: emerge -av net-misc/curl
# Debian: apt-get install curl
# Homepage: http://curl.haxx.se/
#
# Usage:
# .conkyrc:	${execi [time] /path/to/script/conky-rss.sh URI LINES TITLENUM}
#	URI = Location of feed, ex. http://www.gentoo.org/rdf/en/glsa-index.rdf
#	LINES = How many titles to display (default 5)
#	TITLENUM = How many times the title of the feed itself is specified, usually 1 or 2 (default 2)
#
# Usage Example		
#		${execi 300 /home/youruser/scripts/conky-rss.sh http://www.foxnews.com/xmlfeed/rss/0,4313,1,00.rss 6 2}

#RSS Setup - Don't change unless you want these values hard-coded!
uri=http://www.animeka.com/rss/rlzday.html							#URI of RSS Feed
lines=8						#Number of headlines
titlenum=1						#Number of extra titles

#Script start
#Require a uri, as a minimum
if [[ "$uri" == "" ]]; then
	echo "No URI specified, cannot continue!" >&2
	echo "Please read script for more information" >&2
else
	#Set defaults if none specified
	if [[ $lines == "" ]]; then lines=5 ; fi
	if [[ $titlenum == "" ]]; then titlenum=2 ; fi

	#The actual work
	curl -s --connect-timeout 30 $uri |\
	sed -e 's/<\/title>/\n/g' |\
	grep -o '<title>.*' |\
	sed -e 's/<title>//' |\
	head -n $(($lines + $titlenum)) |\
	tail -n $(($lines))
fi

Pour L'ip derrière un routeur (Merci à Michel38 ! smile ) :

#!/bin/bash
# voir ip derriere routeur

wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1 > ip
cat ip

Voili Voilou
A+

Dernière modification par mydoom666 (Le 24/05/2007, à 16:48)

Hors ligne

#18 Le 06/04/2007, à 16:03

Michel38

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

mydoom666 a écrit :
Michel38 a écrit :
mydoom666 a écrit :

Salut,

Michel38, pourrais tu me donner le contenu de ton script ~/Perso/monip.sh ? tongue

Bonsoir,
Je suis à l'étranger (USA) pour le moment, je rentre vendredi et je le poste ..... car je suis en déplacement professionnel sous W XP:rolleyes:

Oki pas de problème, merci. smile
Les USA... la chance ! cool

Voilà

#!/bin/bash

# voir ip derriere routeur

wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1 > ip
cat ip


Every day is a school day ... Your Ubuntu User number is # 572
Portable ASUS Dual Core T2130 de chez Iventive - 1.86 GHz - RAM:2 Go - DD 160 Go - Hardy Heron 8.04.4 LTS - Noyau 2.6.24.24 Generic - LiveBox Sagem 4 Mo
Mon Blog http://mdoucet.wordpress.com/

Hors ligne

#19 Le 06/04/2007, à 22:53

mattis

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

Mon bureau :
[lien mort]

Mes Conky (sans les scripts) :

own_window yes
own_window_transparent yes
own_window_type override
double_buffer yes

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

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont monospace-8

own_window_colour pink

# Text alpha when using Xft
xftalpha 0.8

#on_bottom no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

# Minimum size of text area
minimum_size 5 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 2

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

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

# Espace entre le bord de l'ecran et le text

gap_x 10
gap_y 50

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

# Subtract file system buffers from used memory?
no_buffers yes

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

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fàƒÂªz o portuguàƒÂªs
# stuff after 'TEXT' will be formatted on screen

TEXT
${color white}[${color #00ff00}Matthieu${color white}][${color red}$nodename${color white}] -
${color #000000}${time %A %d %B %Y} - ${time %H:%M:%S} 
${color #000000}sysname $kernel sur $machine $freq_g GHz
${color #000000}IP Locale ${addr eth0}
${color #000000}Uptime: $uptime
${color white}${hr 2}
${color #ffccaa}Moniteurs-
${color #000000}cpu: ${color white}${cpu}%
${color #000000}${cpugraph 25 ff0000 ff00ff}
${color #000000}ram : ${color white}$mem${color #000000}/${color white}$memmax ${color #000000}- ${color white}$memperc%
${color #000000}swap: ${color white}$swap${color #000000}/${color white}$swapmax ${color #000000}   - ${color white}$swapperc%
${color #000000}load: ( ${color white}$loadavg ${color #000000})
${color #000000}processus: ${color white}$processes	${color #000000}en route: ${color white}$running_processes

${color #ffccaa}Net:${color white}eth0-
${color #000000}DOWN: ${color white}${downspeed eth0} k/s	    ${color #000000}UP: ${color white}${upspeed eth0} k/s
${color #000000}${downspeedgraph eth0 25,100 ff0000 0000ff}	  ${color #000000}${upspeedgraph eth0 25,100 0000ff ff0000}
${color #000000}TOTAL: ${color white}${totaldown eth0}	        ${color #000000}TOTAL: ${color white}${totalup eth0}

${color #ffccaa}Espace libre-
${color #000000}Root : ${color white}${fs_used /}${color #000000}/${color white}${fs_size /} ${color #000000}(${color white}${fs_free /} ${fs_free_perc /}% ${color #000000} free)
       ${fs_bar /}
${color #000000}Data : ${color white}${fs_used /dev/hda2}${color #000000}/${color white}${fs_size /dev/hda2} ${color #000000}(${color white}${fs_free /dev/hda2} ${fs_free_perc /dev/hda2}% ${color #000000} free)
       ${fs_bar /dev/hda2}

${color #ffccaa}Utilisation du Processeur.
${color white}Nombre            PID     CPU%   MEM%
${color #ffccaa} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #000000} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #000000} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #000000} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #000000} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

${color #ffccaa}Temperature systeme
${color #000000}CPU Temp: ${acpitemp}C

${color #ffccaa}Audacious :
${audacious_title}


${color #ffccaa}Port(s) ouvert(s): ${color black}${tcp_portmon 1 65535 count}
${color white} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
${tcp_portmon 1 65535 rhost 6} $alignr${tcp_portmon 1 65535 lservice 6}
${tcp_portmon 1 65535 rhost 7} $alignr${tcp_portmon 1 65535 lservice 7}
${tcp_portmon 1 65535 rhost 8} $alignr${tcp_portmon 1 65535 lservice 8}
${tcp_portmon 1 65535 rhost 9} $alignr${tcp_portmon 1 65535 lservice 9}
${tcp_portmon 1 65535 rhost 10} $alignr${tcp_portmon 1 65535 lservice 10}
${color #040404}$stippled_hr

et

own_window yes
own_window_transparent yes
own_window_type override
double_buffer yes

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

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont monospace-8

own_window_colour pink

# Text alpha when using Xft
xftalpha 0.8

#on_bottom no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1

# Minimum size of text area
minimum_size 5 5
maximum_width 700

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 2

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

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

# Espace entre le bord de l'ecran et le text

gap_x 10
gap_y 50

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

# Subtract file system buffers from used memory?
no_buffers yes

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

# boinc (seti) dir
# seti_dir /opt/seti

TEXT
${color white}${execi 300 ~/.conky/bashfr.pl -random2}

Il me reste encore des choses à trouver comment parametrer, notament le rss, et audacious ...
Le max en DL / UL aussi si c'est possible.

Dernière modification par xabilon (Le 18/11/2009, à 15:30)


Free ! Be free...

Hors ligne

#20 Le 07/04/2007, à 06:29

mydoom666

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

Michel38 a écrit :
mydoom666 a écrit :
Michel38 a écrit :

Bonsoir,
Je suis à l'étranger (USA) pour le moment, je rentre vendredi et je le poste ..... car je suis en déplacement professionnel sous W XP:rolleyes:

Oki pas de problème, merci. smile
Les USA... la chance ! cool

Voilà

#!/bin/bash

# voir ip derriere routeur

wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1 > ip
cat ip

Merci ! tongue

Hors ligne

#21 Le 07/04/2007, à 13:55

hells_dark

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

Ce sujet est interressant, mais à mon avis, il n'est pas dans la bonne section..
Quelqu'un pourrait le déplacer ?
Dans "Trucs et astuces" peut être smile


"You caught me at a strange time in my life."
devianArt - site perso

Hors ligne

#22 Le 16/04/2007, à 01:27

monki

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

HarKoT a écrit :
# pour eviter le clignotement de la semaine (fonctionne pas chez moi)
double_buffer no

je crois que ca marche si tu mets double_buffer yes

#23 Le 16/04/2007, à 09:53

jacobo

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

Salut

Mydoom666 pourrais tu me dire qomment tu as fait pour avoir ton terminal sur le bureau

Merci d'avance

Hors ligne

#24 Le 16/04/2007, à 14:11

HarKoT

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

J'essayerai, merci du tuyau Monki wink

pour le terminal : je pense que c'est Tilda (en tout cas c'est celui là que j'utilise tongue )

Dernière modification par HarKoT (Le 16/04/2007, à 14:14)

Hors ligne

#25 Le 16/04/2007, à 15:46

hells_dark

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

jacobo a écrit :

Salut

Mydoom666 pourrais tu me dire qomment tu as fait pour avoir ton terminal sur le bureau

Merci d'avance

Mmm, ce serait pas un tilda transparent ça ?


"You caught me at a strange time in my life."
devianArt - site perso

Hors ligne

Haut de page ↑