oiê!

usei o conky no 12.04 e dou três dicas:

1) a instalação
* instalar conky
# apt-get install conky
* instalar sensores
# apt-get install hddtemp
# apt-get install lm-sensors
# conky -d -c /usr/share/conkyrc
# hddtemp /dev/sda
# sensors
* reconfigurar hddtemp (chmod u+s)
# dpkg-reconfigure hddtemp

2) o arquivo de configuração fica no
/home/nelio/.conkyrc (ex. no final)
> as configurações são muito simples,
> nada de linguagem lua ou outras firulas,
> foco nas "informações".

3) para iniciar o conky no login do usuário,
com atraso de 10 segundos para que não fique
escondido atrás do "desktop" crie o arquivo
"~/.config/autostart/conky.desktop".

[Desktop Entry]
Type=Application
Exec=conky -p 10 -c /usr/share/conkyrc
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[pt_BR]=conky
Name=conky
Comment[pt_BR]=run conky
Comment=run conky

espero que ajude!


### ~/.conkyrc ###

# STARTUP SKIN CONKY
# version 1.0 - 2013.01.01
# the file ~/.conkyrc has 2 parts:
# 1 - config - set things
# 2 - text - show things

### 1 - CONFIG ###

# locale
override_utf8_locale yes
temperature_unit celsius

# log
out_to_console no

# fonts
use_xft yes
xftalpha 0.5
xftfont caviar dreams:size=8
use_spacer none
uppercase no

# sampling
update_interval 1
cpu_avg_samples 2
net_avg_samples 2

# buffer
no_buffers yes
double_buffer yes
text_buffer_size 2048

# window
#on_bottom yes
background yes
own_window yes
own_window_title conky
own_window_colour black
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_pager

# positon
gap_x 10
gap_y 30
alignment top_right
border_inner_margin 0
border_outer_margin 0
maximum_width 200
minimum_size 0 0

# simple draw
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
border_width 1

# some others defaults
# default_graph_size 50 130
# default_gauge_size 50 130
# default_outline_color FFFFFF
default_color white # borders too

# ugly
# show_graph_range yes
# show_graph_scale yes

### 1 - TEXT ###
#
TEXT
#
### SYSTEM ### ${kernel}
${alignc}${nodename}
${alignc}${sysname} ${machine}
${alignc}${loadavg} ${uptime_short}
${alignc}${freq_g 1}GHz ${freq_g 2}GHz ${alignc}${freq_g 3}GHz ${freq_g
4}GHz

### CPU ###
# cpugraph (cpu number) (height),(width) (gradient  colour  1)  (gradient
 colour 2)
cpuN ${cpugraph cpu 0 30,140 FFFFFF 00AAFF}${alignr}${cpu cpu0}%
cpu1 ${cpugraph cpu 1 10,140 FFFFFF 00AAFF}${alignr}${cpu cpu1}%
cpu2 ${cpugraph cpu 2 10,140 FFFFFF 00AAFF}${alignr}${cpu cpu2}%
cpu3 ${cpugraph cpu 3 10,140 FFFFFF 00AAFF}${alignr}${cpu cpu3}%
cpu4 ${cpugraph cpu 4 10,140 FFFFFF 00AAFF}${alignr}${cpu cpu4}%
# cpu (cpuN)
# cpubar (cpu number) (height),(width)
# ${cpubar cpu 0 FFFFFF 00AAFF}
# ${cpubar cpu 1 FFFFFF 00AAFF}
# ${cpubar cpu 2 FFFFFF 00AAFF}
# ${cpubar cpu 3 FFFFFF 00AAFF}
# ${cpubar cpu 4 FFFFFF 00AAFF}

### CPU TOPS ###
${top name 1}${alignr}${top cpu 1}%
${top name 2}${alignr}${top cpu 2}%
${top name 3}${alignr}${top cpu 3}%

### RAM ###
# mem     Amount of memory in use
# memmax  Total amount of memory
# memperc Percentage of memory in use
${memmax}${alignr}${mem}
ram ${memgraph 20,140 FFFFFF 00AAFF}${alignr}${memperc}%

### RAM TOPS ###
${top_mem name 1}${alignr}${top mem 1}%
${top_mem name 2}${alignr}${top mem 2}%
${top_mem name 3}${alignr}${top mem 3}%

### SWAP ###
# swap     Amount of swap in use
# swapmax  Total amount of swap
# swapperc Percentage of swap in use
${swapmax}${alignr}${swap}
swp ${swapbar 5,140 FFFFFF 00AAFF}${alignr}${swapperc}%

### NET ###
# show if eth0 is up
${if_up eth0}eth0${alignr}${addr eth0}
get ${downspeedgraph eth0 30,130 FFFFFF 00AAFF}${alignr}${downspeed eth0}
put ${upspeedgraph eth0 10,130 FFFFFF 00AAFF}${alignr}${upspeed
eth0}${endif}
# show if ppp0 is up
${if_up ppp0}wlan0${alignr}${addr ppp0}
get ${downspeedgraph ppp0 30,130 FFFFFF 00AAFF}${alignr}${downspeed ppp0}
put ${upspeedgraph ppp0 10,130 FFFFFF 00AAFF}${alignr}${upspeed
ppp0}${endif}
# show if wlan0 is up
${if_up wlan0}wlan0${alignr}${addr wlan0}
get ${downspeedgraph wlan0 30,130 FFFFFF 00AAFF}${alignr}${downspeed wlan0}
put ${upspeedgraph wlan0 10,130 FFFFFF 00AAFF}${alignr}${upspeed
wlan0}${endif}

### DISK ###
/ ${fs_type} ${fs_bar 5,160 /}
${fs_size /} (${fs_used_perc /}% used)${alignr}${fs_free /} free
hdio ${diskiograph 20,130 FFFFFF 00AAFF}${alignr}${diskio}

### SENSORS ###
HD${alignr}${hddtemp /dev/sda}.0°C
CPU${alignr}${execi 6 /usr/bin/sensors | grep "temp1:" | cut -d"+" -f2 |
cut -d" " -f1}
#Core1${alignr}${execi 6 /usr/bin/sensors | grep "Core 0:" | cut -d"+" -f2
| cut -d" " -f1}
#Core2${alignr}${execi 6 /usr/bin/sensors | grep "Core 1:" | cut -d"+" -f2
| cut -d" " -f1}

### DATE TIME ###
${alignc}${time %A} ${time %I}:${time %M} ${time %P}
${alignc}${time %b} ${time %e} ${time %Y}



Em 1 de setembro de 2013 21:51, Nélio Macedo <nelio.mac...@gmail.com>escreveu:

> Caros,
> Boa noite!
> Tantei instalar o Conky segundo o que orientou o portal ubuntued.info,
> mas não deu certo...
> Alguém poderia dar alguma dica ou caminho?
> Abraços
> Grato
> Nélio
>
> --
> Mais sobre o Ubuntu em português: 
> http://www.ubuntu-br.org/**comece<http://www.ubuntu-br.org/comece>
>
> Lista de discussão Ubuntu Brasil
> Histórico, descadastramento e outras opções:
> https://lists.ubuntu.com/**mailman/listinfo/ubuntu-br<https://lists.ubuntu.com/mailman/listinfo/ubuntu-br>
>
-- 
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece

Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a