lucianomarques1
(usa Ubuntu)
Enviado em 18/05/2011 - 21:59h
Mensagem de erro:
luciano@luciano-core2duo:~$ conky
Conky: can't open '/sys/class/hwmon/hwmon1/temp1_input': No such file or directory
please check your device or remove this var from Conky
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
Tenho o hddtemp (já iniciando automáticamente) e o lm-sensors instalados. Caso tenham alguma dúvida segue meu .conkyrc, da época que eu usava o conky e funcionava.
# 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
color0 white
color1 lightgreen
color2 lightyellow
color3 red
color4 yellow
color5 green
color6 orange
color7 blue
color8 brown
color9 black
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í
${GOTO 36}${font DejaVu Sans:bold:size=10}${color3}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}${color6}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}${color5}Processador${font}${color}
${GOTO 36}Cooler: ${hwmon 0 fan 2}RPM
${GOTO 36}Núcleo 1: ${freq 1}MHz / ${hwmon 1 temp 1}°C
${GOTO 36}Núcleo 1:${GOTO 120}${cpubar cpu1 10,75} ${cpu cpu1} %
${GOTO 36}Núcleo 2: ${freq 2}MHz / ${hwmon 2 temp 1}°C
${GOTO 36}Núcleo 2:${GOTO 120}${cpubar cpu2 10,75} ${cpu cpu2} %
${GOTO 36}${top name 1}$alignr${top cpu 1}${color7}
${GOTO 36}${top name 2}$alignr${top cpu 2}${color6}
${GOTO 36}${top name 3}$alignr${top cpu 3}${color5}
${GOTO 36}${font DejaVu Sans:bold:size=10}${color4}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}${color4}
${GOTO 36}${top_mem name 2}$alignr${top_mem cpu 2}${color2}
${GOTO 36}${top_mem name 3}$alignr${top_mem cpu 3}${color3}
${GOTO 36}${font DejaVu Sans:bold:size=10}${color7}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}
Desde já agradeço
Luciano.