Ça y est j'ai enfin sauté le pas : je me suis fais un conky.
Voici ma config.
Installation :
Bien que disponible dans les dépôts de ma Mint 18, Conky n'y est pas proposé très à jour. Je vous invite donc à ajouter le PPA qui va bien.
Ajouter le PPA, faire la mise à jour et installer :
sudo add-apt-repository ppa:vincent-c/conky
sudo apt-get update
sudo apt-get install conky-all
Configuration :
Il faut créer un fichier de configuration : .conkyrc dans votre dossier home. Je vous donne le mien ci-dessous. Sachez que je me suis inspiré de config d'autres utilisateurs (on ne trouve des tonnes !), et qu'il est basé sur l'ancienne version de paramétrage (c'est vachement poussé ce qu'on peut faire avec la nouvelle). En tous cas ça me va très bien et ça marche impec.
Vous penserez ensuite à faire en sorte que Conky se lance au démarrage de l'ordi, cela se passe dans les applications au démarrage : ajouter conky en commande et temporisez de quelques secondes.
Voici mon fichier .conkyrc (pour commodités je l'ai mis en téléchargement en bas -pense à le renommer) :
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
use_xft yes
#on_bottom yes
xftfont Arial:size=10
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
double_buffer yes
minimum_size 280 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
#border_margin 4
border_width 1
default_color 4582B5
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 8
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
TEXT
#${alignc}${color #e49c16}Load: ${color white}$loadavg
${goto 15}${color #ffc11f}${cpugauge cpu0} ${goto 105}${color #ffc11f}${cpugauge cpu1} ${goto 190}${color #ffc11f}${cpugauge cpu2} ${goto 275}${color #ffc11f}${cpugauge cpu3}
${color FFFFFF}${goto 25}${voffset 5}${cpu cpu0}%${goto 115}${cpu cpu1}%${goto 200}${cpu cpu2}%${goto 285}${cpu cpu3}%
${color a5cb92}${goto 22}CPU1${goto 112}CPU2${goto 197}CPU3${goto 282}CPU4
${color #e49c16}CPU Utilisé :${color #FFFFFF} $cpu% ${goto 128}${color #ffc11f}${cpubar}
${color white}${cpugraph ffc11f 8b4b0b}
${color #e49c16}Memoire RAM :${color #FFFFFF} $mem/$memmax - $memperc% ${color #ffc11f}${membar}
${color #e49c16}Utilisation du Swap :${color #FFFFFF} $swap/$swapmax - $swapperc% ${color #ffc11f}${swapbar}
${color #e49c16}Processus : ${color white}$processes ${goto 150}${color #e49c16}En cours : ${color white}$running_processes
${color white}$stippled_hr
# Les Températures #
${color #e49c16}Temperatures et ventilation :
#${color yellow}M/B : ${exec expr `cat /sys/bus/i2c/devices/0-004c/temp1_input` / 1000} C
${color #e49c16}CPU : ${color white}${acpitemp}°C
${color #e49c16}FAN1 : ${color white}${execi 2 sensors | grep 'fan2' | cut -c 22-28}T/m ${goto 150}${color #e49c16}FAN2 : ${color white}${execi 2 sensors | grep 'fan4' | cut -c 22-28}T/m
${color white}$stippled_hr
${color #e49c16}Process ${goto 140}PID ${goto 200}%CPU ${goto 260}%MEM
${color #ffc11f} ${top name 1} ${goto 140}${top pid 1} ${goto 200}${top cpu 1} ${goto 260}${top mem 1}
${color white} ${top name 2} ${goto 140}${top pid 2} ${goto 200}${top cpu 2} ${goto 260}${top mem 2}
${color white} ${top name 3} ${goto 140}${top pid 3} ${goto 200}${top cpu 3} ${goto 260}${top mem 3}
${color white} ${top name 4} ${goto 140}${top pid 4} ${goto 200}${top cpu 4} ${goto 260}${top mem 4}
${color white} ${top name 5} ${goto 140}${top pid 5} ${goto 200}${top cpu 5} ${goto 260}${top mem 5}
${color #e49c16}Memoire
${color #ffc11f} ${top_mem name 1} ${goto 140}${top_mem pid 1} ${goto 200}${top_mem cpu 1} ${goto 260}${top_mem mem 1}
${color white} ${top_mem name 2} ${goto 140}${top_mem pid 2} ${goto 200}${top_mem cpu 2} ${goto 260}${top_mem mem 2}
${color white} ${top_mem name 3} ${goto 140}${top_mem pid 3} ${goto 200}${top_mem cpu 3} ${goto 260}${top_mem mem 3}
${color white} ${top_mem name 4} ${goto 140}${top_mem pid 4} ${goto 200}${top_mem cpu 4} ${goto 260}${top_mem mem 4}
${color white} ${top_mem name 5} ${goto 140}${top_mem pid 5} ${goto 200}${top_mem cpu 5} ${goto 260}${top_mem mem 5}
${color white}$stippled_hr
${color #e49c16}Espace Disque :
${color #e49c16}SSD: ${color #FFFFFF}${fs_free /}/${fs_size /} ${color #ffc11f}${fs_bar /}
${color white}$stippled_hr
${color #e49c16}Reseau :
#${color #FFFFFF}IP Locale ${addr eth0} - IP Publique
${color #e49c16}Download :${color white} ${downspeed eth0} k/s${color white} ${goto 170}${color #e49c16}Upload :${color white} ${upspeed eth0} k/s
${color #FFFFFF}${downspeedgraph eth0 40,160 8b4b0b ffc11f} ${color #FFFFFF}${upspeedgraph eth0 40,160 ffc11f 8b4b0b}
${color #e49c16}Port(s) ouvert(s): ${color a5cb92}${tcp_portmon 1 65535 count}
${color #ffc11f} ${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0}
${color white} ${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5}
${color white}$stippled_hr
# Infos diverses ordinateur #
${color #e49c16}${alignc}Connecté-e-s : ${color ffffff}${user_names}
${color a5cb92}Uptime : ${color FFFFFF}${uptime_short} ${color ffffff}${alignr}${nodename}
${color a5cb92}Processus : ${color FFFFFF}${processes} ${color a5cb92}${alignr}${execi 65000 cat /etc/issue.net} ${color ffffff}$machine
${color a5cb92}En cours : ${color FFFFFF}${running_processes} ${color a5cb92}${alignr}Kernel : ${color ffffff}${kernel}