View Full Version : Conky


esquiso
15-12-2007, 18:54
Dúvidas sobre o Conky é na thread ao lado (http://www.techzonept.com/showthread.php?t=298587). Obrigado.

________________________________________________

O que é o Conky?

Conky is a system monitor software for the X Window System. It is available for Linux and FreeBSD. It is free software released under the terms of the BSD license. Conky is able to monitor almost all systems variables including CPU, memory, swap, disk space, temperature, top, upload, download, system messages, and much more. It is extremely configurable, however, the configuration can be a little hard to understand.

en.wikipedia.org/Conky (http://en.wikipedia.org/wiki/Conky_%28software%29)

Conky is a system monitor for X originally based on the torsmo code. Since it's original conception, Conky has changed a fair bit from it's predecessor. Conky can display just about anything, either on your root desktop or in it's own window. Conky has many built-in objects, as well as the ability to execute programs and scripts, then display the output from stdout.

conky.sourceforge.net (http://conky.sourceforge.net/docs.html)

Qual o peso disso no sistema?

No momento em que estou a escrever este post, o Conky está a consumir 560 KiB de RAM. Pouco, como podem ver :)
O peso em disco também não destoa. 500 kB, mais coisa menos coisa. Bastante bom.

Quão configurável é ele?

Quão longe chega a vossa imaginação? A mim, parece-me o unico limite do programa.
Podem ver as imensas formas que o programa pode adquirir aqui (http://conky.sourceforge.net/screenshots.html), aqui (http://browse.deviantart.com/customization/skins/linuxutil/linuxmisc/?catpath=customization%2Fskins%2Flinuxutil%2Flinux misc%2F&order=9&alltime=yes&q=conky) e numa thread com um sentido semelhante a esta, aqui (http://ubuntuforums.org/showthread.php?t=281865).

Parece-me bem, como obte-lo?

A opção universal é a do costume: source (http://downloads.sourceforge.net/conky/conky-1.4.9.tar.bz2) > necessario libx11-dev >= 6.8.2
Ou então, podem dar uso ao vosso package manager:
# aptitude install conky
# emerge app-admin/conky
# pacman -S conky

Já o instalei, mas não encontro o ficheiro de configuração

Bastante natural, já que o Conky não o cria. Posto isto só há uma coisa a fazer: cria-lo vocês

cd ~ && nano .conkyrc

E deixem a vossa imaginação voar :)

Espero que o programa seja do vosso agrado. E já agora, o post tenha sido util :D

esquiso
15-12-2007, 18:55
Paralelamente a este tópico, lanço um desafio: partilhem o vosso .conkyrc e deixem um SS, para se tirar umas ideias :) Pedia que deixassem o vosso .conkyrc entre as tags .

Obviamente, eu começo:

http://img91.imageshack.us/img91/3083/conkyml8.png

background no
font Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment bottom_left
gap_x 12
gap_y 100
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
uppercase yes

TEXT
Uptime: $alignr$uptime

CPU: ${alignr}${freq} MHz
Proc:${alignr}$processes ($running_processes run)
Load:${alignr}$loadavg

CPU1 ${alignr}${cpu cpu1}%
CPU2 ${alignr}${cpu cpu2}%

Ram ${alignr}$mem
swap ${alignr}$swap

Disco: ${alignr}${fs_free /}
${fs_bar 2 /}

${downspeed ath0} k/s ${alignr} ${upspeed ath0} k/s
${downspeedgraph ath0 10,50} ${alignr}${upspeedgraph ath0 10,50}
${totaldown ath0} ${alignr}${totalup ath0}

hellaxe
15-12-2007, 19:33
Toma lá:x2:
Já não sei de onde tirei o meu mas não fui eu que o escrevi# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background yes

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 400 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders yes
#font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename $sysname $kernel on $machine
$color$stippled_hr
CPU: ${freq}MHz Load: ${loadavg} Temp: ${acpitemp}
$cpubar
${cpugraph 000000 ffffff}

NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color$stippled_hr
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
Home: ${fs_free_perc /home/axe}% ${fs_bar 6 /home/axe}$color
sda1: ${fs_free_perc /media/sda1}% ${fs_bar 6 /media/sda1}$color
sda2: ${fs_free_perc /media/sda2}% ${fs_bar 6 /media/sda2}$color
$color$stippled_hr
Internet/Networking Status (${addr eth0}):
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,190 000000 ff0000} ${alignr}${upspeedgraph eth0 25,190 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
$color$stippled_hr
SYSTEM LOG TAIL
${execi 30 tail -n3 /var/log/messages | fold -w67}
$color$stippled_hr
${execi 120 fortune -s | fold -w67}
#${execi 15 wmctrl -R " - conky"}

Depois meto o SS

EDIT: Cá está a fotozita.

[img=http://img170.imageshack.us/img170/5869/conkytr3.th.jpg] (http://img170.imageshack.us/my.php?image=conkytr3.jpg)

EDIT2: Esta coisa não mete o thumbnail. Alguém me explica porquê. Thanks

slack_guy
16-12-2007, 01:20
Aqui vai:
background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
xftalpha 0.8
update_interval 5.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_colour hotpink
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline yes
draw_borders yes
draw_graph_borders yes
stippled_borders 0
border_margin 5
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no

TEXT
Bat ${color red} ${battery_bar 6,200 BAT0} ${color lightgrey} ${battery_percent}% $battery_time
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU ${color #cc2222} $cpu% ${cpubar}
${color lightgrey}RAM $color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap $color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Proc $color $processes ${color grey}Running:$color $running_processes
$stippled_hr
${color lightgrey}Rede:
Down:${color #8844ee} ${downspeed ppp0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed ppp0} k/s
${color #0000ff}${downspeedgraph ppp0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph ppp0 32,150 0000ff ff0000}
${color lightgrey}$stippled_hr
${color lightgrey}Sistema de Ficheiros:
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
${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 lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${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}
$stippled_hr
${color lightgrey}Meteorologia:
${color lightgrey} ${execi 500 /usr/bin/perl -T ./meteo.pl}

E o SS da praxe:
http://img505.imageshack.us/img505/9735/conkyrj4.th.png (http://img505.imageshack.us/my.php?image=conkyrj4.png)

aluminium23
16-12-2007, 20:46
Peguei no ficheiro de configuração do esquiso, porque era aquilo que pretendia e apenas foram precisas algumas alterações para dar isto:

http://img126.imageshack.us/img126/5379/capturaecratr6.th.jpg (http://img126.imageshack.us/my.php?image=capturaecratr6.jpg)

background no
font Sans:size=7
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment bottom_left
gap_x 12
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase yes

TEXT
Uptime $alignr$uptime
Bat $alignr$battery_time
${battery_bar 4,84 BAT0} $alignr${battery_percent}%

CPU ${alignr}${freq} MHz
${cpubar 4}
CPU1 ${alignr}${cpu cpu1}%
CPU2 ${alignr}${cpu cpu2}%
Proc ${alignr}$processes ($running_processes run)

CPU ${alignr}${acpitemp}ºC
Disco ${alignr}${hddtemp /dev/sda}

Ram ${alignr}$mem
${membar 4}
swap ${alignr}$swap
Disco ${alignr}${fs_free /}
${fs_bar 3 /}

${downspeed ppp0} k/s ${alignr} ${upspeed ppp0} k/s
${downspeedgraph ppp0 10,50} ${alignr}${upspeedgraph ppp0 10,50}
${totaldown ppp0} ${alignr}${totalup ppp0}

InforMed
17-12-2007, 15:05
SS: http://img503.imageshack.us/my.php?image=capturaecrati4.png (Já o usei noutra discussão no forúm, deve ser-vos familiar :) )

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 18
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes

TEXT
$sysname $kernel $alignr $machine
Intel Centrino Duo $alignr${freq_g cpu0}Ghz
$alignr
${cpugraph cpu0 16,200 ffffff ffffff}
CPU:1 ${cpu cpu1}% ${cpubar cpu1}
CPU:2 ${cpu cpu2}% ${cpubar cpu2}
CPU temp: ${acpitemp}C


MEM $alignc $mem / $memmax $alignr $memperc%
$membar
Swap:$swapperc% ${swapbar 8}

/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

Processes
$alignr $running_processes Running
$alignr $processes Sleeping

Top Processes

CPU $alignr CPU% MEM%

${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 2}${top mem 3}

MEM $alignr CPU% MEM%

${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

IP on eth1 $alignr ${addr eth1}

Down $alignr ${downspeed eth1} kb/s
${downspeedgraph eth1 25,200}
Up $alignr ${upspeed eth1} kb/s
${upspeedgraph eth1 16,200}

Connections ${tcp_portmon 32768 61000 count} ${alignr} Service/Port

${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}

esquiso
19-01-2008, 23:29
Novo Conky, só para desenjoar :)

http://i19.tinypic.com/83430v7.png

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 1
gap_y 25
alignment bottom_left

#behaviour
update_interval 1

#colour
default_color ffffff

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont DejavuSans:pixelsize=11

#to prevent window from moving
use_spacer no
minimum_size 1262 0

#mpd
mpd_host localhost
mpd_port 6600

TEXT
Uptime: $uptime | Proc: $processes ($running_processes run) | CPU1 ${cpu cpu1}% - CPU2 ${cpu cpu2}% | Ram $mem | Root: ${fs_free /} - Home: ${fs_free /home}
MPD: ${mpd_smart} | Down: ${downspeed ath0} k/s - Up: ${upspeed ath0} k/s | Down: ${totaldown ath0} - Up: ${totalup ath0}

VuDu
20-01-2008, 00:35
Alguém já usou o gkrellm e o conky pra deixar uns bitaites sobre quais os melhores aspectos de um e doutro?
Gkrellm fanboy here :)

muddymind
20-01-2008, 01:49
Aqui vai o meu:

http://img262.imageshack.us/img262/3923/capturaecrauz8.th.png (http://img262.imageshack.us/my.php?image=capturaecrauz8.png)

background no
font Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 320
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment bottom_left
gap_x 12
gap_y 100
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
uppercase yes

TEXT
Uptime: $alignr$uptime


CPU: ${alignr}${freq} MHz
Proc:${alignr}$processes ($running_processes run)
Load:${alignr}$loadavg


CPU1: ${cpu cpu1}%${alignr}CPU2: ${cpu cpu2}%
${cpugraph cpu1 40,150}${alignr}${cpugraph cpu2 40,150}


Bateria: ${battery_percent}% ${alignr} ${battery_time}
${battery_bar 5,320}


Ram: ${alignr}${mem}/${memmax}
$membar
swap ${alignr}${swap}/${swapmax}
$swapbar


Linux: ${fs_used /}/${fs_size /}${alignr}(${fs_free /} free)
${fs_bar 5 /}
Vista: ${fs_used /media/VistaOS}/${fs_size /media/VistaOS}${alignr}(${fs_free /media/VistaOS} free)
${fs_bar 5 /media/VistaOS}
Stuff: ${fs_used /media/sda3}/${fs_size /media/sda3}${alignr}(${fs_free /media/sda3} free)
${fs_bar 5 /media/sda3}


Networking Status ${alignr} IP: ${addr wlan0}
${downspeed wlan0} k/s ${alignr} ${upspeed wlan0} k/s
${downspeedgraph wlan0 40,150} ${alignr}${upspeedgraph wlan0 40,150}
${totaldown wlan0} ${alignr}${totalup wlan0}


WiFi: ${wireless_essid wlan0}
BitRate: ${wireless_bitrate wlan0}${alignr}${wireless_link_qual_perc wlan0}
${wireless_link_bar 5,320 wlan0}

madskaddie
20-01-2008, 03:03
Alguém já usou o gkrellm e o conky pra deixar uns bitaites sobre quais os melhores aspectos de um e doutro?
Gkrellm fanboy here :)


Não se pode dizer que sou um Gkrellm fan, mas neste momento é o que estou a usar. Do que me lembro do conky, acho este mais fácil de usar (GUI e tal...) mas acho o conky mais bonito. Acho que é mais a questão de preferires a informação colada no desktop ou teres uma janela... Estou a monitorizar CPU, MEM, acesso aos discos, wireless, volumes da placa de som e mail (IMAP). Ah, tem a vantagem de teres botões (controlo de volumes) pelo que não é só um display...

pussas
20-01-2008, 16:25
Aqui fica o meu contributo :D

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window no
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

background false # ^C termina o programa caso o tenhamos arrancado por uma shell, se tiver 'yes' continua a correr em background

#borders
draw_borders no
border_margin 3

#shades
draw_shades no

#position
gap_x 1100
#gap_y 24

#behaviour
update_interval 3

#colour
default_color white
own_window_colour 080808

#font
use_xft yes
xftfont Dungeon:size=10

#to prevent window from moving
use_spacer no
#minimum_size 1268 0

minimum_size 300 300
maximum_width 300 300

TEXT
${font Zecton:bold:size=11}System${hr 2}${font}
${offset -14}${execi 30 acpi -b}
${offset 5} uptime $alignr $uptime
${offset 5} cpu $alignr ${cpu cpu1}%
${offset 5} Memory ${hr 1}
${offset 5} $mem of $memmax$alignr$memperc%
${offset 5} ${membar 8}
${offset 5} Swap ${hr 1}
${offset 5} $swap of $swapmax$alignr$swapperc%
${offset 5} ${swapbar 8}
${offset 5} / ${hr 1}
${offset 5} ${fs_used /} of ${fs_size /}$alignr${fs_free_perc /}%
${offset 5} ${fs_bar /}
${offset 5} XP ${hr 1}
${offset 5} ${fs_used /media/win} of ${fs_size /media/win} $alignr${fs_free_perc /media/win}%
${offset 5} ${fs_bar /media/win}
${offset 5} 50 Gb ${hr 1}
${offset 5} ${fs_used /media/bak} of ${fs_size /media/bak} $alignr${fs_free_perc /media/bak}%
${offset 5} ${fs_bar /media/bak}
${font Zecton:bold:size=11}Network${hr 2}${font}
${offset 5} Public ip: ${offset 19}${execi 3 curl -s www.whatismyip.com/automation/n09230945.asp}
${offset 5} Local ip: ${offset 22}${addr eth0} | ${addr eth1}
${offset 5} SSID: ${offset 49}${exec iwconfig eth1 | grep -i essid | cut -d"\"" -f2}
${offset 5} Connection: ${wireless_link_qual_perc eth1}%
${offset 5} ${font PizzaDude Bullets:size=14}N${font} ${upspeed eth0} | ${upspeed eth1}k/s
${offset 5} ${font PizzaDude Bullets:size=14}T${font} ${downspeed eth0} | ${downspeed eth1}k/s
${offset 5} ${font PizzaDude Bullets:size=14}O${font} ${totalup eth0} | ${totalup eth1}
${offset 5} ${font PizzaDude Bullets:size=14}U${font} ${totaldown eth0} | ${totaldown eth1}
Preview:
http://img412.imageshack.us/img412/2180/screenshotue3.th.png (http://img412.imageshack.us/my.php?image=screenshotue3.png)

saz
10-02-2008, 01:08
O meu é grandinho. Pode-se dizer que tem varias partes dos que ja foram mostrados aqui.

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 2.0

# Minimum size of text area
minimum_size 400 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
#stippled_borders 3

# border margins
#border_margin 9

# border width
#border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color green

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename $sysname $kernel $machine
Uptime: $uptime
Intel C2D E6420 @ ${freq_g cpu0}Ghz
CPU0: ${cpu cpu0}%${alignc}Graph${cpugraph cpu0 8,200 ffffff ffffff}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU temp: ${acpitemp}C


PROCESSES
Total $processes
Running $running_processes
Sleeping $processes

NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

MEM CPU% MEM%
${top_mem name 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem cpu 3} ${top_mem mem 3}
$color$stippled_hr
RAM ($mem/$memmax): $memperc% ${membar 6}$color
Swap ($swap/$swapmax): $swapperc% ${swapbar 6}$color

Root (${fs_used /}/${fs_size /}): ${fs_free_perc /}% ${fs_bar 6 /}$color
hdb1 (${fs_used /media/extra}/${fs_size /media/extra}):$alignc${fs_free_perc /media/extra}% ${fs_bar 6 /media/extra}$color
$color$stippled_hr
Internet/Networking Status
Local IP: ${addr wlan0} ESSID: ${wireless_essid wlan0} Speed: ${wireless_bitrate wlan0} Signal: ${wireless_link_qual_perc wlan0}
Signal: ${wireless_link_bar wlan0}
Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,190 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,190 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
${alignc}Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count} Total: ${tcp_portmon 1 65535 count}

Connections ${alignr} Service/Port
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
$color$stippled_hr
SYSTEM LOG TAIL
${execi 30 tail -n3 /var/log/messages | fold -w67}
$color$stippled_hr
${execi 120 fortune -s | fold -w67}
${execi 15 wmctrl -R " - conky"}http://img255.imageshack.us/img255/7827/conkytw8.th.png (http://img255.imageshack.us/my.php?image=conkytw8.png)

LnxSlck
10-02-2008, 18:38
O meu é grandinho. Pode-se dizer que tem varias partes dos que ja foram mostrados aqui.

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 2.0

# Minimum size of text area
minimum_size 400 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
#stippled_borders 3

# border margins
#border_margin 9

# border width
#border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color green

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename $sysname $kernel $machine
Uptime: $uptime
Intel C2D E6420 @ ${freq_g cpu0}Ghz
CPU0: ${cpu cpu0}%${alignc}Graph${cpugraph cpu0 8,200 ffffff ffffff}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU temp: ${acpitemp}C


PROCESSES
Total $processes
Running $running_processes
Sleeping $processes

NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

MEM CPU% MEM%
${top_mem name 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3} ${top_mem cpu 3} ${top_mem mem 3}
$color$stippled_hr
RAM ($mem/$memmax): $memperc% ${membar 6}$color
Swap ($swap/$swapmax): $swapperc% ${swapbar 6}$color

Root (${fs_used /}/${fs_size /}): ${fs_free_perc /}% ${fs_bar 6 /}$color
hdb1 (${fs_used /media/extra}/${fs_size /media/extra}):$alignc${fs_free_perc /media/extra}% ${fs_bar 6 /media/extra}$color
$color$stippled_hr
Internet/Networking Status
Local IP: ${addr wlan0} ESSID: ${wireless_essid wlan0} Speed: ${wireless_bitrate wlan0} Signal: ${wireless_link_qual_perc wlan0}
Signal: ${wireless_link_bar wlan0}
Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,190 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,190 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
${alignc}Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count} Total: ${tcp_portmon 1 65535 count}

Connections ${alignr} Service/Port
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
$color$stippled_hr
SYSTEM LOG TAIL
${execi 30 tail -n3 /var/log/messages | fold -w67}
$color$stippled_hr
${execi 120 fortune -s | fold -w67}
${execi 15 wmctrl -R " - conky"}http://img255.imageshack.us/img255/7827/conkytw8.th.png (http://img255.imageshack.us/my.php?image=conkytw8.png)



Um bocado para o grandote

c3l5o
11-03-2008, 12:20
Bem o meu não tem nada de especial, aliás tou a ver se consigo optimizar o weather e o gmail e incluir o mpd :/


background no
font DejaVu Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 3
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment top_right
gap_x 15
gap_y 100
no_buffers yes
cpu_avg_samples 2

#mpd
mpd_host 127.0.0.1
mpd_port 6600

TEXT
Uptime: $alignr$uptime

CPU: ${alignr}${freq} MHz
${cpubar}
Running:${alignr}$processes
Ram ${alignr}$mem
swap ${alignr}$swap
Disco: ${alignr}${fs_free /home}
${fs_bar 2 /home}
GMail: ${alignr}${execi 300 python ~/scripts/gmail.py}
Weather:${alignr}${execi 1800 weatherget -f ~/scripts/.conkyweatherrc --station-id=POXX0066 --metric}

${downspeed eth0} k/s ${alignr} ${upspeed eth0} k/s
${downspeedgraph eth0 10,50} ${alignr}${upspeedgraph eth0 10,50}
${totaldown eth0} ${alignr}${totalup eth0}

http://www.hdd.pt//images//1118922774conky.png

gmail.py

import os
import string

#Enter your username and password below within double quotes
# eg. username="username" and password="password"
username="bolotas"
password="boascomoomilho"

com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"

temp=os.popen(com)
msg=temp.read()
index=string.find(msg,"<fullcount>")
index2=string.find(msg,"</fullcount>")
fc=int(msg[index+11:index2])

if fc==0:
print "None"
else:
print str(fc)+" New"


.conkyweatherrc

def current():
print temp+temp_units
print cloud_type

bolota
19-03-2008, 17:30
bem depois de alguns problemas aqui vai o "meu" codigo...
background no
font DejaVu Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 3
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 380
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment bottom_right
gap_x 15
gap_y 100
no_buffers yes
cpu_avg_samples 2

#mpd
mpd_host 127.0.0.1
mpd_port 6600

TEXT
INTEL Pentium 4 @ ${freq} MHz ${alignr}(${cpu cpu1}%)
${cpubar}

RAM ${alignr}$mem/$memmax ($memperc%)
${membar 6}$color

Ubuntu ${alignr}$fs_used/$fs_size ($fs_used_perc%)
${fs_bar 6 /home}

XP ${alignr}${fs_used /media/hdb1}/${fs_size /media/hdb1} (${fs_used_perc /media/hdb1}%)
${fs_bar 6 /media/hdb1}

Multimédia ${alignr}${fs_used /media/hdd5}/${fs_size /media/hdd5} (${fs_used_perc /media/hdd5}%)
${fs_bar 6 /media/hdd5}

Programas ${alignr}${fs_used /media/hdc5}/${fs_size /media/hdc5} (${fs_used_perc /media/hdc5}%)
${fs_bar 6 /media/hdc5}

Torrents ${alignr}${fs_used /media/hdb6}/${fs_size /media/hdb6} (${fs_used_perc /media/hdb6}%)
${fs_bar 6 /media/hdb6}

Uptime: $uptime
Processos: $processes ($running_processes Activos)
GMail: ${execi 300 python ~/gmail.py}

e o resultado é: http://www.hdd.pt//images//1211628238CapturaEcra.png

JKL22
28-03-2008, 23:41
Aqui fica o meu conky:

http://i27.tinypic.com/5tap.png (http://i30.tinypic.com/10omiw7.png)

Config (http://pastebin.com/f41cea7dd)

neutral
28-03-2008, 23:56
mais um

http://www.deviantart.com/deviation/81285094/

conky pt

espero que o esquiso e o neonl nao se importem pois usei parte do vosso codigo

quis fazer uma coisa diferente :P

c3l5o
29-03-2008, 00:53
mais um

http://www.deviantart.com/deviation/81285094/

conky pt

espero que o esquiso e o neonl nao se importem pois usei parte do vosso codigo

quis fazer uma coisa diferente :P

É diferente, mas não vejo muita utilidade :/

Mas parabéns, tá engenhoso!

neonl
29-03-2008, 10:29
mais um

http://www.deviantart.com/deviation/81285094/

conky pt

espero que o esquiso e o neonl nao se importem pois usei parte do vosso codigo

quis fazer uma coisa diferente :P

Está engraçado (comment maior lá no DeviantART).

Só acho é indecente que tenhas usado o meu código... Que falta de respeito pelo trabalho alheio :headsh::headsh:












Estou só a brincar :D :D. Claro que é este objectivo da comunidade, todos partilhamos o nosso trabalho, para tentar que todos possamos explorar da melhor maneira possível o software/hardware.

Abraço, neonl

VuDu
02-04-2008, 18:00
http://conky.sourceforge.net/

2008-03-31


Conky 1.5.1 released.
Added --enable-testing configure option to use insane compiler flags.

hasta.g5
03-05-2008, 15:46
Depois de algum trabalho a por o lm_sensors a funcionar e a arranjar maneira de ir buscar a percentagem do que estava a foldar de maneira a que ficasse sempre direito, quer com 1 quer com 2 algarismos, aqui fica o meu conky, baseado no do esquiso e no do aluminium23. :-)

http://thumbs.bayimg.com/eajbfaabj.jpg (http://image.bayimg.com/eajbfaabj.jpg)

O código para a % do folding é este. Não sei se será o melhor preformance-wise, mas funciona.
${execi 120 cat /home/psantos/folding/one/FAHlog.txt | grep Completed | tail -n1 | cut -f2 -d'(' | cut -f1 -d'%' | cut -f1 -d' '}%
De 2 em 2 minutos vai ao log ver a última percentagem e pega no que está entre o '(' e o '%'.

O .conkyrc:
background no
font Sans:size=7
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment bottom_right
gap_x 12
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
CPU1: ${alignr}${cpu cpu1}% / ${platform coretemp.0 temp 1}ºC
CPU2: ${alignr}${cpu cpu2}% / ${platform coretemp.1 temp 1}ºC
P@F: ${alignr}${execi 120 cat /home/psantos/folding/one/FAHlog.txt | grep Completed | tail -n1 | cut -f2 -d'(' | cut -f1 -d'%' | cut -f1 -d' '}% / ${execi 120 cat /home/psantos/folding/two/FAHlog.txt | grep Completed | tail -n1 | cut -f2 -d'(' | cut -f1 -d'%' | cut -f1 -d' '}%

RAM ${alignr}$mem
${membar 2}
swap ${alignr}$swap
${swapbar 2}

/ ${alignr}${fs_free /}
${fs_bar 4 /}
/home ${alignr}${fs_free /home}
${fs_bar 4 /home}
/media/data ${alignr}${fs_free /media/data}
${fs_bar 4 /media/data}
/lan/filmes ${alignr}${fs_free /media/filmes}
${fs_bar 4 /media/filmes}
/lan/tmpshare ${alignr}${fs_free /media/tmpshare}
${fs_bar 4 /media/tmpshare}

${downspeed eth0} k/s ${alignr} ${upspeed eth0} k/s
${downspeedgraph eth0 10,50} ${alignr}${upspeedgraph eth0 10,50}
${totaldown eth0} ${alignr}${totalup eth0}


Changelog :-P
03.05.08 - (FAH) Em vez de assumir que a última linha é a que contém a percentagem da WU, faz-se um grep a essas linhas e só depois se vai buscar a última.
04.05.08 - (FAH) Por alguma razão, umas vezes no log diz "(X%)" e outras "(X percent)", alterei de modo a dar das duas maneiras.

hasta.g5
08-05-2008, 22:24
Para quem interessar, fiz um pequeno script para ver algumas informações relativas ao folding.
Foi a primeira vez que fiz um script em Bash, queria começar a dar uns toques e aproveitei para treinar fazendo este script.

O script pode retornar o seguinte:
Nome do projecto (Nome completo ou apenas pXXXX) - proj / proj_short
Percentagem - perc
Pontos - points
Nada que não se possa fazer numa linha, eu sei, mas é uma maneira de manter o .conkyrc mais simples. :-)

Para os pontos funcionarem, é necessário ter-se o html dos projectos do Folding@Home na mesma pasta do script: http://fah-web.stanford.edu/psummary.html

O script está também feito para ser usado com mais que um processo a correr. Está neste momento configurado para 3 processos, mas é facilmente editável. Basta editar o FOLD_PATH e, caso haja mais ou menos de 3 consolas, adicionar ou apagar elif's.

Exemplo:
Bash:
$ ./folding.sh 1 perc

No .conkyrc:
${execi 120 ~/folding.sh 1 perc}
Neste exemplo, retorna a percentagem da 1ª consola de folding.

O script está aqui: http://pastebin.com/f2b1ab657 (Update: 10-5-08)

Como já disse, foi a primeira vez que programei um script bash. Aliás, até agora só tinha programado em C, C++, PHP e JAVA, nunca tinha feito nada neste género de linguagem. Sendo assim, provavelmente muita coisa está mal (embora funcione) e agradecia sugestões. :-)

:kfold:

esquiso
08-05-2008, 23:21
O meu por agora anda bastante básico

http://i27.tinypic.com/142t2t3.png

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 1
gap_y 25
alignment bottom_left

#behaviour
update_interval 1

#colour
default_color ffffff

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont DejavuSans:pixelsize=11

#to prevent window from moving
use_spacer none
minimum_size 1440 0

#mpd
mpd_host localhost
mpd_port 6600

#Other
no_buffers true

TEXT
Up: $uptime | Proc: $processes | CPU1: ${cpu cpu1}% - CPU2: ${cpu cpu2}% | Ram: $mem | / ${fs_free /} | ↓: ${downspeed wifi0} k/s - ${totaldown wifi0} | ↑: ${upspeed wifi0} k/s - ${totalup wifi0}

JoaoVr
06-06-2008, 01:25
"A minha Conky":

http://img376.imageshack.us/img376/6299/conkyli7.png

#JoaoVr :)

alignment top_right

background no

border_margin 2
border_width 1

top_cpu_separate false

default_color white
default_shade_color black
default_outline_color white

default_color white
default_shade_color black
default_outline_color white

double_buffer yes

draw_borders no
draw_graph_borders no
draw_outline no
draw_borders no
draw_shades no

gap_x 5
gap_y 5

override_utf8_locale no

own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

short_units yes

stippled_borders 8

update_interval 1.5

use_spacer right

use_xft yes

xftalpha 0.8

xftfont Terminus:size=8

TEXT
${color slate grey}Uptime: ${color #ddaa00}$uptime
${color slate grey}Hora: ${color }${time %H:%M}
${color slate grey}Data: ${color }${time %d %B %G}

${color slate grey}Cpu: ${color }$cpu% ${acpitemp}C
${color slate grey}Mem: ${color }$memperc% de $memmax
${color slate grey}Swap: ${color }$swapperc% de $swapmax

${color slate grey}Processos: ${color }$processes ($running_processes)

${color slate grey}Cpu:
${color #ddaa00} ${top name 1}${top_mem cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color lightgrey} ${top name 3}${top cpu 3}
${color lightgrey} ${top name 4}${top cpu 4}

${color slate grey}Mem:
${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${color slate grey}Hdd: ${color }${fs_free /}/${fs_size /}
${alignc}${fs_bar 3,125 /}

${color slate grey}Internet: ${color #ddaa00}${wireless_essid wlan0}
${color }E: ${upspeed wlan0}K/s ${alignr} R: ${downspeed wlan0}K/s
${upspeedgraph wlan0 15,70} ${alignr}${downspeedgraph wlan0 15,70}
${totalup wlan0} ${alignr}${totaldown wlan0}

Aceitam-se sugestões!

P.S.: Passado umas horas valentes a minha conky desaparece, é normal?

arconada
18-06-2008, 23:31
Boas!

Aqui fica o meu... nada de especial, alias... maior parte das coisas foram retiradas dos que ja ca estavam. Apenas alterei para as minhas necessidades.


background no
#font Sans:size=9
use_xft yes
xftalpha 0.9
xftfont Dungeon:size=9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 140
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders no
default_color white ### Text Color ###
default_shade_color black
default_outline_color grey
alignment top_right
gap_x 12
gap_y 100
no_buffers yes
cpu_avg_samples 2
override_utf8_locale no
uppercase no

TEXT
${color slate grey}uptime: ${color light grey}$alignr$uptime

${color slate grey}cpu: ${color light grey}${alignr}${freq} MHz
${color slate grey}cpu_temp:${alignr}${color light grey} ${platform w83627ehf.656 temp 2}ºC
${color slate grey}cpu1: ${color light grey}${alignr}${cpu cpu1}%
${color slate grey}cpu2: ${color light grey}${alignr}${cpu cpu2}%

${color slate grey}ram: ${color light grey}${alignr}$mem
${color #aaadae}${membar 7}

${offset 45}${color slate grey}Discos:
${color slate grey}linux: ${color light grey}${alignr}${fs_free /}
${color #aaadae}${fs_bar 7 /}
${color slate grey}disco: ${color light grey}${alignr}${fs_free /media/sda1}
${color #aaadae}${fs_bar 7 /media/sda1}
${color slate grey}xp: ${color light grey}${alignr}${fs_free /media/sdb1}
${color #aaadae}${fs_bar 7 /media/sdb1}

${offset 45}${color slate grey}Internet:
${color light blue}${downspeed eth1} k/s ${color}${alignr} ${color #ddaa00}${upspeed eth1} k/s
${color light green}${downspeedgraph eth1 10,50}${alignr}${color #e3493e}${upspeedgraph eth1 10,50}
${color light grey}${totaldown eth1} ${alignr}${totalup eth1}
http://img174.imageshack.us/img174/3185/conkyka6.th.jpg (http://img174.imageshack.us/my.php?image=conkyka6.jpg)

JoaoVr
27-06-2008, 00:00
Estou a gostar bastante desta configuração:

http://img115.imageshack.us/img115/983/capturaecrabv7.png

#JoaoVr :)

alignment top_middle

background no

top_cpu_separate false

default_color white

double_buffer yes

draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no

gap_y 0

override_utf8_locale yes

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

short_units yes

update_interval 1

use_xft yes

xftalpha 0.9

xftfont Dungeon:size=7

TEXT
${color slate grey}Uptime: ${color #ddaa00}$uptime ${color slate grey}| ${color slate grey}Cpu: ${color}$cpu% ${acpitemp}ºC ${color slate grey}| ${color slate grey}Mem: ${color}$memperc% ${color slate grey}| ${color slate grey}Swap: ${color}$swapperc% ${color slate grey}| ${color slate grey}Processos: ${color}$processes ($running_processes) ${color slate grey}| ${color slate grey}Hdd0: ${color}${fs_used /} / ${fs_size /} ${color slate grey}| ${color slate grey}Internet: ${color #ddaa00}${wireless_essid wlan0} ${color slate grey}| ${color #e3493e}↑: ${color}${upspeed wlan0}K/s ${color slate grey}- ${color}${totalup wlan0} ${color #e3493e}↓: ${color}${downspeed wlan0}K/s ${color slate grey}- ${color}${totaldown wlan0}

esquiso
30-06-2008, 12:57
A partir de agora, esta thread reflectirá as regras que estão em vigor.
As dúvidas serão postas aqui e respondidas numa nova thread criada para o efeito (http://www.techzonept.com/showthread.php?t=298587). Agradecia desde já que respeitassem. Obrigado :)

AndreAPL
10-07-2008, 20:11
bem, uma mistura de estilos hehehe

http://www.hdd.pt//thumbs//1015630156.jpg (http://www.hdd.pt/imagens/1015630156.jpg)

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 10
gap_y 0
#alignment bottom_left
alignment top_left


#behaviour
update_interval 2

#colour
default_color ffffff

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont DejavuSans:pixelsize=9

#to prevent window from moving
use_spacer right
minimum_size 1152 0


TEXT
${color slate grey}A64: Ligado : ${color #ddaa00} $uptime ${color slate grey} | Proc: ${color} $processes ($running_processes run) ${color slate grey}| CPU ${color} ${cpu cpu1}% - ${acpitemp}ºC ${color slate grey} | Ram ${color} $mem ${color slate grey}- SWAP ${color} $swap ${color slate grey} | / : ${color}${fs_free /} - ${fs_size /} ${color slate grey} | /home: ${color}${fs_free /home} - ${fs_size /home} ${color slate grey}| /Pastos: ${color}${fs_free /Pastos}- ${fs_size /Pastos}${color slate grey} | REDE | Down: ${color}${downspeed eth1} k/s ${color slate grey} - Up: ${color}${upspeed eth1} k/s ${color slate grey}|

neonl
10-07-2008, 20:19
bem, uma mistura de estilos hehehe

http://www.hdd.pt//thumbs//1015630156.jpg (http://www.hdd.pt/imagens/1015630156.jpg)

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 10
gap_y 0
#alignment bottom_left
alignment top_left


#behaviour
update_interval 2

#colour
default_color ffffff

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont DejavuSans:pixelsize=9

#to prevent window from moving
use_spacer right
minimum_size 1152 0


TEXT
${color slate grey}A64: Ligado à : ${color #ddaa00} $uptime ${color slate grey} | Proc: ${color} $processes ($running_processes run) ${color slate grey}| CPU ${color} ${cpu cpu1}% - ${acpitemp}ºC ${color slate grey} | Ram ${color} $mem ${color slate grey}- SWAP ${color} $swap ${color slate grey} | / : ${color}${fs_free /} - ${fs_size /} ${color slate grey} | /home: ${color}${fs_free /home} - ${fs_size /home} ${color slate grey}| /Pastos: ${color}${fs_free /Pastos}- ${fs_size /Pastos}${color slate grey} | REDE | Down: ${color}${downspeed eth1} k/s ${color slate grey} - Up: ${color}${upspeed eth1} k/s ${color slate grey}|

Desculpa estar a ser mete-nojo mas tens um erro de português no uptime. Não é "ligado à..." mas sim "ligado há..." :).

AndreAPL
10-07-2008, 20:26
Tens razao. Copiei mal :D
dank

P.S. às tantas já está correcto, como o novo acordo luso-brasileiro :D

muddymind
10-07-2008, 23:54
Tens razao. Copiei mal :D
dank

P.S. às tantas já está correcto, como o novo acordo luso-brasileiro :D

nope... há coisas que nunca mudam :002:

Inacio77
16-07-2008, 02:57
http://img504.imageshack.us/img504/6532/conkymainki0.th.jpg (http://img504.imageshack.us/my.php?image=conkymainki0.jpg)

.conkyrc

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
$sysname $kernel on $machine
${font StyleBats:size=18}P${font} Uptime $alignr $uptime
${font StyleBats:size=18}X${font} Load $alignr $loadavg
${font StyleBats:size=18}V${font} Public IP $alignr ${color}${execi 1800 wget -O - http://whatismyip.org/ | tail}${color}
${font StyleBats:size=18}T${font} $processes processes ($running_processes running)

${font PizzaDude Bullets:size=16}N${font} ${color white}Highest CPU:
${color de0b0b}${top name 1}${top cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${font PizzaDude Bullets:size=16}O${font} ${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

${font StyleBats:size=18}A${font} CPU Core 1 $alignr ${cpu cpu0}%
${cpubar cpu0}
${font StyleBats:size=18}A${font} CPU Core 2 $alignr ${cpu cpu1}%
${cpubar cpu1}

${font PizzaDude Bullets:size=16}J${font} MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font StyleBats:size=18}B${font} swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

${font StyleBats:size=18}F${font} / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${font StyleBats:size=18}G${font} /usr $alignc ${fs_used /usr} / ${fs_size /usr} $alignr ${fs_free_perc /usr}%
${fs_bar /usr}
${font StyleBats:size=18}G${font} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font weather:size=28}z${font} M/B CPU $alignr ${hwmon temp 1}C / ${hwmon temp 2}C
${font weather:size=28}x${font} Hard Drives
$alignr /dev/sda ${hddtemp /dev/sda}
$alignr /dev/hdc ${hddtemp /dev/hdc}

LAN: $alignr ${addr eth0}
${font PizzaDude Bullets:size=16}r${font} Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
${font PizzaDude Bullets:size=16}v${font} Up:${color} $alignr ${upspeed eth0} k/s ${offset 80}

Fonts:
PIZZADUDEBULLETS.ttf
stylbcc_.ttf
wef_____.ttf

Conky transparency on KDE

To KDE Users a way to make a transparent conky:

Use this settings in .conkyrc for transparent background on conky for KDE

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_page


a) Install feh in your linux distro.

b)Put the code below in a script in ~/.kde/Autostart folder to apply the root window wallpaper automatically on login.

feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

nhinjah
17-07-2008, 00:35
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no #Transparent background.

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft yes

# Update interval in seconds
update_interval 5

# Minimum size of text area
minimum_size 260 5

# Draw shades?
draw_shades no

# Draw borders around graphs
draw_graph_borders no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
xftfont Eurostile:size=7
xftalpha 0.7
#font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color white

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 23

# stuff after 'TEXT' will be formatted on screen

TEXT
${font arial black:size=11}${color orange}SYSTEM ${color}${font arial black:size=8}INFORMATION${color orange} ${hr 2}$color$font
${color orange}${font openlogos:size=26}T$color${font}
${voffset -38}${goto 40}$sysname $kernel on $machine${voffset -18}
${voffset 16}${goto 40}$nodename ${font arial black:size=6}UP: $font$uptime ${voffset -18}
${voffset 6}${font arial black:size=26}${time %e}$font ${voffset -17}${time %A, }${time %B} ${time %G}
${voffset -2}${goto 65}${font arial black:size=7} ${time %I:%M %p}
${font arial black:size=9}${color orange}CPU ${color}${font arial black:size=8}INFORMATION${color orange} ${hr 2}$color$font
${font arial black:size=6}USAGE (AVG): $font${cpu cpu0}%
${cpugraph cpu0 303030 C0C0C0}
${font arial black:size=6}CORE 1: $font${cpu cpu1}% $alignr ${font arial black:size=6}CORE 2: $font${cpu cpu2}%
${cpugraph cpu1 25,140 303030 C0C0C0} $alignr${cpugraph cpu2 25,140 303030 C0C0C0}
${font arial black:size=6}TOP 3 PROCESSES:${offset 40}$font${top name 1} ${alignr -4}${top cpu 1} %
${offset 157}$font${top name 2}${alignr}${top cpu 2} %
${offset 157}$font${top name 3}${alignr}${top cpu 3} %
${font arial black:size=9}${color orange}MEMORY ${color}${font arial black:size=8}INFORMATION${color orange} ${hr 2}$color$font
${font arial black:size=6}RAM: $font$memperc% ${alignr}$mem ${font arial black:size=6}/ $font$memmax
${membar 4}
${font arial black:size=6}SWAP: $font$swapperc% ${alignr}$swap ${font arial black:size=6}/ $font$swapmax
${swapbar 4}
${font arial black:size=6}TOP 5 PROCESSES:${offset 40}$font${top_mem name 1}${alignr -4}${top mem 1} %
${offset 157}$font${top_mem name 2}${alignr}${top mem 2} %
${offset 157}$font${top_mem name 3}${alignr}${top mem 3} %
${offset 157}$font${top_mem name 4}${alignr}${top mem 4} %
${offset 157}$font${top_mem name 5}${alignr}${top mem 5} %
${font arial black:size=9}${color orange}DISK ${color}${font arial black:size=8}INFORMATION${color orange} ${hr 2}$color$font
${font arial black:size=6}VOLUME${goto 116}TYPE${goto 180}%FREE${alignr 1}SIZE$font
${font arial black:size=6}ROOT:$font${goto 120}${fs_type /}${goto 190}${fs_free_perc /}%${alignr}${fs_size /}
${fs_bar 4 /}$color
${font arial black:size=6}HOME:$font${goto 120}${fs_type /home/}${goto 190}${fs_free_perc /home/}%${alignr 1}${fs_size /home/}
${fs_bar 4 /home/}$color
${font arial black:size=6}MEDIA:$font${goto 120}${fs_type /media/}${goto 190}${fs_free_perc /media/}%${alignr 1}${fs_size /media/}
${fs_bar 4 /media/}$color
${font arial black:size=9}${color orange}NETWORK ${color}${font arial black:size=8}INFORMATION${color orange} ${hr 2}$color$font
${font arial black:size=6}LOCAL: $font${addr eth0} $alignr ${color} ${font arial black:size=6}EXTERNAL: $font${execi 14400 wget -O - http://whatismyip.org/ | tail}${color}
${font arial black:size=6}DOWN: $font$color${downspeed eth0} k/s ${alignr}${font arial black:size=6}UP: $font${upspeed eth0} k/s
${downspeedgraph eth0 25,140 303030 C0C0C0} ${alignr}${upspeedgraph eth0
25,140 303030 C0C0C0}$color
${font arial black:size=6}TOTAL: $font${totaldown eth0} ${alignr}${font arial black:size=6}TOTAL: $font${totalup eth0}
${color orange}${hr 2}$color

Goncalo Silva
17-07-2008, 11:17
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no
draw_borders no
uppercase no

# Stippled borders?
stippled_borders 3

# border margins
border_margin 0

# border width
border_width 0

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_left

# Gap between borders of screen and text
gap_x 20
gap_y 44


# Possible variables to be used:
#
# Variable Arguments Description

# addr (interface) IP address for an interface
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# alignr (num) Right-justify text, with space of N
# alignc Align text to centre
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
# CPU usage graph, with optional colours in hex,
# minus the #.
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Download speed graph, colours defined in
# hex, minus the #.
# exec shell command Executes a shell command and displays
# the output in conky. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execbar shell command Same as exec, except if the first value
# return is a value between 0-100, it
# will use that number for a bar.
# The size for the bar is currently fixed,
# but that may change in the future.
# execgraph shell command Same as execbar, but graphs values
# execi interval, shell command
# Same as exec but with specific interval.
# Interval can't be less than
# update_interval in configuration.
# font font Specify a different font. Only applies
# to one line.
# fs_bar (height), (fs)Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
#
# your local computer.
# if_running (process) if PROCESS is running, display
# everything if_running and the matching $endif
# if_existing (file) if FILE exists, display everything between
# if_existing and the matching $endif
# if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
# if_mounted and the matching $endif
# else Text to show if any of the above are not true
# kernel Kernel version
# linkstatus (interface) Get the link status for wireless connections
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
#
# metar_ob_time
# metar_temp
# metar_tempf Temp in F
# metar_windchill
# metar_dew_point There are a bunch of these
# metar_rh and they are self-explanatory
# metar_windspeed
# metar_winddir
# metar_swinddir
# metar_cloud
# metar_u2d_time
#
# ml_upload_counter total session upload in mb
# ml_download_counter total session download in mb
# ml_nshared_files number of shared files
# ml_shared_counter total session shared in mb, buggy
# in some mldonkey versions
# ml_tcp_upload_rate tcp upload rate in kb/s
# ml_tcp_download_rate tcp download rate in kb/s
# ml_udp_upload_rate udp upload rate in kb/s
# ml_udp_download_rate udp download rate in kb/s
# ml_ndownloaded_files number of completed files
# ml_ndownloading_files number of downloading files
#
# mpd_artist Artist in current MPD song
# (must be enabled at compile)
# mpd_album Album in current MPD song
# mpd_bar (height) Bar of mpd's progress
# mpd_bitrate Bitrate of current song
# mpd_status Playing, stopped, et cetera.
# mpd_title Title of current MPD song
# mpd_vol MPD's volume
# mpd_elapsed Song's elapsed time
# mpd_length Song's length
# mpd_percent Percent of song's progress
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# conky displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# offset pixels Move text over by N pixels
# tail logfile, lines (interval)
# Displays last N lines of supplied text
# text file. If interval is not supplied,
# Conky assumes 2x Conky's interval.
# Max of 30 lines.
# Max of 30 lines can be displayed.
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before conky
# has started.
# top type, num This takes arguments in the form:
# top <name> <number>
# Basically, processes are ranked from
# highest to lowest in terms of cpu
# usage, which is what <num> represents.
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
# top_mem type, num Same as top, except sorted by mem usage
# instead of cpu
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
# Upload speed graph, colours defined in
# hex, minus the #.
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename - $sysname $kernel on $machine
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color lightgrey} ${cpu cpu1}% ${cpubar cpu1}
${color lightgrey}${cpugraph lightgrey lightgrey}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}${memgraph lightgrey lightgrey}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes

${color #ddaa00}Name PID CPU% MEM%
${color lightgrey}${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 lightgrey}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

Down:${color lightgrey} ${downspeed ath0} k/s${color lightgrey} ${offset 80}Up:${color lightgrey} ${upspeed ath0} k/s
${color lightgrey}${downspeedgraph ath0 32,150 lightgrey lightgrey} ${color lightgrey}${upspeedgraph ath0 32,150 lightgrey lightgrey}
/ $color${fs_used /}/${fs_size /} ${fs_bar /}

${color #ddaa00}Device Temp(C)
${color lightgrey}CPU 0 ${execi 5 sensors | grep 'Core 0' | cut -c15-16}C
${color lightgrey}CPU 1 ${execi 5 sensors | grep 'Core 1' | cut -c15-16}C
${color lightgrey}GPU ${execi 5 nvidia-settings -q gpucoretemp | grep Attribute | cut -c42-43}C
${color lightgrey}HDD ${execi 5 sudo hddtemp /dev/sda | cut -c25-26}C


Tenho monitorização de temperatura, pelo que para que as últimas linhas funcionem é preciso que tenham o 'lm-sensors' e o 'hddtemp'. Ah, também há um pequeno work-around na amostragem da temperatura do disco... só começa a funcionar depois de usarem 'sudo' pela primeira vez no sistema.

Inacio77
18-07-2008, 17:07
http://img255.imageshack.us/img255/4087/conkylaptopky9.th.jpg (http://img255.imageshack.us/my.php?image=conkylaptopky9.jpg)

Mesmo conkyrc numa outra maquina.

FullDevr
21-07-2008, 14:54
http://img363.imageshack.us/img363/2131/conkyut4.jpg

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 1
gap_y 1
alignment top_middle

#behaviour
update_interval 1

#colour
default_color FFFFFF

#default_shade_color 000000
own_window_colour 3d352a

#font
use_xft yes
xftfont Sans:pixelsize=12

#to prevent window from moving
use_spacer no

#mpd
mpd_host localhost
mpd_port 6600

TEXT
Uptime: $uptime | Proc: $processes ($running_processes run) | Ram $mem | Now Playing: ${mpd_smart} | Disco: ${alignr}${fs_free /} | Kernel: $kernel
Isto foi a minha primeira experiencia no Conky, mas acho que não está muito mal

(http://g.imageshack.us/g.php?h=363&i=conkyut4.jpg)

MPalhas
23-07-2008, 22:54
aqui está o meu. para um iniciado em linux e uma primeira experiencia no conky até acho que ficou bastante bom, pelo menos ao meu gosto:x2:

http://img244.imageshack.us/img244/5568/conkysswb9.th.png (http://img244.imageshack.us/my.php?image=conkysswb9.png)

update_interval 1
double_buffer yes
own_window yes

background yes
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

default_color white
color0 lightgrey

border_width 5
border_margin 15
draw_borders yes
gap_x 14
gap_y 15

use_spacer right
use_xft yes

#font and font size
font Verdana:size=9

draw_shades no

#allow uppercase
uppercase no

#window settings
maximum_width 220
minimum_size 220
alignment top_right


TEXT

${font styleBats:size=16}P${font} UPTIME $alignr $uptime

${font styleBats:size=16}A${font} CPU 0 - ${cpu cpu0}% ${alignr}${cpugraph cpu0 14,100}
${font styleBats:size=16}A${font} CPU 1 - ${cpu cpu1}% ${alignr}${cpugraph cpu1 14,100}
${font styleBats:size=16}u${font} Processes ${alignr}$processes ($running_processes running)

${font styleBats:size=16}L${font} RAM ${alignr}$mem / $memmax
$memperc% ${membar}
${font styleBats:size=16}y${font} SWAP ${alignr}$swap / $swapmax
$swapperc% ${swapbar}


${font PizzaDudeBullets:size=16}k${font} Ubuntu ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
${font PizzaDudeBullets:size=16}n${font} Vista ${alignr}${fs_used /media/disk} / ${fs_size /media/disk}
${fs_bar 4 /}
${font PizzaDudeBullets:size=16}m${font} Dados ${alignr}${fs_used /media/CENAS} / ${fs_size /media/CENAS}
${fs_bar 4 /}


${font PizzaDudeBullets:size=16}s${font} DOWN ${downspeedf etho0} ${alignr 16}${upspeedf eth0} UP ${voffset -5}${font PizzaDudeBullets:size=16}w${font}
${downspeedgraph eth0, 10, 100, lightgrey lightgrey} ${alignr}${upspeedgraph eth0, 10, 100, lightgrey lightgrey}
${totaldown eth0} ${alignr}${totalup eth0}

Inacio77
01-08-2008, 05:44
Actualização para mostrar a temp do GPU:

http://img243.imageshack.us/img243/1299/44999320pa7.th.jpg (http://img243.imageshack.us/my.php?image=44999320pa7.jpg)


background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 1
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
$sysname $kernel on $machine
${font StyleBats:size=18}P${font} Uptime $alignr $uptime
${font StyleBats:size=18}X${font} Load $alignr $loadavg
${font StyleBats:size=18}V${font} Public IP $alignr ${color}${execi 1800 wget -O - http://whatismyip.org/ | tail}${color}
${font StyleBats:size=18}T${font} $processes processes ($running_processes running)

${font PizzaDude Bullets:size=16}N${font} ${color white}Highest CPU:
${color de0b0b}${top name 1}${top cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${font PizzaDude Bullets:size=16}O${font} ${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

${font StyleBats:size=18}A${font} CPU Core 1 $alignr ${cpu cpu0}%
${cpubar cpu0}
${font StyleBats:size=18}A${font} CPU Core 2 $alignr ${cpu cpu1}%
${cpubar cpu1}

${font PizzaDude Bullets:size=16}J${font} MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font StyleBats:size=18}B${font} swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

${font StyleBats:size=18}F${font} / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${font StyleBats:size=18}G${font} /usr $alignc ${fs_used /usr} / ${fs_size /usr} $alignr ${fs_free_perc /usr}%
${fs_bar /usr}
${font StyleBats:size=18}G${font} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font weather:size=28}z${font} M/B CPU GPU $alignr ${hwmon temp 1}C / ${hwmon temp 2}C / ${exec /usr/bin/nvidia-settings -q gpucoretemp |grep Attribute |cut -c 40-42}C
${font weather:size=28}x${font} Hard Drives $alignr /dev/sda ${hddtemp /dev/sda}
$alignr /dev/sdb ${hddtemp /dev/sdb}

LAN:$alignr ${addr eth0}
${font PizzaDude Bullets:size=16}r${font} Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
${font PizzaDude Bullets:size=16}v${font} Up:${color} $alignr ${upspeed eth0} k/s${color} ${offset 80}

WLAN:$alignr ${addr wlan0}
ESSID: ${wireless_essid wlan0} $alignr Signal: ${wireless_link_qual_perc wlan0}%

Inacio77
17-08-2008, 00:25
http://img214.imageshack.us/img214/4569/conkyap3.th.jpg (http://img214.imageshack.us/my.php?image=conkyap3.jpg)


background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 3.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 5
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
${font openlogos:size=80}q${font}
$sysname $kernel on $machine
${font StyleBats:size=18}P${font} Uptime $alignr $uptime
${font StyleBats:size=18}X${font} Load $alignr $loadavg
${font StyleBats:size=18}V${font} Public IP $alignr ${color}${execi 14400 wget -O - http://whatismyip.org/ | tail}${color}
${font StyleBats:size=18}T${font} $processes processes ($running_processes running)

${font PizzaDude Bullets:size=16}N${font} ${color white}Highest CPU:
${color de0b0b}${top name 1}${top cpu 1}
${color white}${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${font PizzaDude Bullets:size=16}O${font} ${color white}Highest MEM:
${color de0b0b}${top_mem name 1}${top_mem mem 1}
${color white}${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}

${font StyleBats:size=18}A${font} CPU Core 1 $alignr ${cpu cpu0}%
${cpubar cpu0}
${font StyleBats:size=18}A${font} CPU Core 2 $alignr ${cpu cpu1}%
${cpubar cpu1}

${font PizzaDude Bullets:size=16}J${font} MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font StyleBats:size=18}B${font} swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}

${font StyleBats:size=18}F${font} / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${font StyleBats:size=18}G${font} /usr $alignc ${fs_used /usr} / ${fs_size /usr} $alignr ${fs_free_perc /usr}%
${fs_bar /usr}
${font StyleBats:size=18}G${font} /home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font weather:size=28}z${font} M/B CPU $alignr ${hwmon temp 1}C / ${hwmon temp 2}C
${font weather:size=28}x${font} Hard Drives
$alignr /dev/sda ${hddtemp /dev/sda}
$alignr /dev/hdc ${hddtemp /dev/hdc}


${color}Networking:
${font PizzaDude Bullets:size=16}r${font} Down:${color} $alignr ${downspeed eth0} k/s${color} ${offset 80}
${font PizzaDude Bullets:size=16}v${font} Up:${color} $alignr ${upspeed eth0} k/s ${offset 80}

VuDu
25-08-2008, 14:29
Agora que estou numa de experimentar o Openbox, instalei o conky e tive a comprar lado a lado.

Numa configuração equivalente, o conky é mais pesado que o gkrellm. (nome do sistema, uptime, load, cpu usage+grafico, mem usage, swap usage, processes, networking + grafico, file system, sensores)

Com um refresh de 1 seg o gkrellm acusa 0%~1% enquanto o conky anda nos 2%... nada de muito crítico, como seria de esperar.
Para além disso o gkrellm tem a vantagem de actualizar os LEDs e KRELLs 1x ou 20x por segundo e não se notar diferença na utilização do cpu. Esses 20x são muito porreiros, porque dá para ter uma melhor noção da real utilização do CPU (geekisses).

O grande problema do gkrellm é o estarmos obrigado a aguentar com o layout vertical e facto de (pessoalmente achar que) não há skins decentes para o gkrellm.
O conky, por outro lado dá muita mais liberdade no layout (à semelhança do samurize para windows, mas sem o excelente editor WYSIWYG).

No entanto o gkrellm tem umas opções interessantes que permite executar comandos ao clicar em certos componentes. Por exemplo, correr o htop ao clicar no CPU, montar e desmontar partições ao clickar na correspondente zona do krell do file system, etc...

skorzen
06-09-2008, 01:57
http://img363.imageshack.us/img363/7211/conkyhl7.th.png (http://img363.imageshack.us/my.php?image=conkyhl7.png)

background no
font DejaVu Sans Condensed:size=8
use_xft yes
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1268 0
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color green
alignment bottom_left
gap_x 10
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
up: $uptime | cpu: ${cpu cpu1}/${cpu cpu2}% | ram: $mem | home: ${fs_free /home} | down: ${downspeed eth0}KB/s | up: ${upspeed eth0}KB/s

Extremamente simples, mas eu gosto.

PS: Fiz 'print screen' a todo o desktop porque não tenho aqui nenhuma ferramenta de edição de imagem.

dark_333
08-09-2008, 21:41
boas, sou novo nisto (linux), mas gostei da conky do c3I5o (http://www.techzonept.com/member.php?u=8300). a partir da conky dele retirei algumas coisas e acrescentei outras (espero que ele nao se importe). o resultado é o seguinte:

http://img95.imageshack.us/img95/3633/screenshotnh8.th.jpg (http://img95.imageshack.us/my.php?image=screenshotnh8.jpg)

background no
font DejaVu Sans:size=9
use_xft yes
xftalpha 0.9
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 110
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment top_right
gap_x 5
gap_y 5
no_buffers yes
cpu_avg_samples 2

#mpd
mpd_host 127.0.0.1
mpd_port 6600

TEXT
Uptime: $alignr$uptime

CPU: ${alignr}${freq} MHz
${cpubar}
Running:${alignr}$processes
Ram ${alignr}$mem
swap ${alignr}$swap
Disco: ${alignr}${fs_free /home}
${fs_bar 2 /home}

vodafone:
${downspeed ppp0} k/s ${alignr} ${upspeed ppp0} k/s
${downspeedgraph ppp0 10,50} ${alignr}${upspeedgraph ppp0 10,50}
${totaldown ppp0} ${alignr}${totalup ppp0}

Wireless:
${downspeed wlan0} k/s ${alignr} ${upspeed wlan0} k/s
${downspeedgraph wlan0 10,50} ${alignr}${upspeedgraph wlan0 10,50}
${totaldown wlan0} ${alignr}${totalup wlan0}cumps
PS: se quiserem o wallpaper digam :lol:

dark_333
11-09-2008, 19:02
outra conky que fiz com mais umas coisas:

http://img265.imageshack.us/img265/3526/screenshotud4.th.jpg (http://img265.imageshack.us/my.php?image=screenshotud4.jpg)

background no
font Sans:size=8
use_xft yes
xftalpha 0.9
update_interval 1
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 170
draw_shades yes ### SHADOW ###
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white ### Text Color ###
default_shade_color black
default_outline_color green
alignment top_right
gap_x 7
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
uppercase no

TEXT
uptime: $alignr$uptime
battery: $alignr$battery_time
${battery_bar 4,150 BAT0} $alignr${battery_percent}%

CPU: ${alignr}${freq} MHz
${cpubar 4}
CPU ${alignr}${cpu}%
Proc ${alignr}$processes ($running_processes run)

temperatura:
CPU ${alignr}${acpitemp}ºC

utilização:
Ram: ${alignr}$mem
${membar 4}
swap: ${alignr}$swap
HDD: ${alignr}${fs_free /}
${fs_bar 3 /}

vodafone:
${downspeed ppp0} k/s ${alignr} ${upspeed ppp0} k/s
${downspeedgraph ppp0 15,82} ${alignr}${upspeedgraph ppp0 15,82}
${totaldown ppp0} ${alignr}${totalup ppp0}

Wireless:
conected to: ${wireless_essid wlan0}
signal: ${wireless_link_bar wlan0}
${downspeed wlan0} k/s ${alignr} ${upspeed wlan0} k/s
${downspeedgraph wlan0 15,82} ${alignr}${upspeedgraph wlan0 15,82}
${totaldown wlan0} ${alignr}${totalup wlan0}wallpaper (http://img149.imageshack.us/my.php?image=wallpaper1488wu5.jpg)

JoaoVr
16-09-2008, 17:25
Desconhecia por completo o conkygui:

Conky GUI is a graphic editor that aims to quicken the customization of Conky files.

http://img76.imageshack.us/img76/1462/capturaecraqu2.png

Link (http://sourceforge.net/projects/conkygui/)

Cfcolaco
01-10-2008, 15:57
Boas!
Nao e nada de especial, bastante simples até, mas aqui fica o meu conky, ainda tenciono fazer algumas alteraçoes, mas aqui fica.


own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color #000066}${hr 2}$color
$nodename $sysname $kernel on $machine
Uptime: $uptime

${color #000066}${hr 2}$color
${freq}MHz Load: ${loadavg} Fan:${exec sensors |grep 'CPU Fan:' |cut -c 13-16} Rpm Temp: ${exec sensors |grep 'CPU Temp:' |cut -c 15-21}
$cpubar
${cpugraph 000000 ffffff}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color #000066}${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color

Root: ${fs_free_perc /}% ${fs_bar 6 /}$color
Data: ${fs_free_perc /media/disk}% ${fs_bar 6 /media/disk}$color
Docs: ${fs_free_perc /media/disk-1}% ${fs_bar 6 /media/disk-1}

${color #000066}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
Basicamente peguei numa configuraçao Base, e alterei apenas alguns parametros.
o resultado:

http://img253.imageshack.us/img253/4817/conkyvr6.th.jpg (http://img253.imageshack.us/my.php?image=conkyvr6.jpg)

capslock21
05-10-2008, 21:38
Bem pessoal depois de alguns problemas venho deixar aqui o meu conkyrc e uma fotozita..

http://img248.imageshack.us/img248/6199/capturaecradc5.th.png (http://img248.imageshack.us/my.php?image=capturaecradc5.png)http://img248.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)



background no
font Sans:size=8
#xftfont Sans:size=10
use_xft yes
xftalpha 0.9
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 5
maximum_width 220
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color green
alignment top_right
gap_x 12
gap_y 35
no_buffers yes
uppercase no
override_utf8_locale no
uppercase yes # set to yes if you want all text to be in uppercase

TEXT
${color white}SYSTEM ${hr 1}${color}

Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
Temp: ${alignr}${acpitemp}C
Battery: ${battery_percent}% ${alignr} ${battery_time}
${battery_bar 4}
CPU: ${alignr}${freq} MHz
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg

CPU ${alignr}${cpu cpu1}%
${cpubar 4 cpu1}

Ram ${alignr}$mem / $memmax ($memperc%)
${membar 4}
swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

Highest CPU $alignr CPU% MEM%
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

Highest MEM $alignr CPU% MEM%
${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

${color white}Filesystem ${hr 1}${color}

Root: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar 4 /}
Home: ${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar 4 /home}
XP: ${alignr}${fs_used /media/ACER} / ${fs_size /media/ACER}
${fs_bar 4 /media/ACER}

${color white}WIRELESS ${hr 1}${color}
Public ip: ${offset 19}${execi 3 curl -s www.whatismyip.com/automation/n09230945.asp}
Local ip: ${offset 22}${addr eth0} | ${addr eth1}
SSID: ${offset 49}${exec iwconfig eth1 | grep -i essid | cut -d"\"" -f2}
Connection: ${wireless_link_qual_perc eth1}%

${downspeed eth1} k/s ${alignr} ${upspeed eth1} k/s
${downspeedgraph eth1 15,100} ${alignr}${upspeedgraph eth1 15,100}
${totaldown eth1} ${alignr}${totalup eth1}

${alignc}${color white}INFINITY ${color}

Provavelmente esta deve de ser a minha primeira "contribuizao para a comunidade techzone"..

Agradeço a todos aqueles que ja me ajudaram e ajudarao..

Cumps.

VuDu
10-10-2008, 18:30
Já o tenho abandonado à algum tempo... mas decidi deixa-lo aqui, não vá eu perde-lo num format e depois não o encontrar :P

imagem (http://s176.photobucket.com/albums/w167/vuducurse/conky.png):

http://s176.photobucket.com/albums/w167/vuducurse/th_conky.png
(http://s176.photobucket.com/albums/w167/vuducurse/conky.png)

# set to yes if you want Conky to be forked in the background
background no

cpu_avg_samples 1
net_avg_samples 1

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#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 ProggyTinyTTSZ:size=12

own_window_transparent yes
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8

# 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 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 3

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color darkgray
default_outline_color yellow

# Text alignment, other possible values are commented
alignment top_left
#minimum_size 10 10
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 1
gap_y 1

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer left

# 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

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}

short_units true

color0 white
color1 lightgrey
color2 red

TEXT
$color1»$color0 $nodename $color1»$color0 $uptime $color1» cpu$color0${cpu}% ${freq_g}GHz ${i2c temp 2}ºC $color1» mem$color0$memperc% $mem ${i2c temp 1}ºC $color1» swap$color0$swapperc% $swap $color1» disk$color0${diskio_read sda} ${diskio_write sda} $color1» eth1$color0 ${downspeedf eth1}K${upspeedf eth1}K $color1» sda1$color0${fs_free /media/sda1} ${color1}sda6$color0${fs_free /} ${color1}sda7$color0${fs_free /home} ${color1}sda8$color0${fs_free /media/disk} $color1» battery$color0 $battery_percent% $battery $color1«

Stlkr
10-10-2008, 21:08
pessoal dêem suporte também à parte de dúvidas do conky pois tenho uma dúvida que não consigo resolver...está lá colocada a questão...

cumps ;)