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.

#651 Le 12/12/2007, à 23:30

Golgoth

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

LittleCj3k a écrit :

Bonsoir,
Screenshot

je suis un sale copieur:

8cbf8d4632191b01dcf99a84a93e3.png

tongue

background yes
minimum_size 260 400

cpu_avg_samples 2
net_avg_samples 2

out_to_console no
use_xft yes
xftfont Calibri:size=10
xftalpha 1
update_interval 1

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated, below
own_window_colour FFFFFF

double_buffer yes
draw_shades no
draw_outline no
draw_borders no
border_margin 2
border_width 2

default_color black
default_shade_color white
default_outline_color white

alignment top_right
gap_x 32
gap_y 32


TEXT

   ${font StyleBats:size=30}m	${font} Core1: ${cpu cpu1}%   ${alignr}Core2: ${cpu cpu2}%

   ${font StyleBats:size=30}d	${font}  Mem: $memperc%           $membar

   ${font StyleBats:size=30}5	${font} Down: ${downspeed eth0} Ko/s   ${alignr}Up: ${upspeed eth0} Ko/s

   ${font StyleBats:size=30}j	${font} Data: ${fs_used_perc /media/data/}%           ${fs_bar /media/data/}

   ${font StyleBats:size=30}o	${font} Uptime: ${alignr}${uptime_short}

Dell Dimension 9200: E6420 + 8600GTS + 2Go RAM

Hors ligne

#652 Le 13/12/2007, à 00:48

lekokeliko

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

effectivement mattis tu vois plus clair lol ici c'est le topic des conkyrc pas des walls
sinon juste l'attenuation du toucan se voit attenue l'arbre clair dans le fond wink


No brain, No fear !
http://www.dailymotion.com/lekokeliko    ~Tictactux~  site internet crée par moi     
On em#%*de les ingénieurs, on test et on voit si ca l'fait ou pas ;)
A Embrun

Hors ligne

#653 Le 14/12/2007, à 20:21

balby

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

Bonjour à  tous
et voici mon problème
j'utilise conky 1.4.7 + gutsy + compiz-fusion
Avec compiz j'utilise le plugin cube de bureau et l'onglet background image. Cela me permet d'avoir une fond d'écran différent par bureau. Pour faire cela j'ai également du dire à  nautilus de ne plus gérer le desktop.
Le problème est que conky est bien présent mais je vois le papier peint de nautilus sous conky.

Voici un petit screen :

http://balby.save.free.fr/Capture.jpg

et voici mon .conkyrc

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

#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 yes

# 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 20

# 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:pixelsize=10}
${color #C4DEFF}$nodename - $sysname $kernel on $machine
${color lightgrey}Uptime :$color $uptime_short 

${color lightgrey}CPU :$color ${cpu}%     ${color lightgrey}freq : $color${freq}MHz${alignr}${color lightgrey}T° : $color${acpitemp}°C
${color lightgrey}RAM Usage : $color$memperc%${alignr}$color $mem / $memmax  
${color lightgrey}SWP Usage : $color$swapperc%${alignr}$color $swap / $swapmax 
${color lightgrey}Processus :$color $processes  ${color lightgrey}Running :$color $running_processes

${color lightgrey}Disques durs :
${color #FFFFFF}Linux     ${fs_used /} / ${fs_size /}${alignr}${fs_used_perc /}%
${color #000000}${fs_bar /}
${color #FFFFFF}Windows pourri  ${fs_used /media/sda2} / ${fs_size /media/sda2}${alignr}${fs_used_perc /media/sda2}%
${color #000000}${fs_bar /media/sda2}
${color #FFFFFF}Data      ${fs_used /media/sda3} / ${fs_size /media/sda3}${alignr}${fs_used_perc /media/sda3}%
${color #000000}${fs_bar /media/sda3} 

${color lightgrey}Wifi : $color${wireless_link_qual_perc ath0}${alignr}${color lightgrey}Down :$color ${downspeed ath0} k/s   ${color lightgrey}Up:$color ${upspeed ath0} k/s

Donc si quelqu'un avait la solution ??

Par avance merci

Hors ligne

#654 Le 15/12/2007, à 02:40

cam

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

Ca change de temps en temps donc je poste le nouveau tongue

bb2d082dd896151f1ebcdd579a554tt.jpg

Et le code qui va avec:

# stuff after 'TEXT' will be formatted on screen
TEXT

${alignc}${color #BF1238}${font OpenLogos:size=14}J ${voffset -5} ${font URW Gothic L:size=9}${color #000000} ${time %A %d %B %Y}    ${color #BF1238}${time %k:%M:%S}
${alignc}${color #000000}Debian Sid $sysname $kernel  |  Uptime ${color #BF1238}${uptime_short}${color #000000}  |  Intel Core2Duo @ $freq_dyn_g GHz ${color #BF1238}${cpu cpu} % ${color #000000}  |  Ram $mem / $memmax ${color #BF1238}$memperc% ${color #000000}  |  Download ${color #BF1238}${downspeed eth2} k/s ${color #000000} |  Upload ${color #BF1238}${upspeed eth2} k/s
${alignc}${color #000000}/ ${fs_used /} / ${fs_size /}${color #BF1238} ${fs_free_perc /} % free${color #000000}  |  /home ${fs_used /home} / ${fs_size /home}${color #BF1238} ${fs_free_perc /home} % free${color #000000}  |  /media/janbeuhnoix ${fs_used /media/janbeuhnoix} / ${fs_size /media/janbeuhnoix}${color #BF1238} ${fs_free_perc /media/janbeuhnoix} % free  ${color #000000}|  /media/CORSAIR ${fs_used /media/CORSAIR} / ${fs_size /media/CORSAIR}${color #BF1238} ${fs_free_perc /media/CORSAIR} % free
${alignc}${color #BF1238}${font OpenLogos:size=36}g ${font URW Gothic L:size=9}
${alignc}${if_running amarokapp} Amarok${color #000000}  |  ${execi 10 ~/.conky/amarok artist}   |  ${execi 10 ~/.conky/amarok album}  |  ${execi 10 ~/.conky/amarok title}  |  ${color #BF1238}${execi 1 ~/.conky/amarok trackCurrentTime} / ${execi 0.5 ~/.conky/amarok trackTotalTime} sec. $endif

Dernière modification par cam (Le 15/12/2007, à 02:44)

Hors ligne

#655 Le 15/12/2007, à 19:31

Compte anonymisé

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

Bonjour, je m'incruste dans cette conversation, je découvre juste à  l'instant conky.
Et personnelelement je ne me vois pas faire les script à  main nu.
Alors je viens depuis un appel sur ce forum : http://www.siteduzero.com/forum-83-2197 … l#r1984058
Et donc j'ai trouvé ce post !
Je cherche le moyen de mettre un fil rss de flickr en arrière plan.
Est-ce déjà  fait(google ne m'a rien dit !) ou alors savez-vous comment faire ?
Merci d'avance, ce serait top !

#656 Le 16/12/2007, à 16:05

florian72

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

Salut a tous,

Une petite question :

Comment deplacer les boites ou apparaissent les graphs  de download/upload et la charge des cores ?

J'ai vilainement pompé le code de Frugal tongue mais j'ai du modifier 2/3 trucs et du coup, le texte et la boite ne sont plus centrés

Dernière modification par florian72 (Le 16/12/2007, à 16:05)


Windows, c'est mieux qu'un tamagochi... meme quand tu t'en occupes, il meurt !

Hors ligne

#657 Le 16/12/2007, à 17:16

raskafari

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

Voilà  ma contribution assez mince....
Merci a tous les posts précédents dont je me suis inspiré.
Merci aussi aux posts sur audacious et la doc aussi.

Voici u petit screen du bureau :
w6ho2jau.png

Et voici mes petits bouts de code pour vous servir; n'hésitez pas big_smile :

.conkyrc

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 10
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no



TEXT
${alignc}${color e49c16}${font Sans:pixelsize=14}Bonjour Nico
${color 000000}$stippled_hr
${font Sans:pixelsize=11}${color e49c16}Nous sommes le : ${color #4cb7e9}${time %D} ${color red}-${color #4cb7e9} ${time %H:%M:%S}
${color e49c16}$nodename - ${color red}$sysname ${color red}$kernel ${color e49c16}on ${color red}$machine
${color 000000}$stippled_hr
${alignc}${color e49c16}${font Sans:pixelsize=14}Infos Systeme
${font Sans:pixelsize=11}${color e49c16}Intel Centrino Technologie: ${color red}${freq #0} MhZ
${color e49c16}Uptime:${color #4cb7e9} $uptime ${color e49c16}
${color #e49c16}Temp CPU : ${color #4cb7e9} $acpitemp C
${color #e49c16}Temp HDisk : ${color #4cb7e9} ${exec command} ${hddtemp /dev/sda}
${color e49c16}CPU Utilise :${color #4cb7e9} $cpu% ${color #ffc11f}${cpubar}
${color e49c16}${cpugraph ffc11f 8b4b0b}
${color e49c16}Memoire RAM :${color #4cb7e9} $mem / $memmax - ${color red}$memperc% ${color #ffc11f}${membar}
${color e49c16}Utilisation du Swap :${color #4cb7e9} $swap / $swapmax - ${color red}$swapperc% ${color #ffc11f}${swapbar}

${color e49c16}Espace Disque :
${color e49c16}Ubuntu :    ${color #4cb7e9}${fs_used /} / ${fs_size /}${alignr}${color red}${fs_used_perc /}%
${color #ffc11f}${fs_bar 8 /}
${color e49c16}Windows :    ${color #4cb7e9}${fs_used /media/disk} / ${fs_size /media/disk}${alignr}${color red}${fs_used_perc /media/disk}%
${color #ffc11f}${fs_bar 8 /media/disk}
${color e49c16}HDD Externe :    ${color #4cb7e9}${fs_used /media/HDD EXTERNE} / ${fs_size /media/HDD EXTERNE}${alignr}${color red}${fs_used_perc /media/HDD EXTERNE}%
${color #ffc11f}${fs_bar 8 /media/HDD EXTERNE}
${color 000000}$stippled_hr
${alignc}${color e49c16}${font Sans:pixelsize=14}Processus en cours
${font Sans:pixelsize=11}${color e49c16}CPU usage
${offset 70}${color red}Nom ${alignr 50}PID ${alignr 20}CPU%
${offset 70}${color e49c16}${top name 1} ${alignr 30}${color #4cb7e9}${color #4cb7e9}${top pid 1} ${alignr 15}${top cpu 1}
${offset 70}${color e49c16}${top name 2} ${alignr 30}${color #4cb7e9}${top pid 2} ${alignr 15}${color #4cb7e9}${top cpu 2}
${offset 70}${color e49c16}${top name 3} ${alignr 30}${color #4cb7e9}${top pid 3} ${alignr 15}${color #4cb7e9}${top cpu 3}

${color e49c16}Mem usage
${offset 70}${color red}Nom ${alignr 50}PID ${alignr 20}Mem%
${offset 70}${color e49c16}}${top_mem name 1} ${alignr 30}${color #4cb7e9}${top_mem pid 1} ${alignr 15}${color #4cb7e9}${top_mem mem 1}
${offset 70}${color e49c16}${top_mem name 2} ${alignr 30}${color #4cb7e9}${top_mem pid 2} ${alignr 15}${color #4cb7e9}${top_mem mem 2}
${offset 70}${color e49c16}${top_mem name 3} ${alignr 30}${color #4cb7e9}${top_mem pid 3} ${alignr 15}${color #4cb7e9}${top_mem mem 3}
${color #000000}$stippled_hr

.conkyrc2

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_right
gap_x 10
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no



TEXT
${color #000000}$stippled_hr
${alignc}${color e49c16}${font Sans:pixelsize=14}Reseaux

${font Sans:pixelsize=11}${color e49c16}Vous etes connecte sur l'interface : ${color #4cb7e9}Ethernet (eth1) 

${color e49c16}Adresse IP Locale : ${color red}${addr eth1}
${color e49c16}Adresse IP distante : ${color red}${execi 60 wget -O - http://ip.tupeux.com | tail}
${color e49c16}DL :${color #4cb7e9} ${totaldown eth1} ${color red}/ ${color e49c16}UP :${color #22ccff} ${totalup eth1}
${color e49c16}Down :${color #4cb7e9} ${downspeed net eth1} k/s       ${color e49c16} ${offset 100}Up:${color #22ccff} ${upspeed net eth1} k/s
${color e49c16}${downspeedgraph eth1 25,150 ffc11f 8b4b0b} $alignr${color e49c16}${upspeedgraph eth1 25,150 ffc11f 8b4b0b}
${color #000000}$stippled_hr
${if_running audacious}${alignc}${color e49c16}${font Sans:pixelsize=14}Musique${font Sans:pixelsize=11}
${color #ddaa00}Audacious :
${color red} ${exec audtool --current-song | cut -b-50}   ${color #4cb7e9}${exec audtool --current-song-bitrate-kbps} kbps
${color #ddaa00}${execbar  expr 99 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)}
${alignc}${color #4cb7e9}${exec audtool --current-song-output-length}/${color red}${exec audtool --current-song-length}${endif}
${color #000000}$stippled_hr

Voilà  pour vous mes amis........
Mais attention pour la partie musique il vous faut audacious d'installé.
Bye Raskafari.

Dernière modification par raskafari (Le 17/12/2007, à 12:18)

Hors ligne

#658 Le 16/12/2007, à 21:11

Astier

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

On peut le placer o๠on veut tongue L'idéal étant de le placer dans son /home.

Le script contient la commande "conky" avec l'option -c permettant de lancer plusieurs conkys ainsi que les chemins des différents fichiers de configuration de conky.

Ainsi, l'on aura par exemple le fichier .conky.sh suivant :

#!/bin/bash
conky -c .conkyrc&
conky -c .conkyrc2&

Il faut également que ce script soit exécutable : chmod +x .conky.sh

A+

Hors ligne

#659 Le 18/12/2007, à 15:17

Astier

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

Il te suffit je crois de modifier la taille de conky ou de lui permettre d'adopter une taille dynamique (mais je sais pas ce qu'il faut modifier). Je sais pas si c'est très clair hmm

Hors ligne

#660 Le 18/12/2007, à 22:14

Ekinoks

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

Salut,

Quelqu'un sait comment sa se fait que chez moi le ${acpitemp} m'affiche 0 ?
Il y a un paquet spécial a installer pour pouvoir afficher la température du processeur ?

Voici mon bureau actuel cool

captureje9.th.jpg

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Fatboy Slim BLTC (BRK):size=10
xftfont monospace:size=8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
mail_spool $MAIL

# 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

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 210 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

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

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

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

# Subtract file system buffers from used memory?
no_buffers no

# 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 2

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

# 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 no

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

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# 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

# Possible variables to be used:
#
#      Variable         Arguments                  Description                

#  addr              (interface)     IP address for an interface
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  alignr            (num)           Right-justify text, with space of N
#  alignc                            Align text to centre
#  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                   
#  cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
#                                    CPU usage graph
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
#                                    Download speed graph
#  exec              shell command   Executes a shell command and displays    
#                                    the output in conky. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execbar           shell command   Same as exec, except if the first value
#                                    return is a value between 0-100, it
#                                    will use that number for a bar.
#                                    The size for the bar is currently fixed,
#                                    but that may change in the future.
#  execgraph         shell command   Same as execbar, but graphs values
#  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/tempf (first in C, second in F)
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  if_running        (process)       if PROCESS is running, display
#                                    everything if_running and the matching $endif
#  if_existing       (file)          if FILE exists, display everything between
#                                    if_existing and the matching $endif
#  if_mounted        (mountpoint)    if MOUNTPOINT is mounted, display everything between
#                                    if_mounted and the matching $endif
#  else                              Text to show if any of the above are not true
#  kernel                            Kernel version                          
#  linkstatus        (interface)     Get the link status for wireless connections
#  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
#  
#  metar_ob_time
#  metar_temp
#  metar_tempf                      Temp in F
#  metar_windchill
#  metar_dew_point                   There are a bunch of these
#  metar_rh                          and they are self-explanatory
#  metar_windspeed
#  metar_winddir
#  metar_swinddir
#  metar_cloud
#  metar_u2d_time

#  ml_upload_counter                 total session upload in mb
#  ml_download_counter               total session download in mb
#  ml_nshared_files                  number of shared files
#  ml_shared_counter                 total session shared in mb, buggy
#                                    in some mldonkey versions
#  ml_tcp_upload_rate                tcp upload rate in kb/s
#  ml_tcp_download_rate              tcp download rate in kb/s
#  ml_udp_upload_rate                udp upload rate in kb/s
#  ml_udp_download_rate              udp download rate in kb/s
#  ml_ndownloaded_files              number of completed files
#  ml_ndownloading_files             number of downloading files
#  
#  mpd_artist                Artist in current MPD song
#                                    (must be enabled at compile)
#  mpd_album                Album in current MPD song
#  mpd_bar           (height)        Bar of mpd's progress
#  mpd_bitrate                       Bitrate of current song
#  mpd_status                        Playing, stopped, et cetera.
#  mpd_title                Title of current MPD song
#  mpd_vol                MPD's volume
#  mpd_elapsed                       Song's elapsed time
#  mpd_length                        Song's length
#  mpd_percent                       Percent of song's progress
#  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 
#                                    conky 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           
#  offset            pixels          Move text over by N pixels
#  tail              logfile, lines (interval)
#                                    Displays last N lines of supplied text
#                                    text file.  If interval is not supplied,
#                                    Conky assumes 2x Conky's interval.
#                                    Max of 30 lines.
#                                    Max of 30 lines can be displayed.
#  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 conky   
#                                    has started.                            
#  top               type, num      This takes arguments in the form:
#                                    top <name> <number>
#                                    Basically, processes are ranked from 
#                                    highest to lowest in terms of cpu
#                                    usage, which is what <num> represents.
#                                    The types are: "name", "pid", "cpu", and
#                                    "mem".
#                                    There can be a max of 10 processes listed.
#  top_mem           type, num       Same as top, except sorted by mem usage
#                                    instead of cpu
#  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                                  
#  upspeedgraph      net (height),(width) (gradient colour 1) (gradient colour 2)
#                                    Upload speed graph
#  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

# stuff after 'TEXT' will be formatted on screen

TEXT

Public IP ${color #563207}${execi 60 wget -O - http://ip.tupeux.com | tail}${color #000000}
Download   $alignr${downspeed eth1} k/s ${downspeedgraph eth1 10,100 565656  563207}
Upload     $alignr${upspeed eth1} k/s ${upspeedgraph eth1 10,100 565656  563207}
                                    
Core1   $alignr${color #563207}${cpu cpu1}%, ${color #000000}${cpugraph cpu1 10,100 565656  563207}${color #000000}
Core2   $alignr${color #563207}${cpu cpu2}%, ${color #000000}${cpugraph cpu2 10,100 565656  563207}${color #000000}
Core3   $alignr${color #563207}${cpu cpu3}%, ${color #000000}${cpugraph cpu3 10,100 565656  563207}${color #000000}
Core4   $alignr${color #563207}${cpu cpu4}%, ${color #000000}${cpugraph cpu4 10,100 565656  563207}${color #000000}
$endif

Hors ligne

#661 Le 19/12/2007, à 11:19

fonzie_yeah

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

Bonjour,

Voici ma petite contribution, je suis parti de la configuration de clem-vangelis (voir page 1 de cette discussion) pour lui apporter une touche perso.

screenshot1cu8.th.png

# 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

own_window_transparent yes
own_window_colour black

# 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 yes
#own_window_type normal
own_window_hints below
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 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 0

# 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_leftdemarre
#alignment bottom_right

# Gap between borders of screen and text

gap_x 20
gap_y 45 #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

# 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 rudemarrenning)   
#  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#ffcb48 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


# 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 #ffcb48}$nodename$color      $color$sysname $kernel on
$color${hr 1}
${color #ffcb48}${time %A %d %B %Y} - ${time %H:%M}
   ${color #98c2c7}Uptime:$color ${uptime_short}
${hr 1}
${color #ffcb48}CPU frequence: $color${freq_g} GHz    ${cpu 0}% 
   ${color #000000}${cpugraph 28,300 000000 7f8ed3} $color
${hr 1}
${color #ffcb48}CPU processus
${offset 80}${color #98c2c7}Nom          ${alignr 35}PID ${alignr 13}CPU%
${offset 80}${color yellow}${top name 1} ${alignr 30}${top pid 1} ${alignr 15}${top cpu 1}
${offset 80}$color${top name 2}${alignr 30}${top pid 2} ${alignr 15}${top cpu 2}
${offset 80}$color${top name 3}${alignr 30}${top pid 3} ${alignr 15}${top cpu 3}
${offset 80}$color${top name 4}${alignr 30}${top pid 4} ${alignr 15}${top cpu 4}
${offset 80}$color${top name 5}${alignr 30}${top pid 5} ${alignr 15}${top cpu 5}
${color #ffcb48}RAM processus
${offset 80}${color #98c2c7}Nom          ${alignr 35}PID ${alignr 13}RAM%
${offset 80}${color  yellow}${top_mem name 1} ${alignr 30}${top_mem pid 1} ${alignr 15}${top_mem mem 1}
${offset 80}$color${top_mem name 2}${alignr 30}${top_mem pid 2} ${alignr 15}${top_mem mem 2}
${offset 80}$color${top_mem name 3}${alignr 30}${top_mem pid 3} ${alignr 15}${top_mem mem 3}
${offset 80}$color${top_mem name 4}${alignr 30}${top_mem pid 4} ${alignr 15}${top_mem mem 4}
${offset 80}$color${top_mem name 5}${alignr 30}${top_mem pid 5} ${alignr 15}${top_mem mem 5}
${hr 1}
${color #ffcb48}Espace$color
   ${color #98c2c7}RAM:$color  $mem/$memmax - ${memperc}%  ${mem}   ${color #78af78}${membar 6}${color}
   ${color #98c2c7}SWAP:$color  $swap/$swapmax - ${swapperc}%  ${swap}   ${color #78af78}${swapbar 6}${color}
   ${color #98c2c7}Home:$color   ${fs_used_perc /home/cedric}%  ${fs_used /home/cedric}  ${color #78af78}${fs_bar 6 /}$color
${hr 1}
${color #ffcb48}Réseau$color
   ${color #98c2c7}Download:$color  ${downspeed eth0}kb/s                        ${color #98c2c7}Upload:$color  ${upspeed eth0}kb/s
   ${color #000000}${downspeedgraph eth0 32,150 000000 7f8ed3 700} ${color #000000}${upspeedgraph eth0 32,150 000000 7f8ed3 700}$color
${hr 1}
${color #ffcb48}A faire$color
${execi 30 cat /home/cedric/.conky/todo}
${execi 30 /home/cedric/.conky/gentodo}

Pour la partie "A faire", j'ai créé un fichier nommé "todo" dans un dossier .conky (/home/cedric/.conky/todo), le voici:

	Recherche stage
	Dossier BIO avec Solaya
	Cadeaux de Noà«l

Ainsi que ce script "gentodo" toujours le meme dossier (/home/cedric/.conky/gentodo)

#!/bin/bash
if [ -f /home/cedric/.conky/todo ] 
then
        rm /home/cedric/.conky/todo
fi
cd /home/cedric/.tomboy/
for fichier in *.note
do
        grep title $fichier | sed 's/<title>/''/g' | sed 's/<\/title>/''/g' >> /home/cedric/.conky/todo
done

Voilà , j'ai juste un petit soucis, j'arrive pas à  afficher la temperature du CPU.... (comme certaines personnes de ce sujet, aà¯e!)
En faite, j'ai essayé avec "apcitemp" ça n'a pas marché. Mon dossier /sys/bus/i2c/devices est vide, du coup je ne sais pas comment faire....

Quelqu'un peut-il m'apporter une solution ou une explication?????

Petite précision: Mon ordi est un pentium 2 (400Mhz) qui tourne sous Xubuntu 7.10

Dernière modification par fonzie_yeah (Le 19/12/2007, à 12:03)

Hors ligne

#662 Le 20/12/2007, à 19:28

raskafari

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

@ Ekinoks :

Essayes de mettre cette commande :

$acpitemp °C

Logiquement ça doit marcher mais vu que tu as un 4 cores je ne suis pas sur.

Hors ligne

#663 Le 20/12/2007, à 20:37

Skippy le Grand Gourou

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

raskafari a écrit :

@ Ekinoks :

Essayes de mettre cette commande :

$acpitemp °C

Logiquement ça doit marcher mais vu que tu as un 4 cores je ne suis pas sur.

Sinon faut voir du cà´té d'i2c, et installer lm-sensors (je crois). Par exemple moi j'ai ${i2c 1-002d temp 1}°C pour le CPU.

Hors ligne

#664 Le 21/12/2007, à 03:13

fonzie_yeah

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

Merci pour vos réponses, je teste ça demain...
et je vous tiens au courant biensur ... wink

Hors ligne

#665 Le 21/12/2007, à 07:03

fonzie_yeah

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

"Je donne tout à  Skippy .... tongue"

Hors ligne

#666 Le 21/12/2007, à 12:07

Ekinoks

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

Merci pour vos réponses smile

$acpitemp °C m'affiche "0 °C"

et ${i2c 1-002d temp 1}°C me donne une erreur lorsque je lance conky :

Conky: can't open '/sys/bus/i2c/devices/1-002d/temp1_input': No such file or directory
please check your device or remove this var from Conky

pour tant j'ai bien installé le paquet lm-sensors :^/

vous avez d'autre idée... ? roll

Hors ligne

#667 Le 21/12/2007, à 12:51

Ekinoks

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

Ok, problème résolu ! smile
J'ai utilisé ${i2c temp 2} pour la température du CPU
et pour mes 4 core :

${exec sensors | grep -A 2 '^coretemp-isa-0000' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0001' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0002' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0003' | cut -c15-18 | grep '°'}

pour que cela marche il faut installer et configurer lm-sensors.

Hors ligne

#668 Le 21/12/2007, à 16:49

fonzie_yeah

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

Merci pour la soluce ....

Pour configurer lm-sensors tu t'es aidé de la documentation???:

http://doc.ubuntu-fr.org/materiel/sensors?s=sensors

Dès que j'ai un petit moment, je m'y mets......

Hors ligne

#669 Le 22/12/2007, à 21:09

Ekinoks

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

oui, je me suis effectivement aidé de cette doc ! smile

Hors ligne

#670 Le 23/12/2007, à 10:23

quentin_

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

Salut,
tu ouvres un terminal. Avec la commande Top tu repére le PID qui correspond à  conky. Après

kill PID correspondant

Là  normalement conky disparaà®t, et c'est maintenant que tu fais un alt + F2 pour relancer conky avec la commande "conky"

Cordialement


Le père noël existe-t-il ?
Airis N1105C core 2 duo T7500, 2 Go de RAM, GeForce 8400M GS
Pour un laptop linux allez chez Novatux
Ubuntu 9.10

Hors ligne

#671 Le 23/12/2007, à 10:29

Michel38

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

quentin_ a écrit :

Salut,
tu ouvres un terminal. Avec la commande Top tu repére le PID qui correspond à  conky. Après

kill PID correspondant

Là  normalement conky disparaà®t, et c'est maintenant que tu fais un alt + F2 pour relancer conky avec la commande "conky"

Cordialement

Bonjour,
killall conky marche aussi bien sans connaà®tre le PID


LM18.3 - Kernel: 4.4.0-53-generic i686 (32 bit gcc: 5.4.0) - Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
System: CLEVO (portable)
CPU    : Dual core Intel Core i5-3230M
Card    : Intel 3rd Gen Core processor Graphics Controller

Hors ligne

#672 Le 23/12/2007, à 10:57

Michel38

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

Ekinoks a écrit :

Ok, problème résolu ! smile
J'ai utilisé ${i2c temp 2} pour la température du CPU
et pour mes 4 core :

${exec sensors | grep -A 2 '^coretemp-isa-0000' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0001' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0002' | cut -c15-18 | grep '°'}
${exec sensors | grep -A 2 '^coretemp-isa-0003' | cut -c15-18 | grep '°'}

pour que cela marche il faut installer et configurer lm-sensors.

Bonjour et merci pour l'astuce wink


LM18.3 - Kernel: 4.4.0-53-generic i686 (32 bit gcc: 5.4.0) - Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
System: CLEVO (portable)
CPU    : Dual core Intel Core i5-3230M
Card    : Intel 3rd Gen Core processor Graphics Controller

Hors ligne