lucianomarques1
(usa Ubuntu)
Enviado em 19/06/2010 - 21:48h
Finalmente consegui, só falta colorir. Segue meu .conkyrc para futuras consultas ou pesquisas.
# Generated with Conky Wizard
# Copyright (C) 2010 José David Abad GarcÃa
# GPL Version 3
#
# WARNING! All changes made in this file will be lost if the program runs again!
# Default Fonts
use_xft yes
xftfont DejaVu Sans:bold:size=8
override_utf8_locale yes
# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024
# Window Settings
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Window border
draw_borders no
draw_shades no
# Default Color
default_color E0DFDE
# Color Title.
color0 DD3A21
# Size and position
minimum_size 256 840
gap_x 1
gap_y 24
alignment middle_right
TEXT
${GOTO 36}Kernel:${GOTO 120}${kernel}
${GOTO 36}Tempo ligado:${GOTO 120} ${uptime}
${GOTO 36}${voffset -15}${font ConkyWeather:size=36}c ${font Verdana:size=15}${voffset -5}${execi 3600 conkyForecast --location=BRXX0361 --datatype=LT} / ${execi 3600 conkyForecast --location=BRXX0361 --datatype=HT}
${GOTO 36}Barra do Piraí - RJ
${GOTO 36}${font DejaVu Sans:bold:size=10}${color0}HD${font}${color}
${GOTO 36}System (/):${GOTO 120} ${fs_used /} / ${fs_size /} ($alignr${fs_free_perc /}%)
${GOTO 36}${GOTO 60}${fs_bar 10,100 /}
${GOTO 36}Home (/home):${GOTO 120} ${fs_used /home} / ${fs_size /home} ($alignr${fs_free_perc /home}%)
${GOTO 36}${GOTO 60}${fs_bar 10,100 /home}
${GOTO 36}Swap:
${GOTO 36}${GOTO 60}${swapbar 10,100}
${GOTO 36}Temperatura: ${hddtemp /dev/sda}ºC
${GOTO 36}${font DejaVu Sans:bold:size=10}${color0}Internet${font}${color}
${GOTO 36}Upspeed:${GOTO 120}${upspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}Downspeed:${GOTO 120}${downspeedgraph eth0 10,75 B7B2AD B7B2AD}
${GOTO 36}Uploaded:${GOTO 120}${totalup eth0}
${GOTO 36}Downloaded:${GOTO 120}${totaldown eth0}
${GOTO 36}${font DejaVu Sans:bold:size=10}${color0}Processador${font}${color}
${GOTO 36}Núcleo 1: ${freq}MHz / ${acpitemp}ºC
${GOTO 36}Núcleo 1:${GOTO 120}${cpubar cpu1 10,75} ${cpu cpu1} %
${GOTO 36}Núcleo 2: ${freq}MHz / ${acpitemp}ºC
${GOTO 36}Núcleo 2:${GOTO 120}${cpubar cpu2 10,75} ${cpu cpu2} %
${GOTO 36}${top name 1}$alignr${top cpu 1}
${GOTO 36}${top name 2}$alignr${top cpu 2}
${GOTO 36}${top name 3}$alignr${top cpu 3}
${GOTO 36}${font DejaVu Sans:bold:size=10}${color0}Memória${font}${color}
${GOTO 36}Memória:${GOTO 120}${membar 10,75} ${memperc} %
${GOTO 36}${top_mem name 1}$alignr${top_mem cpu 1}
${GOTO 36}${top_mem name 2}$alignr${top_mem cpu 2}
${GOTO 36}${top_mem name 3}$alignr${top_mem cpu 3}
${GOTO 36}${font DejaVu Sans:bold:size=10}${color0}Data e hora${font}${color}
${GOTO 36}${time %H:%M:%S} ${time %d/%m/%Y}
${GOTO 36}${time %A}, ${time %d} ${time %B} ${time %Y}
Como já disse, ainda não está completo, mas vai ficar e de qualquer forma já dá pra se ter uma base apenas com isso.
Grande abraço à todos
Luciano.