10-03-2007, 04:48 PM
Conky - http://conky.sourceforge.net/
Un interessante e leggerissimo visualizzatore di dati pienamente configurabile in trasparenza sul desktop.
La mia impostazione attuale:

Il mio codice per ottenerla (in ~/.conkyrc).
Un interessante e leggerissimo visualizzatore di dati pienamente configurabile in trasparenza sul desktop.
La mia impostazione attuale:

Il mio codice per ottenerla (in ~/.conkyrc).
Codice:
# Set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7×12
#font 6×10
#font 7×13
#font 8×13
#font 7×12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent no
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
# on_bottom yes
# mail spool
# mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 350
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 13
gap_y 13
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# 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
TEXT
$alignc$sysname $kernel on $machine
$alignc${exec whoami} @ $nodename
$stippled_hr
${color lightgrey}Date:$color ${time %a,} ${time %e %B %G,}
${color lightgrey}Time:$color ${time %l:%M} - ${color lightgrey}Uptime:$color $uptime
$stippled_hr
${color lightgrey}CPU Usage:${color #5000a0} ${cpu}% ${cpubar}
${color black}${cpugraph 000000 5000a0}
${color lightgrey}RAM:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color lightgrey}Networking: $alignr IP:$color ${addr ppp0}
Down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed eth1} k/s
${color black}${downspeedgraph eth1 30,150 ff0000 0000ff} $alignr${color black}${upspeedgraph eth1 30,150 0000ff ff0000}
${color lightgrey}Total: ${color #8844ee}${totaldown eth1} ${offset 55}${color lightgrey}Total: ${color #22ccff}${totalup eth1}
${color lightgrey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${color lightgrey}Temperatures: CPU:$color ${i2c temp 2}C${color grey} - MB:$color ${i2c temp 1}C
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}