removido
(usa Nenhuma)
Enviado em 25/04/2010 - 20:33h
o comando conky & deve ser executado como usuário normal e o arquivo .conkyrc tem que estar na pasta desse usuário, segue um exemplo de .conkyrc.
crie um arquivo e cole o conteúdo abaixo dentro dele, salve-o na sua pasta home com o nome .conkyrc:
background no
use_xft yes
font monospace-9
uppercase no
update_interval 1.0
total_run_times 0
own_window yes
double_buffer no
maximum_width 280
alignment top_right
gap_x 3
gap_y 3
default_color white
default_shade_color black
default_outline_color black
color0 000000
color1 144556
color2 33b0dc
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
draw_shades no
draw_outline no
use_spacer yes
cpu_avg_samples 2
net_avg_samples 2
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Todas as alterações que quiser fazer pode ser feitas num editor de textos.
TEXT
${voffset 10}${color2}$alignc DEBIAN GNU/LINUX 6.0 "Squeeze"
${color2}$alignc $sysname $kernel on $machine
${color2}$alignc ${exec whoami} @ $nodename
${if_running audacious2}
${color2}Audacious: ${color slate gray}${exec audtool2 --current-song | cut -b-34}
${color slate gray}${exec audtool2 --current-song-bitrate-kbps} kbps * ${color slate gray}${exec audtool2 --current-song-length} ${color slate gray}${execbar expr 100 \* $(audtool2 --current-song-output-length-seconds) \/ $(audtool2 --current-song-length-seconds)}
$endif
${color2}${alignc} Carga do Sistema.
${color2}Nome${alignr} PID CPU% MEM%
${color white}${top name 1}${alignr}${top pid 1}${alignr}${top cpu 1}${alignr}${top mem 1}
${color white}${top name 2}${alignr}${top pid 2}${alignr}${top cpu 2}${alignr}${top mem 2}
${color white}${top name 3}${alignr}${top pid 3}${alignr}${top cpu 3}${alignr}${top mem 3}
${color white}${top name 4}${alignr}${top pid 4}${alignr}${top cpu 4}${alignr}${top mem 4}
${color1}${cpugraph cpu1 45,280 000000 33b0dc}
${color2}Processador:${alignr}${color white}${freq} MHz
${color2}Processos:${color white}${alignr}$processes
${color2}RAM: ${color white}$mem / ${color white}$memmax ($memperc%)${alignr}${color slate gray}${membar 2,80}
${color2}Swap: ${color white}$swap / ${color white}$swapmax ($swapperc%)${alignr}${color slate gray}${swapbar 2,80}
${color2}$alignc Uso da Memória.
${color2}Nome${alignr} PID CPU% MEM%
${color white}${top_mem name 1}${alignr}${top_mem pid 1}${alignr}${top_mem cpu 1}${alignr}${top_mem mem 1}
${color white}${top_mem name 2}${alignr}${top_mem pid 2}${alignr}${top_mem cpu 2}${alignr}${top_mem mem 2}
${color white}${top_mem name 3}${alignr}${top_mem pid 3}${alignr}${top_mem cpu 3}${alignr}${top_mem mem 3}
${color white}${top_mem name 4}${alignr}${top_mem pid 4}${alignr}${top_mem cpu 4}${alignr}${top_mem mem 4}
${color2}$alignc Sistema de Arquivos.
${color2}/ ${alignr}${fs_free /} / ${fs_size /} ${color white}(${fs_free_perc /}%)
${color slate gray}${fs_bar 2,280 /}
${color2}Home ${alignr}${fs_free /home} / ${fs_size /home} ${color white}(${fs_free_perc /home}%)
${color slate gray}${fs_bar 2,280 /home}
${color2}Musics ${alignr}${fs_free /media/sda8} / ${fs_size /media/sda8} ${color white}(${fs_free_perc /media/sda8}%)
${color slate gray}${fs_bar 2,280 /media/sda8}
${color2}Videos ${alignr}${fs_free /media/hdd1} / ${fs_size /media/hdd1} ${color white}(${fs_free_perc /media/hdd1}%)
${color slate gray}${fs_bar 2,280 /media/hdd1}
${color2}Shared Folder ${alignr}${fs_free /media/sdb9} / ${fs_size /media/sdb9} ${color white}(${fs_free_perc /media/sdb9}%)
${color slate gray}${fs_bar 2,280 /media/sdb9}
${color2}$alignc Vivo Internet 3G.
${color2}Endereço IP: ${alignr}${color white}${addr ppp0}
${color2}DNS Server:${alignr}${color white}$nameserver
${color2}Download:${alignc}${color white}${downspeed ppp0}k/s ${alignr}${color2}Upload:${color white}${upspeed ppp0}k/s
${color1}${downspeedgraph ppp0 45,130 000000 33b0dc} ${alignr} ${upspeedgraph ppp0 45,130 000000 33b0dc}
${color2}Total: ${color white}${totaldown ppp0} ${alignr}${color2}Total: ${color white}${totalup ppp0}
${color2}Data: ${color white}${time %A, %d %B de 20%y}
${color2}Hora: ${color white}${time %k:%M:%S}${alignr}${color2}Uptime: ${color white}$uptime
${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }${font}
${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}${font}
${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color red}'"$DJS"'${color white}'" "/}${font}