Archives par mot-clé : geekisme

Conquis par conky ^^

Bijour à tous …

Alors voilà … on dit souvent que je suis un geek et …

Aujourd’hui j’ai eu la preuve que je n’étais pas encore un geek ^^, je viens de découvrir conky sur le forum d’ubuntu-fr!

(mais non c’est pas mon ip qui est sur le screen ^^ … en tout cas ça ne l’est plus ;))

Si ça claque pas ça ^^, donc voila … si vous voulez ressembler à un geek et que vous avez Ubuntu, prenez le temps de faire un rapide :

sudo apt-get install conky

et d’éditer le fichier .conkyrc (dans le home) ou de le créer si il n’existe pas et de mettre ceci (si vous voulez bien sûr le même affichage que moi ^^) :

background        no
update_interval        1.0
double_buffer        yes

use_xft            yes
override_utf8_locale
xftfont            Sans:size=8
xftalpha        0.8

own_window        yes
own_window_transparent    yes
own_window_type        override
own_window_hints    undecorated,below,sticky,skip_taskbar,skip_pager
#on_bottom        yes

minimum_size        280 5
draw_shades        no
draw_outline        no
draw_borders        no
draw_graph_borders    yes
stippled_borders    0
border_margin        3
border_width        0

default_color        white
default_shade_color    black
default_outline_color    black

alignment top_right
gap_x            6
gap_y            48

no_buffers        yes

##${color white}CG :

TEXT
$nodename - $sysname $kernel on $machine

${color #e49c16}Uptime:$color $uptime ${color #FFFFFF}- Load:$color $loadavg
${color #e49c16}CPU Utilisé :${color #FFFFFF} $cpu% ${color #ffc11f}${cpubar}
${color white}${cpugraph ffc11f 8b4b0b}
${color #e49c16}Mémoire 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 $processes   ${color #e49c16}En cours : $color $running_processes

$color$stippled_hr

${color #e49c16}Espace Disque Libre :
${color #FFFFFF}Root : ${color #FFFFFF}${fs_free_perc /}%         ${color #ffc11f}${fs_bar /}
${color #FFFFFF}/home : ${color #FFFFFF}${fs_free_perc /home}%      ${color #ffc11f}${fs_bar /home}
${color #FFFFFF}DD :${if_mounted /media/disk} ${color #FFFFFF}${fs_free_perc /media/disk}% ${color #ffc11f}${fs_bar /media/disk}$color$else Not connected$endif
${color #FFFFFF}DD :${if_mounted /media/disk0} ${color #FFFFFF}${fs_free_perc /media/disk0}% ${color #ffc11f}${fs_bar /media/disk0}$color$else Not connected$endif

$stippled_hr
${color #e49c16}Reseau : ${color #FFFFFF}IP : ${addr eth0}
${color #e49c16}Download :${color white} ${downspeed eth0} k/s${color white} ${offset 80}${color #e49c16}Upload:${color white} ${upspeed eth0} k/s
${color #FFFFFF}${downspeedgraph eth0 32,150 8b4b0b ffc11f} ${color #FFFFFF}${upspeedgraph eth0 32,150 ffc11f 8b4b0b}

$stippled_hr

${color #e49c16}Port(s) ouvert(s): ${color #e49c16}${tcp_portmon 1 65535 count}
${color white} ${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}

$stippled_hr

${color #e49c16}Processus            PID    %CPU   %MEM
${color yellow}    ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color white}    ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #e49c16}Memoire
${color yellow}    ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color white}    ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}

Attention, si vous avez utilisé beryl, il vous faudra modifier les modules de Xorg (/etc/X11/xorg.conf) en rajoutant :

Section « Module »
Load « dbe »
EndSection

Relancez la session, et lancez conky.