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.

#126 Le 27/05/2007, à 12:15

mydoom666

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

@carpediem,

Pour les ventillos j'ai trouvé ça :
$acpifan : ACPI ; état ventilateur
$adt746xfan : Vitesse ventilateur via la sonde therm_adt746x

Pour ton screenshot, il y a un problème wink
Va voir ici Héberger vos Images

Hors ligne

#127 Le 27/05/2007, à 14:41

carpediem

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

Merci pour ta réponse mydoom666, j'ai réglé le problème du screenshot mais pas celui de la vitesse de mes ventilateurs big_smile.
http://i15.servimg.com/u/f15/11/29/28/96/captur13.jpg

comme resultat j'ai "nofans?"


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

Hors ligne

#128 Le 27/05/2007, à 14:53

Tannen

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

idem sur mon dell, pas moyen de chopper la vitesse des ventillo

ceci dis, peut etre ce n'est tout simplement pas possible ?

concernant les variable pour audacious , est ce que certain d'entre vous ont réussi à les utiliser ?
le script que Gus61 propose ici fonctionne, mais qu'en est il des variables ? pour moi, ça donne rien, mis à par que ça affiche ${le_nom_de_la_variable}

Edit :
en cherchant un peu ...
pas d'autre solution que de recompiler conky ?

Dernière modification par Tannen (Le 27/05/2007, à 15:29)

Hors ligne

#129 Le 27/05/2007, à 18:01

Astier

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

Une petite question : à quoi correspond exactement la variable "loadavg" parce que la description dans le .conkyrc ne me renseigne pas beaucoup hmm

Merci et à bientôt

Hors ligne

#130 Le 27/05/2007, à 18:07

mydoom666

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

loadavg [1,2,3] : charge moyenne du système : 1 pour la minute passée, 2 pour les 5 dernières minutes, 3 pour les 15 dernières minutes.

Je comprend pas non plus hmm

Hors ligne

#131 Le 27/05/2007, à 19:18

Tannen

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

en fait la charge moyenne du systeme est un indice d'utilisation des resources du processeur me semble il

égal à 1, c'est que l'ensemble de ses ressources sont utilisées, supérieur, c'est que des process sont en attente de libération de ressources pour débuter leur exécution

c'est tout ce que je pense savoir, si je ne me trompe pas sur ce terme

Hors ligne

#132 Le 27/05/2007, à 19:23

Astier

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

Merci ça m'éclaire un peu smile Je poste ici ma nouvelle configuration de conky :  en fait deux fichiers de configuration, lancés par un script :

     - .conkyrc

# 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

override_utf8_locale yes

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

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

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

# 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

# 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
${font Verdana:size=11}$alignc${color #DBAA82}${Time %d %B %Y} - ${color #FFFB00}${time %H:%M:%S}${font Sans:size=8.5}











${color #FF000C}Moniteur Systeme : ${color #DBAA82}${stippled_hr}
${color #DBAA82}$sysname : ${color #565868}$kernel ${color #DBAA82}on ${color #565868}$machine
${color #DBAA82}Uptime : ${color #B6A291}$uptime | ${color #DBAA82}Load : ${color #B6A291}$loadavg 5 
${color #DBAA82}Temp. : ${color #B6A291}CPU : ${color #FFFB00}${acpitemp}°C ${color #DBAA82}| ${color #B6A291}DD : ${color #FFFB00}${execi 10 hddtemp -n /dev/sda}°C

${color #DBAA82}Adaptateur : ${color #FFFB00}${acpiacadapter}
${color #DBAA82}Autonomie : ${battery BAT1} ${battery_time 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 #FF000C}Disques : ${color #DBAA82}${stippled_hr}
${color #DBAA82}/ : ${color #3652FF}${fs_used /} ${color #DBAA82}/ ${fs_size /} (${color #FFFB00}${fs_free_perc /}% ${color #DBAA82}free)
${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}free)
${color #344299}${fs_bar /home}
${color #DBAA82}/Musique : ${color #3652FF}${fs_used /Musique} ${color #DBAA82}/ ${fs_size /Musique} (${color #FFFB00}${fs_free_perc /Musique}% ${color #DBAA82}free)
${color #344299}${fs_bar /Musique}

${color #FF000C}Réseau : ${color #DBAA82}${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}

${color #FF000C}Musique : ${color #DBAA82}${stippled_hr}
$alignc${color #FFFB00}${gmb_title}
$alignc${color #DBAA82}${gmb_artist}
$alignc${color #DBAA82}${gmb_album}
$alignc${color #DBAA82}${gmb_elapsed} / ${gmb_length} (${gmb_percent}%)
${color #3652FF}${gmb_bar (20),(100)}

- .conkyrc2

# 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

override_utf8_locale yes

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

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

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

# 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

# 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 #FF000C}Anniversaires : ${color #DBAA82}${stippled_hr}
${color #DBAA82}${execi 1800 birthday -W 60}

-.conky.sh

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

Et la capture du bureau :
331aa8dddeb82fa896c7a837e63at.jpg

A bientôt.

Dernière modification par Astier (Le 27/05/2007, à 19:30)

Hors ligne

#133 Le 27/05/2007, à 19:31

flarre

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

Pour la charge systeme, on peut la visualiser en temps réel avec l'applet "moniteur systeme", et effectivement quand ça dépasse 1, tout rame... Il vaut mieux aller boire un café et laisser baisser la charge smile

Hors ligne

#134 Le 28/05/2007, à 00:46

al_pha

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

voila le miens ;D insipiré de plusieurs ^^
bcf711808ff96e98aec2a50a178dt.jpg

use_xft yes
xftfont Arial:size=8
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 0
border_margin 0
border_width 0
alignment top_right
gap_x 8
gap_y 65
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override


TEXT


${color white}Clem@ubuntu| nous sommes le ${time %A %d %B %Y} il est ${time %H:%M:%S}
${color white}$stippled_hr
${execi 1800 ~/.conky/weather.sh FRXX0019}
${color white}$stippled_hr
$sysname $kernel sur $machine @ ${color white}$freq_dyn_g GHz
${color white}CPU Temp: ${color #002660}${acpitemp} degres
${color white}IP Locale : ${color #002660}${addr ra0} - ${color white}IP Publique : ${color #002660}${execi 1800 wget -O - http://ip.tupeux.com | tail}
${color white}Allumer depuis :${color #002660} $uptime
${color white}$stippled_hr
${color white}Batterie :
${color white}Adaptateur : ${color #002660}${acpiacadapter}
${color white}Autonomie batterie : ${color #002660}${battery BAT0}
${color white}$stippled_hr
${color white}Usage CPU :${color #ddaa00} $cpu% ${color #002660} ${cpubar}
${color #002660} ${cpugraph 000000 000000}
${color white}Usage RAM :${color #002660} $mem/$memmax - ${color #ddaa00}$memperc% ${color #002660}${membar}
${color white}Processus :${color #002660} $processes ${color #002660}Running:${color #002660} $running_processes
${color white}$stippled_hr
${color white}Reseau
Down: ${color #002660}${downspeed eth0} k/s${color #002660} ${offset 80}Up:${color #002660} ${upspeed eth0} k/s
${color white}$stippled_hr
${color white}Espace Disque :
Principal : ${color #ddaa00}${fs_free /}${color #002660}/${fs_size /} ${fs_bar /}
${color white}My Book : ${color #ddaa00}${fs_free /media/My Book}${color #002660}/${fs_size /media/My Book} ${fs_bar /media/My Book}
${color white}$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 #888888}${top_mem name 2} ${alignr 30}${top_mem pid 2} ${alignr 15}${top_mem mem 2}
${offset 80}${color #888888}${top_mem name 3} ${alignr 30}${top_mem pid 3} ${alignr 15}${top_mem mem 3}
${color white}$stippled_hr

Dernière modification par al_pha (Le 28/05/2007, à 09:29)


ubuntu ?

Hors ligne

#135 Le 28/05/2007, à 08:01

carpediem

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

je cherche toujours à améliorer mon conky, et je voudrai ajouté les anniversaires.

TEXT
${color #FF000C}Anniversaires : ${color #DBAA82}${stippled_hr}
${color #DBAA82}${execi 1800 birthday -W 60}

j'ai ajoute ceci mais comment le configurer cool
pour les ventilos je cherche tjrs, ce n'est peut-être pas possible sad on verra.
salut


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

Hors ligne

#136 Le 28/05/2007, à 10:22

Astier

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

Carpediem, pour les anniversaires, il faut que tu commences par installer birthday

sudo apt-get install birthday

puis tu ajoutes les anniv dans le fichier .birthdays :

gedit .birthdays

sous la forme : X Y=12/16/2007.

Tu peux aussi préférer un affichage direct dans une fenêtre : va voir ce post http://forum.ubuntu-fr.org/viewtopic.php?id=17592

A+

Hors ligne

#137 Le 28/05/2007, à 14:10

HarKoT

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

tiens on est passé sur le forum kubuntu 0_o

Hors ligne

#138 Le 28/05/2007, à 14:50

Astier

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

??

HarKoT : désolé de pas être passé sur le chan depuis un moment, mais entre les mariages et le boulot hmm Ca devrait aller mieux d'ici une semaine.

A+

Hors ligne

#139 Le 28/05/2007, à 16:20

Yden

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

Pour plus de coleur

http://www.htmlgoodies.com/tutorials/colors/article.php/3478961

#140 Le 28/05/2007, à 16:47

HarKoT

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

non c'est bizarre ce matin quand j'ai reçu la notification d'un nouveau message, ça m'a envoyé sur ce topic mais du forum kubuntu (c'etait le meme chose sauf que le theme etait en bleu et que c'etait kubuntu dans la barre d'adresse...)
mais là c'est redevenu normal
(des fois faut pas chercher...)

Hors ligne

#141 Le 29/05/2007, à 05:34

carpediem

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

Merci Astier de ton aide, birthdays fonctionne à merveille wink
carpediem


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

Hors ligne

#142 Le 30/05/2007, à 16:18

Dod39

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

bonjour
grace as vous tous voila mon conky
58c1eb0688f186368825cecb30bat.jpg
fichier conkyrc

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
own_window_type override

TEXT

${color white}Bonjour Dod
${time %A %d %B %Y} - ${time %H:%M:%S}
IP Locale ${addr wlan0} - IP distante: ${color white}${execi 60 wget -O - http://ip.tupeux.com | tail}
$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 00FF00} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color white}RAM Usage:${color 00FF00} $mem/$memmax - $memperc% ${membar}
${color white}Swap Usage:${color 00FF00} $swap/$swapmax - $swapperc% ${color 00FF00}${swapbar}
${color white}Processes:$color $processes ${color white}Running:$color $running_processes
${color #040404}$stippled_hr
${color white}Temperature systeme
${color green} Temp. CPU : ${color #FF0000}${i2c 9191-0290 temp 2} °C
${color yellow} Temp. C/M : ${color #FF0000}${i2c 9191-0290 temp 1} °C
${color #040404}$stippled_hr
${color white}Reseau Wifi Wlan0
Down:${color white} ${downspeed wlan0} k/s${color white} ${offset 80}Up:${color white} ${upspeed wlan0} k/s
${color #0000ff}${downspeedgraph wlan0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph wlan0 32,150 0000ff ff0000}
${color #040404}$stippled_hr
${color white}Espace Disques Ubuntu
${color #7CFC00}/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}
${color #040404}$stippled_hr
${color white}Espace Disques Windows XP & Données
${color #7CFC00}/media/hda1  ${fs_used /media/hda1}/${fs_size /media/hda1}${alignr}${fs_used_perc /media/hda1}%
${fs_bar 8 /media/hda1}
/media/hdb1  ${fs_used /media/hdb1}/${fs_size /media/hdb1}${alignr}${fs_used_perc /media/hdb1}%
${fs_bar 8 /media/hdb1}
${color #040404}$stippled_hr
${color white}Process            PID    %CPU   %MEM
${color yellow} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color yellow} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color yellow} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color yellow} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color yellow} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color white}Memoire
${color yellow} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color yellow} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color yellow} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color yellow} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color yellow} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color #040404}$stippled_hr
${color white}Port(s) ouvert(s): ${color #FF0000}${tcp_portmon 1 65535 count}
${color #FF7F00} ${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 Dod39 (Le 31/05/2007, à 00:06)

Hors ligne

#143 Le 30/05/2007, à 16:21

HarKoT

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

balise code !!!!!!!;)
+ une miniature ça aurait été mieux
et enfin : il est où conky ?:lol:

EDIT :c'est mieux smile (mais il manque encore la balise code)

Dernière modification par HarKoT (Le 30/05/2007, à 16:32)

Hors ligne

#144 Le 30/05/2007, à 21:05

adam0509

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

Hellow, 2 problèmes :


Downspeed et upspeed ne marchent pas !!


Et pour audacious :

$ audtool --current-song-output-length-seconds
audtool: audacious server is not running!

Le problème c'est que sur mon script ça fait gros, et comme c'est répété 2 fois sur la même ligne, ça déforme tout mon conky !!!

Bien sur, ça ne le fais que quand audacious est pas lancé... smile


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

#145 Le 30/05/2007, à 21:22

HarKoT

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

lol dod t'as carrement enlevé le code là :s

faut mettre ça dans des balises "code" (c'est pour eviter que ça s'etale, ça met un ascenseur à la place wink)

Hors ligne

#146 Le 31/05/2007, à 06:05

Astier

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

adam0509 a écrit :

Hellow, 2 problèmes :


Downspeed et upspeed ne marchent pas !!


Et pour audacious :

$ audtool --current-song-output-length-seconds
audtool: audacious server is not running!

Le problème c'est que sur mon script ça fait gros, et comme c'est répété 2 fois sur la même ligne, ça déforme tout mon conky !!!

Bien sur, ça ne le fais que quand audacious est pas lancé... smile

Dans les paramètres, tu dois en avoir un qui s'appelle "maximum width" : là il suffit que tu entres la valeur que tu souhaite au maximum pour conky et ça devrait régler le problème.

Essayes plusieurs valeurs en les réduisant de plus en plus si ça ne change rien la première fois ; chez moi j'avais le même problème avec le changement de piste avec mpd_title.

A+

Hors ligne

#147 Le 31/05/2007, à 07:13

carpediem

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

Salut à tous, grâce à votre aide j'ai put améliorer mon conky

Mon bureau
http://i16.servimg.com/u/f16/11/29/28/96/captur11.jpg

serait-il possible d'avoir birthdays en français ?
Merci

Dernière modification par carpediem (Le 31/05/2007, à 07:16)


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

Hors ligne

#148 Le 31/05/2007, à 17:27

adam0509

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

Astier a écrit :

Dans les paramètres, tu dois en avoir un qui s'appelle "maximum width" : là il suffit que tu entres la valeur que tu souhaite au maximum pour conky et ça devrait régler le problème.

Essayes plusieurs valeurs en les réduisant de plus en plus si ça ne change rien la première fois ; chez moi j'avais le même problème avec le changement de piste avec mpd_title.

A+

Merci beaucoup !!!

Et sinon pour Downspeed et upspeed qui ne marchent pas ???


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

#149 Le 31/05/2007, à 20:08

Tannen

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

${downspeed eth0}
${upspeed eth0}

par exemple, et si besoin, remplace eth0 par la bonne interface

si ça ne fonctionne toujours pas, montre nous ton .conkyrc et dis nous ce que tu souhaite réellement pour les info réseau

Hors ligne

#150 Le 31/05/2007, à 20:59

adam0509

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

$ downspeed eth1
bash: downspeed : commande introuvable

J'utilise feisty fawn... >_<

Dernière modification par adam0509 (Le 31/05/2007, à 20:59)


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