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.

#1351 Le 04/06/2008, à 11:28

cam

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

Moi aussi jle veux bien vot' wallpaper tongue L'avez trouvé où?

Hors ligne

#1352 Le 04/06/2008, à 11:39

sandoliv

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


Kubuntu Karmic Koala 64bits ! KDE SC 4.4.2
Eeepc => kubuntu Karmic netbook kde 4.3.5

Hors ligne

#1353 Le 04/06/2008, à 11:39

cam

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

Merci big_smile

Hors ligne

#1354 Le 04/06/2008, à 17:08

Oreste visari

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

Merci sandoliv !


Ubuntu 16.04 - Asus UX303L

Hors ligne

#1355 Le 04/06/2008, à 20:42

cam

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

Il est pas mal du tout ce wallpaper lol Bien vu également pour l'heure wink
Vive le monde du libre, on partage toutes no idées c'est merveilleux lol

Donc revoilà le mien et à la suite sa configuration:


Le script de lancement des conkyrc:

#!/bin/bash
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`;   #transparence conky pour kde
killall conky;
sleep 5 && conky -u 1 -d -c ~/.conky/conkyrc_time		#attente de 5 secondes avant de lancer le premier conkyrc
sleep 1 && conky -u 2 -d -c ~/.conky/conkyrc		#attente de 1 secondes avant de lancer chaque conkyrc suivants
sleep 1 && conky -u 3 -d -c ~/.conky/conkyrc_drives
sleep 1 && conky -u 4 -d -c ~/.conky/conkyrc_log
sleep 1 && conky -u 5 -d -c ~/.conky/conkyrc_amarok
exit

Le conkyrc_time:

# 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 URW Gothic L: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

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

# 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 50
gap_y 200

# 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

# stuff after 'TEXT' will be formatted on screen
TEXT
${font URW Gothic L:pixelsize=45}
${alignr}${color #FFFFDD}${time %k:%M}${font URW Gothic L:pixelsize=11}
${color #AECD0F}${voffset -14}${offset 72}${time %A %d %B}

Le conkyrc:

# 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 URW Gothic L: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 280 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 no

# 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 50
gap_y 350

# 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

# 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

${alignr}${color #FFFFDD}Uptime ${color #249FA1}${uptime_short}
${alignr}${color #FFFFDD}Kubuntu Hardy Heron ${color #249FA1}$kernel
${alignr}${color #FFFFDD}Intel Core2Duo @ $freq_dyn_g GHz ${color #249FA1}${cpu cpu} %
${alignr}${color #FFFFDD}Ram used ${exec free -m | awk '$0~"-/+" {print $3}'} Mo  |  Ram cached ${exec free -m | awk '$0~"Mem" {print $7}'} Mo  |  Total $mem/$memmax ${color #249FA1}$memperc %${color #FFFFDD}
${alignr}IP ${addr eth0}  |  Download ${color #249FA1}${downspeed eth0} k/s ${color #FFFFDD} |  Upload ${color #249FA1}${upspeed eth0} k/s

${color #000000}${hr 2}

${alignr}${color #AECD0F}Boinc
${alignr}${color #FFFFDD}${execi 10 perl ~/.conky/boinc.pl}

Le conkyrc_drives:

# 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 URW Gothic L: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 280 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 no

# 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 130
gap_y 40

# 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

# stuff after 'TEXT' will be formatted on screen
TEXT
${alignc}${color #FFFFDD}/ ${fs_used /} / ${fs_size /}${color #249FA1} ${fs_free_perc /} % free${color #FFFFDD}  |  /home ${fs_used /home} / ${fs_size /home}${color #249FA1} ${fs_free_perc /home} % free${color #FFFFDD} | Etch ${fs_used /media/etch} / ${fs_size /media/etch}${color #249FA1} ${fs_free_perc /media/etch} % free  ${color #FFFFDD} |  Etch home ${fs_used /media/etch_home} / ${fs_size /media/etch_home}${color #249FA1} ${fs_free_perc /media/etch_home} % free  ${color #FFFFDD}| Janbeuhnoix ${fs_used /media/janbeuhnoix} / ${fs_size /media/janbeuhnoix}${color #249FA1} ${fs_free_perc /media/janbeuhnoix} % free${color #FFFFDD} | Share ${fs_used /media/share} / ${fs_size /media/share}${color #249FA1} ${fs_free_perc /media/share} % free${color #FFFFDD} | Windows ${fs_used /media/windows} / ${fs_size /media/windows}${color #249FA1} ${fs_free_perc /media/windows} % free  ${color #FFFFDD}

Le conkyrc_log:

# 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 URW Gothic L: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

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

# 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 50
gap_y 90

# 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

# stuff after 'TEXT' will be formatted on screen
TEXT
${alignr}${color #AECD0F}/var/log/messages
${alignr}${color #FFFFDD}${exec tail -n4 /var/log/messages}

Le conkyrc_amarok:

# 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 URW Gothic L: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 280 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 no

# 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 50
gap_y 180

# 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

# stuff after 'TEXT' will be formatted on screen
TEXT
${alignr}${color #FFFFDD}${if_running amarokapp} Amarok
${alignr}${execi 1 ~/.conky/amarok artist}  |  ${execi 1 ~/.conky/amarok album}  |  ${execi 1 ~/.conky/amarok title}
${color #AECD0F}${execibar 1 ~/.conky/amarok progress}$endif

${color #000000}${hr 2}

Et le boinc.pl qui à été développé par hodge24 du forum ubuntu.org:

#!/usr/bin/perl

$BoincStatePath="/var/lib/boinc-client";
$BoincClientStateFile="client_state.xml";

$StateFile="$BoincStatePath/$BoincClientStateFile";

open(INFO, $StateFile);
@lines = <INFO>;
close(INFO);

sub strip_tags($);
sub convert_time_to_string($);
sub estimate_time_remaining;
$projectCount = 0;
$wuCount = 0;
$wuActive = 0;
$wuActiveTask = 0;

foreach $line (@lines) {
   if ($line =~ /<master_url>/) {
      $projectMasterURL[$projectCount] = strip_tags($line);
   }

   if ($line =~ /<project_name>/) {
      $projectName[$projectCount] = strip_tags($line);
      $projectCount++;
   }
   
   if ($line =~ /<workunit>/) {
      $wuCount++;
   }
   if ($line =~ /<active_task_state>1/) {
      $wuActive++;
   }
   if ($line =~ /<active_task>/) {
      $wuActiveTask++;
   }
   if ($line =~ /<result_name>/) {
      $wuName[$wuActiveTask] = strip_tags($line);
   }
   if ($line =~ /<fraction_done>/) {
      $wuPercent[$wuActiveTask] = strip_tags($line) * 100;
   }
   if ($line =~ /<project_master_url>/) {
      $wuMasterURL[$wuActiveTask] = strip_tags($line);
   }
   if ($line =~ /<current_cpu_time>/) {
      $wuCPUTime[$wuActiveTask] = convert_time_to_string(strip_tags($line));
      $wuCPUTimeRaw[$wuActiveTask] = strip_tags($line);
   }
}

print "Number of Work Units: ".$wuCount.", Active Work Units: ".$wuActive."\n";

for($i = 0; $i <= $projectCount; ++$i) {
   print $projectName[$i];
   for ($j = 1; $j <= $wuActiveTask; ++$j) {
      if($projectMasterURL[$i] eq $wuMasterURL[$j]) {
         print "Work Unit  :  ".$wuName[$j];
         $estTime = convert_time_to_string(estimate_time_remaining($wuCPUTimeRaw[$j],$wuPercent[$j]));
         print "CPU Time: ".$wuCPUTime[$j]." Time Remaining: ".$estTime."\n";
         print $wuPercent[$j]."% Complete\n";
      }
   }
}

sub strip_tags($) {
   my $string = shift;
   $string =~ s/<(.*?)>//gi;
   $string =~ s/ //gi;
   return $string;
}

sub convert_time_to_string($) {
   $cpuTime = int($_[0]);

   #Calculate the number of days
   if ($cpuTime > 86400) {
      $timeDays = $cpuTime/(24*60*60).":";
   } else {
      $timeDays = "";
   }
   
   #Calculate the number of hours and minutes 
   $timeHours = ($cpuTime/(60*60))%24;
   $timeMinutes = ($cpuTime/60)%60;
   $timeSeconds = $cpuTime%60;

   $cpuTimeString = $timeDays.$timeHours.":".$timeMinutes.":".$timeSeconds;

   return $cpuTimeString;
}

sub estimate_time_remaining {
   $cpuTime = $_[0];
   $currentPercent = $_[1];
   $onePercentTime = $cpuTime/$currentPercent;
   $totalTime = $onePercentTime * 100;
   $estimatedTimeReminaing = $totalTime - $cpuTime;
   return $estimatedTimeReminaing;
}

Pour ce qui est du boinc.pl, il ne fonctionne pas très bien chez moi, j'ai demandé un coup de main au dev car je ne connais pas le perl. Il devrait m'aider je pense et j'en ferai profiter tout le monde quand ce fonctionnel smile (Pour ceux que ça intéresses, le fil sur ubuntu.org ici.

Hors ligne

#1356 Le 04/06/2008, à 20:45

cam

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

Mertt' ça part en sucette à l'édition, donc finalement je mets ici le screen tongue

642940a3c49291a3126ba54df3f47tt.jpg


Chais pas pourquoi ça merde avec le boinc.pl pour tant je devrais avoir la même chose que en console hmm C'est à dire ça:

cam@hardy:~/.conky$ ./boinc.pl
Number of Work Units: 8, Active Work Units: 2
Einstein@Home
Work Unit  :  h1_1060.85_S5R3__391_S5R3b_1
CPU Time: 3:1:26 Time Remaining: 2:32:21
54.3569% Complete
proteins@home
SETI@home
Work Unit  :  05mr08ad.12100.200913.14.8.183_1
CPU Time: 1:57:2 Time Remaining: 0:39:57
74.545% Complete
WorldCommunityGrid
Work Unit  :  X0000046711358200502171355_1
CPU Time: 2:41:46 Time Remaining: 0:55:19
74.5141% Complete
RieselSieveProject
Work Unit  :  riesel-llr_146561-3139114_1
CPU Time: 3:44:21 Time Remaining: 2:46:54
57.34% Complete

Dernière modification par cam (Le 04/06/2008, à 21:53)

Hors ligne

#1357 Le 05/06/2008, à 01:15

Ekinoks

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

cam> Cool t'a fait un scpite pour Amarok ? smile
Ca serais possible d'avoir sont contenue ^^ ? (~/.conky/amarok)

Hors ligne

#1358 Le 05/06/2008, à 05:58

cam

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

Il n'est pas de moi tongue Je l'ai trouvé sur ce topic. Par contre j'ai essayé à un moment de rajouter un affichage de la pochette de l'album mais j'ai pas cherché bien logtemps. (c'est pour ça qu'a la lecture de ce fichier on se dit qu'on peut avoir la cover..... mais en fait non lol)

#!/bin/bash
# amaroK info display script by eirc <eirc.eirc@gmail.com>

case "$1" in

# Now Playing Info
artist)             dcop amarok player artist ;;
title)              dcop amarok player title ;;
album)              dcop amarok player album ;;
year)               dcop amarok player year ;;
genre)              dcop amarok player genre ;;
trackCurrentTime)   dcop amarok player trackCurrentTime ;;
trackCurrentTimeMs) dcop amarok player trackCurrentTimeMs ;;
trackTotalTime)     dcop amarok player trackTotalTime ;;
coverImage)         dcop amarok player coverImage ;;
progress)
    curr=`dcop amarok player trackCurrentTime`
    tot=`dcop amarok player trackTotalTime`
    if (( $tot )); then
        expr $curr \* 100  / $tot
    fi
    ;;
esac

oualla smile

Dernière modification par cam (Le 05/06/2008, à 05:59)

Hors ligne

#1359 Le 05/06/2008, à 06:38

DeeTay

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

En fait moi j'ai pas compris le coup du "filtre.awk"...

#1360 Le 05/06/2008, à 07:12

cam

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

DeeTay a écrit :

En fait moi j'ai pas compris le coup du "filtre.awk"...

gné? smile

Hors ligne

#1361 Le 05/06/2008, à 17:35

rOm_08

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

Bonjour,

J'ai voulu activer les contour sur mon conky mais presque tout est illisible :s

y a t'il autre chose a modifier ?

Merci.

conkyyx4.jpg


Ubuntu Lucid Lynx 10.4 | Asus P5E Deluxe | Core2Quad Q9550 | ATI HD4870 512Mo | 4Go de RAM | Coolermaster Real Power M620 | Hitachi 1To

Hors ligne

#1362 Le 05/06/2008, à 17:51

Lenezir

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

Salut ^^
Commente la variable "default_shade_color".

Hors ligne

#1363 Le 05/06/2008, à 18:05

rOm_08

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

Sa fait pareil.


Ubuntu Lucid Lynx 10.4 | Asus P5E Deluxe | Core2Quad Q9550 | ATI HD4870 512Mo | 4Go de RAM | Coolermaster Real Power M620 | Hitachi 1To

Hors ligne

#1364 Le 05/06/2008, à 18:25

Lenezir

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

Poste ton conky alors qu'on regarde ça.

Hors ligne

#1365 Le 05/06/2008, à 18:48

rOm_08

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

J'ai trouver en faite j'avais predefinis une couleur sur ces éléments.

J'ai donc enlever le code couleur et c'est tout bon smile


Ubuntu Lucid Lynx 10.4 | Asus P5E Deluxe | Core2Quad Q9550 | ATI HD4870 512Mo | 4Go de RAM | Coolermaster Real Power M620 | Hitachi 1To

Hors ligne

#1366 Le 06/06/2008, à 01:54

Ekinoks

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

cam> Merci ! smile

DeeTay> "filtre.awk" est un programme "awk" qui formate le résultat de la ligne de commande "amulecmd -c "show dl"".
Le résultat après ce formatage est une liste de ligne de la forme : "Nom Vitesse %"
Cette liste est trié avec "sort" en fonction du "%".
et pour terminer le resultat de tout ca est mis dans un fichier "~/tmp"

Pour la suite, on afficher le contenue du "~/tmp" avec conky (on utilise une foi encore "awk" pour selectionner la ligne et la collone que l'on veux dans le fichier "~/tmp")

PS : j'ai rajouter la fonction if_running pour ne pas faire planter conky si jamais amuled n'est pas lancé ^^

${color2}${stippled_hr}
${color0}${font Webdings:style=Regular:pixelsyze=8}i${font}aMule ${if_running amuled}(${color3}${texeci 5 amulecmd -c status | awk '/ > Download:/ { print $3$4}'}${color0} / ${color1}${texeci 5 amulecmd -c status | awk '/ > Upload:/ { print $3$4}'}${color0})${execi 5 amulecmd -c "show dl" | awk -f ~/filtre.awk | sort -k 2 -r > ~/tmp}
${color0}${if_empty ${exec awk 'NR==1{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==1{ print $1 }' tmp} ${if_empty ${exec awk 'NR==1{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==1{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==1{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==2{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==2{ print $1 }' tmp} ${if_empty ${exec awk 'NR==2{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==2{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==2{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==3{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==3{ print $1 }' tmp} ${if_empty ${exec awk 'NR==3{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==3{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==3{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==4{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==4{ print $1 }' tmp} ${if_empty ${exec awk 'NR==4{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==4{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==4{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==5{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==5{ print $1 }' tmp} ${if_empty ${exec awk 'NR==5{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==5{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==5{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==6{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==6{ print $1 }' tmp} ${if_empty ${exec awk 'NR==6{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==6{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==6{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==7{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==7{ print $1 }' tmp} ${if_empty ${exec awk 'NR==7{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==7{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==7{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==8{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==8{ print $1 }' tmp} ${if_empty ${exec awk 'NR==8{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==8{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==8{ print $2 }' tmp}${endif} 
${color0}${if_empty ${exec awk 'NR==9{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==9{ print $1 }' tmp} ${if_empty ${exec awk 'NR==9{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==9{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==9{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==10{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==10{ print $1 }' tmp} ${if_empty ${exec awk 'NR==10{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==10{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==10{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==11{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==11{ print $1 }' tmp} ${if_empty ${exec awk 'NR==11{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==11{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==11{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==12{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==12{ print $1 }' tmp} ${if_empty ${exec awk 'NR==12{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==12{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==12{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==13{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==13{ print $1 }' tmp} ${if_empty ${exec awk 'NR==13{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==13{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==13{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==14{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==14{ print $1 }' tmp} ${if_empty ${exec awk 'NR==14{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==14{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==14{ print $2 }' tmp}${endif}
${color0}${if_empty ${exec awk 'NR==15{ print $1 }' tmp}}${else}${texeci 5 awk 'NR==15{ print $1 }' tmp} ${if_empty ${exec awk 'NR==15{ print $3 }' tmp}}${else}(${color3}${texeci 5 awk 'NR==15{ print $3 }' tmp}${color0})${endif}${color3}${alignr 90}${execibar 5 awk 'NR==15{ print $2 }' tmp}${endif}
$else${color1}Arrêté
$endif

Le filtre.awk reste inchangé : http://forum.ubuntu-fr.org/viewtopic.ph … 4#p1814394

Hors ligne

#1367 Le 06/06/2008, à 11:44

cam

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

Le problème du boinc.pl est ré"solu en utilisant un exec et pas un execi dans conky. Je sais pas pourquoi il avait mis ça mais bon maintenant ça fonctionne impec' big_smile

Hors ligne

#1368 Le 06/06/2008, à 18:27

sweetthdevil

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

Bonsoir,

Sa fais plaisir que ce topic reprenne vie.

Deux questions:

1) Je cherche un script, pour afficher une notes de tomboy sur mon Cony, pour le moment j'utilise celui disponible a ici
Cela marche, mais a chaque fois que le script se met a jour, cela lance tomboy, et si tomboy est lance, et que la note en question a été édité le script renvoi un "Empty Log File".

2)J'utilise le script pour afficher les informations de lecture d'amarok, premièrement si amarok n'est lance cela renvoi quelques erreurs et de connections DHCP (de mémoire) Alors existe t'il un moyen de détourner cela?
Et ensuite, dans ce meme script amarok, la barre d'avancement de la chanson, je voulais avoir une couleur différentes entre le contour et l'intérieur.

Merci

Hors ligne

#1369 Le 07/06/2008, à 21:23

tof54

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

ouf ! 50 pages de lecture (une aprem faut vraiment le vouloir tongue)
en même temps 50 page de scripter à remercier car je m'en suit également beaucoup inspiré

mon conkyrc :

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
maximum_width 310
minimum_size 310 5
override_utf8_locale yes
use_spacer no

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

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

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

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

total_run_times 0

# utiliser sa propre fenetre ?
own_window yes

#pseudo transparence?
own_window_transparent yes

#Nom de la fenetre pour compiz
own_window_title gfxconky

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

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

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

# largeur du contour
border_width 1

# couleur par defaut du texte, de l'ombre et du contour
default_shade_color black
default_outline_color black
#définition des couleurs
color 	yellow
color2	ff1717
color3	1717ff
color4	white
color5	#ddaa00

#emplacement
alignment bottom_right

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

# 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

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

#affiche le texte sur la sortie standard
out_to_console no

###################################################################################################################################"

TEXT
${color blue}Ordinateur $hr ${color red}
${font openlogos:size=18}u ${color}${font Star Jedi:size=12}$nodename$font
${color5}${font}${exec cat /etc/lsb-release | grep DISTRIB_DESCRIPTION | cut -d "=" -f2 }-${exec cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d "=" -f2 }
${color #ddaa00}Nous somme le : $color ${time %A %d %B %Y} - ${time %H:%M:%S}
${alignc}${font}$sysname $kernel sur $machine $freq_g GHz

${color blue}Informations Systeme $hr
$color Uptime: $uptime - Load: $loadavg
CPU Usage: $alignr$cpu%
${color #ddaa00}${cpubar}$color 
${cpugraph ff1717 1717ff}
RAM Usage: $alignr$mem/$memmax - $memperc%
${color #ddaa00}${membar}$color
Swap Usage: $alignr$swap/$swapmax - $swapperc% ${color #ddaa00}
${swapbar}$color
Processes: $processes  Running: $running_processes

${color blue}Processus $hr
${color #ddaa00}Name              PID     CPU%   MEM% $color
${color4} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ddaa00}Mem usage
${color4} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
 ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
 ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}$color

${color blue}Espace disques $hr
${color4}/ $alignr${fs_used /}/${fs_size /} - ${fs_used_perc /}% $color
${color ddaa00}${fs_bar /}
${color4}/home $alignr${fs_used /home}/${fs_size /home} - ${fs_used_perc /home}% $color
${color #ddaa00}${fs_bar /home}$color
${color4}/bigspace $alignr${fs_used /media/bigspace}/${fs_size /media/bigspace} - ${fs_used_perc /media/bigspace}% $color
${color #ddaa00}${fs_bar /media/bigspace} $color

${color blue}Media amovibles $hr
${color4}Clé USB :${if_mounted /media/disk} montée $alignr${fs_used /media/disk}/${fs_size /media/disk} - ${fs_used_perc /media/disk}%
${color #ddaa00}${fs_bar 6 /media/disk}$color$else non monté $endif
Graveur DVD :${if_mounted /media/cdrom0} monté$else non monté $endif
Graveur CD :${if_mounted /media/cdrom1} monté$else non monté $endif $color

${color blue}Reseau $hr
${color4}${font :bold:size=8}Signal : ${font :size=8}$alignr${wireless_link_qual_perc eth1}
IP Publique: ${color5} ${execi 1800 wget -O - http://ip.tupeux.com | tail}
IP Locale (eth0): ${color #ddaa00}${addr eth0}
${alignc}-----------------
$color DL: ${color #ddaa00}${totaldown eth0} $color ${offset 72} UP: ${color #ddaa00}${totalup eth0}
$color Entrant: ${color #ddaa00}${downspeed eth0}k/s$color ${offset 65}Sortant: ${color #ddaa00}${upspeed eth0}k/s
$color ${downspeedgraph eth0 25,170 FFFF00 ddaa00} $alignr$color${upspeedgraph eth0 25,170 FFFF00 ddaa00}

${color blue}Port(s) $hr
${color green}Port(s) ouvert(s)  ${color4}${tcp_portmon 1 65535 count}
${color4} ${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}

et mon screnshot :

http://img369.imageshack.us/my.php?image=capturebi4.png

j'avais 3 questions :
- comment cela ce fait-il que l'update se fasse aléatoirement alors que j'ais bien demandé touts les secondes ? update_interval 1.0

- ensuite : même si beaucoup de personne en parle je n'arrive encore pas à faire marcher la météo ni températures pour moi, quelqu'un pourrait-il m'aider smile

- enfin, je n'arrive à avoir aucune températures en ce qui concerne mon ordinateur (CPU, DD, etc.)

j'espère avoir été assez clair, sinon n'hésiterez pas je suis la pour compléter si besoin est.
merci d'avance

#1370 Le 08/06/2008, à 07:20

bmar

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

Bonjour,

Voici mon nouveau bureau, réalisé grâce à certains des vôtres qui m'ont inspiré.


Soyez vous-même le changement que vous voulez voir dans le Monde - Gandhi

Hors ligne

#1371 Le 08/06/2008, à 08:47

Lenezir

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

tof54 a écrit :

j'avais 3 questions :
- comment cela ce fait-il que l'update se fasse aléatoirement alors que j'ais bien demandé touts les secondes ? update_interval 1.0

- ensuite : même si beaucoup de personne en parle je n'arrive encore pas à faire marcher la météo ni températures pour moi, quelqu'un pourrait-il m'aider smile

- enfin, je n'arrive à avoir aucune températures en ce qui concerne mon ordinateur (CPU, DD, etc.)

Salut ^^
-Alors le update_interval ne fais que rafraîchir le Conky en lui-même, pas les données qu'il contient (ça se fait tout seul).

- Pour la météo il faut utiliser un petit script "weather.sh" que tu devrais trouver dans ce post. (Rebelote pour la lecture intégrale big_smile)
Trouve le code de ta ville sur le site weather.com (par exemple pour Fréjus le code est FRXX0040).

- Pour la température va voir du côté de lm-sensors (http://doc.ubuntu-fr.org/lm-sensors).

@bmar : tu peux mettre le code de tes conky stp ? big_smile

Dernière modification par Imoreion (Le 08/06/2008, à 08:48)

Hors ligne

#1372 Le 08/06/2008, à 09:33

bmar

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

Imoreion a écrit :

@bmar : tu peux mettre le code de tes conky stp ? big_smile

Oups, tu as raison, il était bien tôt ce matin, je n'y ai pas pensé roll
Aussi, je cherche une astuce pour remplacer les mots "down" et "up" par une flêche correspondante, mais la police que j'utilise n'en a pas. Y-a-t'y moyen ??

use_xft yes
xftfont OldSansBlack:size=10
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
double_buffer yes
#largeur maximale de la fenetre
maximum_width 1120
#largeur minimale de la fenetre 
minimum_size 1120
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_margin 0
border_width 0
default_color white
#default_shade_color black
#default_outline_color black
alignment bottom_left
gap_x 5
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 4
net_avg_samples 4
override_utf8_locale yes
use_spacer no

##############################################
##############################################
TEXT
${color grey}$kernel  |  cpu0@${freq_g cpu0}Ghz: ${color white}${cpugraph cpu0 10, 50 182DE1 182DE1}${color grey}  cpu1@${freq_g cpu1}Ghz: ${color white}${cpugraph cpu1 10, 50 AF0C7A AF0C7A}${color grey}   |   ram : $mem ($memperc%) ${color white}${membar 8,50}${color grey}   /root ${fs_used /} (${fs_free_perc /}%) ${color white}${fs_bar 8,75 /}${color grey}   /home ${fs_used /home} (${fs_free_perc /home}%) ${color white}${fs_bar 8,75 /home}${color grey}
$acpitemp° |  wlan0 down : ${downspeed wlan0} k/s ${color white}${downspeedgraph wlan0 10,50 F6F516 F6F516 97}${color grey}   wlan0 up : ${upspeed wlan0} k/s ${color white}${upspeedgraph wlan0 10,50 FF291B FF291B 12}${color grey}   |  eth0 down : ${downspeed eth0} k/s ${color white}${downspeedgraph eth0 10,50 F6F516 F6F516 97}${color grey}  eth0 up : ${upspeed eth0} k/s ${color white}${upspeedgraph eth0 10,50 FF291B FF291B 12}${color grey}  |  Adresse IP locale wlan0: ${color white}${addr wlan0}${color grey} - eth0: ${color white}${addr eth0}${color grey}

Voilaaa !

- edit-
Mince, le code dépasse la largeur de la fenêtre, comment je fais pour remédier à cela ?

Dernière modification par bmar (Le 08/06/2008, à 09:40)


Soyez vous-même le changement que vous voulez voir dans le Monde - Gandhi

Hors ligne

#1373 Le 08/06/2008, à 10:04

tof54

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

sad vraiment dsl oui, toutes mes excuses ! salut tout le monde !
merci Imoreion je vais regarder ça wink

et j'en profite pour demander autre chose si cela est possible ^^ : j'ai tenter de configurer amule, mais je n'y arrive pas, est-ce qu'il y a des parties dans les script de Ekinoks ? car je pense avoir fait tout ce qui était dit alors je suis bloqué aussi sur ce point neutral
merci d'avance

EDIT : je viens de regarder, mon ordi a décidé de me rendre chèvre, il ne reconnais pas la commande "sensors-detect", comment faire ?

comme mon camarade Jerome83, je voudrais savoir comment faire avec Thunderbird comme avec gmail? quelqu'un a une explication ?

EDIT : comment faire pour que le conky soit comme un élément du bureaux ? (i.e. que si je face une sélection multiple (clic enfoncé) le zone passe dessus comme si il faisait partie de l'image, ou que si je place une ficher dessus il ne soit pas caché derrière mais au dessus ?
merci

Dernière modification par tof54 (Le 08/06/2008, à 15:51)

Hors ligne

#1374 Le 08/06/2008, à 17:55

arpbook

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

salut,
@bmar, pour les fleches, tu peux utiliser webdings ( http://fr.fontstock.net/11147/Webdings.html ) qui propose deux styles de fleches .. ou tu peux jeter un coup d'oeil ici ( http://www.fontspace.com/ ) pour trouver des fonts sans avoir à télécharger des paquets entiers avec 300 fonts dedans smile

#1375 Le 08/06/2008, à 22:53

Ekinoks

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

tof54 a écrit :

et j'en profite pour demander autre chose si cela est possible ^^ : j'ai tenter de configurer amule, mais je n'y arrive pas, est-ce qu'il y a des parties dans les script de Ekinoks ? car je pense avoir fait tout ce qui était dit alors je suis bloqué aussi sur ce point neutral
merci d'avance

Ok, je réécrit la procédure au complet ^^

Hors ligne