Salut à tous !
Sans avoir suivi complètement tous les fils… Je me permets de poster ça, car c'est grâce à vous !!
Merci !
use_xft yes
xftfont Ubuntu:size=8
xftalpha 0.8
text_buffer_size 2048
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# 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
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
#double_buffer no
# Fenetre
own_window_class Conky
own_window yes
own_window_type normal #normal(when using GNOME Shell), dock, panel, override ou desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes #for conky transparent or if you use kde, uncomment this line
own_window_transparent no
own_window_argb_value 64
own_window_colour black
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
color1 blue
color2 0022ff
color3 e49c16
# Minimum size of text area
minimum_size 160 768
maximum_width 180
# Alignement du texte
#alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment middle_right
alignment middle_left
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 4
gap_y 0
# Draw shades?
draw_shades no #yes
# Outlines?
draw_outline no #yes
# Borders around text
draw_borders no #yes
stippled_borders 0
border_inner_margin 5
border_width 1
# Subtract file system buffers from used memory?
no_buffers yes
# Tout le texte en MAJUSCULES
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
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${image ~/Dev/Graph.Dev/Logos/BODZ.png -p 20,0 -s 120x40}
${voffset 10}${hr 1}
${goto 10}${font Ubuntu:size=32}${time %H}${font}${voffset -24}${goto 60}${font Ubuntu:style=Bold:size=16}${time : %M}${font}${voffset 4}${goto 120}${time %A}
${alignr}${time %d %b %Y}
${font Ubuntu:size=8:style=Bold}NE PAS OUBLIER${font} ${hr 1}
${exec cat ~/.conky/NePasOublier}
${font Ubuntu:size=8:style=Bold}SYSTEME${font} ${hr 1}
${voffset 2}Kernel: ${alignr}${kernel}
Distro: ${alignr}${exec lsb_release -ds}
${alignr}${exec kded4 -v | grep Démon -m 1}
${alignr}${exec kded4 -v | grep Qt}
CPU1: ${cpu cpu1}% ${alignr}${if_match ${cpu cpu1 } > 40}${if_match ${cpu cpu1} < 80}${color orange}${else}${color red}${endif}${else}${color2}${endif}${cpubar cpu1 8,60}${color}
CPU2: ${cpu cpu2}% ${alignr}${if_match ${cpu cpu2 } > 40}${if_match ${cpu cpu2} < 80}${color orange}${else}${color red}${endif}${else}${color2}${endif}${cpubar cpu2 8,60}${color}
RAM: $memperc% ${alignr}${if_match ${memperc } > 40}${if_match ${memperc} < 80}${color orange}${else}${color red}${endif}${else}${color2}${endif}${membar 8,60}${color}
SWAP: $swapperc% ${alignr}${if_match ${swapperc } > 40}${if_match ${swapperc} < 80}${color orange}${else}${color red}${endif}${else}${color2}${endif}${swapbar 8,60}${color}
Service: ${alignr}${uptime}
${font Ubuntu:size=8:style=Bold}DISQUE DUR${font} ${hr 1}
${voffset 2}${color3}Root:${color}
${fs_used /}/${fs_size /} ${alignr}${color2}${fs_bar 8,60 /}${color}
${color3}Home: ${color}
${fs_used /home}/${fs_size /home} ${alignr}${color2}${fs_bar 8,60 /home}${color}
#${font Ubuntu:size=8:style=Bold}NVIDIA${font} ${hr 1}
#${voffset -4}${font Ubuntu:size=16}N${font}${goto 38}${voffset -8}GPU Temp:${alignr}${font Ubuntu:style=Bold} #${exec nvidia-settings -q GPUCoreTemp | grep Attribute | cut -d ' ' -f 6 | cut -c 1-2}${font}°C
#${goto 38}GPU Clock:${alignr 10}${font Ubuntu:style=Bold} ${exec nvidia-settings -q GPU2DClockFreqs -t}${font}MHz
#${goto 38}Video RAM:${alignr}${font Ubuntu:style=Bold} ${exec nvidia-settings -q VideoRam -t}${font}KiB
#${goto 38}Driver Version:${alignr 2}${font Ubuntu:style=Bold} ${exec nvidia-settings -q NvidiaDriverVersion -t}${font}
#
${font Ubuntu:size=8:style=Bold}PROCESSUS${font} ${hr 1}
${voffset 2}${color3}Utilisation CPU ${color} $alignr MEM CPU
${top name 1} $alignr ${top mem 1} ${top cpu 1}
${top name 2} $alignr ${top mem 2} ${top cpu 2}
${top name 3} $alignr ${top mem 3} ${top cpu 3}
${top name 4} $alignr ${top mem 4} ${top cpu 4}
${voffset 2}${color3}Utilisation MEM ${color}
${top_mem name 1} $alignr ${top_mem mem 1} ${top_mem cpu 1}
${top_mem name 2} $alignr ${top_mem mem 2} ${top_mem cpu 2}
${top_mem name 3} $alignr ${top_mem mem 3} ${top_mem cpu 3}
${top_mem name 4} $alignr ${top_mem mem 4} ${top_mem cpu 4}
${font Ubuntu:size=8:style=Bold}RESEAU${font} ${hr 1}
${if_up wlan0}${color3}WLAN SSID : ${color}${wireless_essid wlan0}
IP Locale : ${addr wlan0}
IP Publique : ${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${color3}Download :${color}
${downspeed wlan0}/s
Total : ${totaldown wlan0} ${voffset -16}$alignr${downspeedgraph wlan0 16,60 0022ff e49c16 -l}
${color3}Upload:${color}
${upspeed wlan0}/s
Total : ${totalup wlan0} ${voffset -16}$alignr${upspeedgraph wlan0 16,60 0022ff e49c16 -l}
${color3}Qualité du signal: ${color}${wireless_link_qual_perc wlan0}%
${color3}Speed :${color} ${wireless_bitrate wlan0}${endif}
${if_existing /proc/net/route eth0}${color3}$ETHERNET ${color}
IP Locale : ${addr eth0}
IP Publique : ${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${color3}Download :${color}
${downspeed eth0}/s$ ${voffset -16}$alignr${downspeedgraph eth0 16,60 0022ff e49c16 -l}
Total : ${totaldown eth0}
${color3}Upload:${color}
${upspeed eth0}/s ${voffset -16}$alignr${upspeedgraph eth0 16,60 0022ff e49c16 -l}
Total : ${totalup eth0}
${color3}Qualité du signal: ${color white}${wireless_link_qual_perc eth0}%
${color3}Speed :${color} ${wireless_bitrate eth0}${endif}
EDIT : Il faut modifier le own_window_type en normal (code modifié) pour que ça fonctionne correctement (si panel utilisé, les fenêtres ne recouvrent pas, dock empeche l'affichage sur toutes la hauteur de l'écran, desktop fait disparaitre conky lorsque le bureau est cliqué).