Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela

Iniciado por velox256, 07 de Janeiro de 2009, 09:42

tópico anterior - próximo tópico

rjbgbo

guilhermeholtz, parabéns pelo teu conky, um dos mais informativos sobre o sistema que eu já vi, fora a simplicidade dele
vou fazer uns testes p/ adaptar ele ao meu.
Linux User #440843 | Ubuntu User #11469

guilhermeholtz

Citação de: rjbgbo online 19 de Novembro de 2010, 09:09
guilhermeholtz, parabéns pelo teu conky, um dos mais informativos sobre o sistema que eu já vi, fora a simplicidade dele
vou fazer uns testes p/ adaptar ele ao meu.

Obrigado!

Procurei filtrar bem as informações, deixando apenas as necessárias...

bred81

Muito bom seu conky mesmo!
Se eu ainda usasse, estaria usando o seu. Gostei também do tema. Os ícones AwOken (ou algo parecido) ficaram legais com esse papel de parede.
O que o Mario foi fazer no pscicólogo?
- Ele estava passando por uma fase difícil...

Andreson Goveia

#409
Bom Galera, fui mexendo daqui e dali, copiando uma coisa, ajustando outra e aqui esta meu conky


E abaixo o meu .conkyrc
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
color0 FFFFFF
color1 FCAF3E
color2 000000
color3 a00000

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

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

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
default_color black
#default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 35
gap_y 50

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
${font style=bold}SISTEMA ${hr 2}${font}

${voffset 2}${font OpenLogos:size=16}u${font}  Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU1: ${color3}${execi 4 sensors | grep -A 0 'Core 0' | cut -c15-18}ºC ${color2}${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}  CPU2: ${color3}${execi 4 sensors | grep -A 0 'Core 1' | cut -c15-18}ºC ${color2}${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font}  Ligado: ${alignr}${uptime}

${font style=bold}DATA e HORA ${hr 2}${font}

${voffset -12}${goto 22}${font Arial Black:size=32}${color}${time %H}${color}${voffset 0}${time :%M}${font}${voffset -24}${font Liberation Sans:style=Bold:size=13}${color}${time :%S}${color}${font}
${voffset 25}${goto 70}${font Liberation Sans:style=Bold:size=14}${color}${time %A}${color}${font}
${goto 70}${time %d %b %Y}

${font style=bold}HD ${hr 2}${font}

${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

${font style=bold}REDE ${hr 2}${font}

${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Local: ${alignr}${addr eth0}

${font style=bold}TEMPO ${hr 2}${font}

${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=BRXX0220 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y ${font}${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=BRXX0220 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=BRXX0220 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=BRXX0220 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=BRXX0220 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=BRXX0220 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=BRXX0220 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=BRXX0220 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=BRXX0220 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=BRXX0220 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=BRXX0220 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=BRXX0220 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=BRXX0220 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=BRXX0220 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=BRXX0220 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}

${font style=bold}CALENDÁRIO ${hr 2}${font}

${font DejaVu Sans:pixelsize=14:style=Bold}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }${font}
${font DejaVu Sans Mono:size=10}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}${font}
${font DejaVu Sans Mono:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                    /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color3}''${font DejaVu Sans Mono:style=bold:size=10}'"$DJS"'${color2}''${font DejaVu Sans Mono:size=10}'" "/}${font}

rjbgbo

Andreson, muito bom seu conky, gostei do calendário.
agora pintou uma dúvida na previsão do tempo, vc ñ postou os scripts, ou ñ é preciso, peois pelo que vi no teu conky eles são requeridos
Linux User #440843 | Ubuntu User #11469

platao

\\\\\\\\Apostilas Dicas e Guias do Ubuntu\\\\\\\\\> http://ubuntuforum-br.org/index.php/topic,79368.msg440997.html#msg440997

guilhermeholtz

Eu até queria uma previsão do tempo no meu Conky... Porém, gostaria que fosse em português...

A única que achei foi a API do Google Weather, mas minha cidade (Itararé-SP) não é listada... :(

Já para os que fornecem previsão em inglês, ela é listada no Accuweather... No Weather.com não é...

A solução foi instalar o Forecastfox no meu Firefox... :)

Andreson Goveia

Citação de: rjbgbo online 20 de Novembro de 2010, 19:44
Andreson, muito bom seu conky, gostei do calendário.
agora pintou uma dúvida na previsão do tempo, vc ñ postou os scripts, ou ñ é preciso, peois pelo que vi no teu conky eles são requeridos
Tem sim é o seguinte
Primeiro adicionei estes repositórios (Fiz só para instalação do script depois vou tirar).
sudo add-apt-repository ppa:conkyhardcore/ppa
Ai atualiza a lista (É claro, hehe).
sudo apt-get update

Ai
sudo apt-get install conkyForecast
Ai tem que copiar as configurações o ConkyForecast
cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config
Vai ter algo assim dentro dele.
# config settings for conkyForecast.py
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 30
TIME_FORMAT = %H:%M
DATE_FORMAT = %Y-%m-%d
LOCALE = BRXX1173
XOAP_PARTNER_ID = 1214976253
XOAP_LICENCE_KEY = 1d727fad0f14affb
MAXIMUM_DAYS_FORECAST = 4
AUTO_NIGHT = False
BASE_XOAP_URL = http://xoap.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=5&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m
#BASE_XOAP_URL = http://xml.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=10&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m
PROXY_HOST =
PROXY_PORT = 8080
PROXY_USERNAME =
PROXY_PASSWORD


Para o meu funcionar tive que mudar essa linha
BASE_XOAP_URL = http://xoap.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=5&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m
#BASE_XOAP_URL = http://xml.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=10&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m

Para essa
#BASE_XOAP_URL = http://xoap.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=5&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m
BASE_XOAP_URL = http://xml.weather.com/weather/local/%3CLOCATION%3E?cc=*&dayf=10&link=xoap&prod=xoap&par=%3CXOAP_PARTNER_ID%3E&key=%3CXOAP_LICENCE_KEY%3E&unit=m


Ai foi só ajustar o .conkyrc
Há tive problema com a fonte dele também ai eu baixei ela e instalei
Para quem quiser baixar segue o link abaixo
http://www.dafont.com/font.php?file=weather

alarcon

#414
O meu .conkyrc no Ubuntu 10.04 está assim:




Foi utilizado o conky-colors como base para esse .conkyrc

niquelnausea

ainda precisa de alguns ajustes, mas gostei do resultado.



# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8:style=Bold
xftalpha 0.8
text_buffer_size 512
color0 FFFFFF
color1 E42727
color2 DA9E33

# Update interval in seconds
update_interval 2

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

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

# Minimum size of text area
minimum_size 240 0
#maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
#default_color white
#default_shade_color black
#default_outline_color white
#own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 10
gap_y 40

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
${color2}SISTEMA${color0} ${hr 2}
${voffset 3}${font OpenLogos:size=16}t ${font}${voffset -5}Kernel: ${font DejaVu Sans:size=8}${alignr}${color2}${kernel}${color0}
${font StyleBats:size=12}p ${font}${voffset -2}Tempo ligado: ${font DejaVu Sans:size=8}${alignr}${color2}${uptime_short}${color0}
${font StyleBats:size=12}a ${font}${voffset -2}CPU:${font DejaVu Sans:size=8}${alignr}${color2}${freq_g}GHz${color0} ${cpugraph cpu0 8,80 DA9E33 E42727 -t}
${font StyleBats:size=12}g ${font}${voffset -2}Mem.:${font DejaVu Sans:size=8}${alignr}${color2}${mem}${color0} / ${color2}${memmax}${color0} ${membar 8,80}
${font StyleBats:size=12}j ${font}${voffset -2}Swap:${font DejaVu Sans:size=8}${alignr}${color2}${swap}${color0} / ${color2}${swapmax}${color0} ${swapbar 8,80}
${font StyleBats:size=12}d ${font}${voffset -2}Carga do sistema:${font DejaVu Sans:size=8}${alignr}${color2}${loadavg}${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. motherboard:${font DejaVu Sans:size=8}${alignr}${color2}${hwmon 1 temp 1}°C${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. processador: ${font DejaVu Sans:size=8}${alignr}${color2}${hwmon 1 temp 1}°C${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. nVidia: ${font DejaVu Sans:size=8}${alignr}${color2}${execi 1 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C${color0}${font}

${color2}PROCESSOS${color0} ${hr 2}
${font StyleBats:size=12}b ${font}${voffset -2}Processos: ${font DejaVu Sans:size=8}${color2}${processes}${color0}${alignr}${font}Em execução: ${font DejaVu Sans:size=8}${color2}${running_processes}${color0}
${font}${alignr}cpu     mem
${font StyleBats:size=12}b ${font}${voffset -2}${top name 1}${font DejaVu Sans:size=8}${alignr}${color1}${top cpu 1}% ${top mem 1}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 2}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 2}% ${top mem 2}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 3}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 3}% ${top mem 3}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 4}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 4}% ${top mem 4}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 5}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 5}% ${top mem 5}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 6}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 6}% ${top mem 6}%${color0}${font}

${color2}DISCOS${color0} ${hr 2}
${font Poky:size=12}H${font}  ${voffset -2}Disco 1:${color2}${font DejaVu Sans:size=8}${alignr}${hddtemp /dev/sda}°C${color0}
   ${font Poky:size=12}a${font}  ${voffset -2}Sistema:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sda1}${color0} ${diskiograph /dev/sda1 8,80 DA9E33 E42727 -t}
   ${color2}${fs_used /}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /}${color0}${alignr}${fs_bar 8,80 /}
   ${font Poky:size=12}p${font}  ${voffset -2}Home:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sda5}${color0} ${diskiograph /dev/sda5 8,80 DA9E33 E42727 -t}
   ${color2}${fs_used /home}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /home}${color0}${alignr}${fs_bar 8,80 /home}
${font Poky:size=12}H${font}  ${voffset -2}Disco 2:${alignr}${color2}${font DejaVu Sans:size=8}${hddtemp /dev/sdb}°C${color0}
   ${if_mounted /media/D636D1E836D1CA1F}${font Poky:size=12}c${font}  ${voffset -2}Windows:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sdb2}${color0} ${diskiograph /dev/sdb2 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
   ${if_mounted /media/D636D1E836D1CA1F}${color2}${fs_used /media/D636D1E836D1CA1F}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/D636D1E836D1CA1F}${color0}${alignr}${fs_bar 8,80 /media/D636D1E836D1CA1F}${else}${endif}
${font Poky:size=12}h${font}  ${voffset -2}Motorola EM25:${font DejaVu Sans:size=8}${if_mounted /media/MEM_CEL}${alignr}${color2}${diskio /dev/sdc1}${color0} ${diskiograph /dev/sdc1 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
${if_mounted /media/MEM_CEL}${font DejaVu Sans:size=8}${color2}${fs_used /media/MEM_CEL}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/MEM_CEL}${color0}${alignr}${fs_bar 8,80 /media/MEM_CEL}${else}${endif}
${font Poky:size=12}b${font}  ${voffset -2}SONY Cyber-shot:${font DejaVu Sans:size=8}${if_mounted /media/MEM_CAM}${alignr}${color2}${diskio /dev/sdc1}${color0} ${diskiograph /dev/sdc1 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
${if_mounted /media/MEM_CAM}${color2}${font DejaVu Sans:size=8}${fs_used /media/MEM_CAM}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/MEM_CAM}${color0}${alignr}${fs_bar 8,80 /media/CAM}${else}${endif}
${color2}REDE${color0} ${hr 2}
${font PizzaDude Bullets:size=12}U${font}${voffset -1}  Down:${font DejaVu Sans:size=8}${alignr}${color2}${downspeed eth0}${color0} ${downspeedgraph eth0 8,80 DA9E33 E42727 -t}
${font PizzaDude Bullets:size=12}O${font}${voffset -1}  Up:${font DejaVu Sans:size=8}${alignr}${color2}${upspeed eth0}${color0} ${upspeedgraph eth0 8,80 DA9E33 E42727 -t}${font}

${color2}CALENDÁRIO${color0} ${hr 2}
${font DejaVu Sans:pixelsize=10:style=Bold}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }
${font DejaVu Sans Mono:size=8:style=Bold}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}
${font DejaVu Sans Mono:size=8:style=Bold}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                    /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color1}'"$DJS"'${color0}'" "/}


Holmes

Oi pessoal,

Gostei de todos os conkys, uso um bem simples!

vlw fwi, Viva 8)
EeePC 1008ha - Chakra Linux (Edn) - KDE 4.7.4 - Kernel 3.1.
- Meu Blog: http://holmeslinux.blogspot.com/
- Fundador do Chakra Brasil: http://chakra-linux.com.br/forum

zeroday

Citação de: niquelnausea online 22 de Novembro de 2010, 02:57
ainda precisa de alguns ajustes, mas gostei do resultado.



# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8:style=Bold
xftalpha 0.8
text_buffer_size 512
color0 FFFFFF
color1 E42727
color2 DA9E33

# Update interval in seconds
update_interval 2

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

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

# Minimum size of text area
minimum_size 240 0
#maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
#default_color white
#default_shade_color black
#default_outline_color white
#own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 10
gap_y 40

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
${color2}SISTEMA${color0} ${hr 2}
${voffset 3}${font OpenLogos:size=16}t ${font}${voffset -5}Kernel: ${font DejaVu Sans:size=8}${alignr}${color2}${kernel}${color0}
${font StyleBats:size=12}p ${font}${voffset -2}Tempo ligado: ${font DejaVu Sans:size=8}${alignr}${color2}${uptime_short}${color0}
${font StyleBats:size=12}a ${font}${voffset -2}CPU:${font DejaVu Sans:size=8}${alignr}${color2}${freq_g}GHz${color0} ${cpugraph cpu0 8,80 DA9E33 E42727 -t}
${font StyleBats:size=12}g ${font}${voffset -2}Mem.:${font DejaVu Sans:size=8}${alignr}${color2}${mem}${color0} / ${color2}${memmax}${color0} ${membar 8,80}
${font StyleBats:size=12}j ${font}${voffset -2}Swap:${font DejaVu Sans:size=8}${alignr}${color2}${swap}${color0} / ${color2}${swapmax}${color0} ${swapbar 8,80}
${font StyleBats:size=12}d ${font}${voffset -2}Carga do sistema:${font DejaVu Sans:size=8}${alignr}${color2}${loadavg}${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. motherboard:${font DejaVu Sans:size=8}${alignr}${color2}${hwmon 1 temp 1}°C${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. processador: ${font DejaVu Sans:size=8}${alignr}${color2}${hwmon 1 temp 1}°C${color0}
${font StyleBats:size=12}q ${font}${voffset -2}Temp. nVidia: ${font DejaVu Sans:size=8}${alignr}${color2}${execi 1 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C${color0}${font}

${color2}PROCESSOS${color0} ${hr 2}
${font StyleBats:size=12}b ${font}${voffset -2}Processos: ${font DejaVu Sans:size=8}${color2}${processes}${color0}${alignr}${font}Em execução: ${font DejaVu Sans:size=8}${color2}${running_processes}${color0}
${font}${alignr}cpu     mem
${font StyleBats:size=12}b ${font}${voffset -2}${top name 1}${font DejaVu Sans:size=8}${alignr}${color1}${top cpu 1}% ${top mem 1}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 2}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 2}% ${top mem 2}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 3}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 3}% ${top mem 3}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 4}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 4}% ${top mem 4}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 5}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 5}% ${top mem 5}%${color0}
${font StyleBats:size=12}b ${font}${voffset -2}${top name 6}${font DejaVu Sans:size=8}${alignr}${color2}${top cpu 6}% ${top mem 6}%${color0}${font}

${color2}DISCOS${color0} ${hr 2}
${font Poky:size=12}H${font}  ${voffset -2}Disco 1:${color2}${font DejaVu Sans:size=8}${alignr}${hddtemp /dev/sda}°C${color0}
   ${font Poky:size=12}a${font}  ${voffset -2}Sistema:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sda1}${color0} ${diskiograph /dev/sda1 8,80 DA9E33 E42727 -t}
   ${color2}${fs_used /}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /}${color0}${alignr}${fs_bar 8,80 /}
   ${font Poky:size=12}p${font}  ${voffset -2}Home:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sda5}${color0} ${diskiograph /dev/sda5 8,80 DA9E33 E42727 -t}
   ${color2}${fs_used /home}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /home}${color0}${alignr}${fs_bar 8,80 /home}
${font Poky:size=12}H${font}  ${voffset -2}Disco 2:${alignr}${color2}${font DejaVu Sans:size=8}${hddtemp /dev/sdb}°C${color0}
   ${if_mounted /media/D636D1E836D1CA1F}${font Poky:size=12}c${font}  ${voffset -2}Windows:${font DejaVu Sans:size=8}${alignr}${color2}${diskio /dev/sdb2}${color0} ${diskiograph /dev/sdb2 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
   ${if_mounted /media/D636D1E836D1CA1F}${color2}${fs_used /media/D636D1E836D1CA1F}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/D636D1E836D1CA1F}${color0}${alignr}${fs_bar 8,80 /media/D636D1E836D1CA1F}${else}${endif}
${font Poky:size=12}h${font}  ${voffset -2}Motorola EM25:${font DejaVu Sans:size=8}${if_mounted /media/MEM_CEL}${alignr}${color2}${diskio /dev/sdc1}${color0} ${diskiograph /dev/sdc1 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
${if_mounted /media/MEM_CEL}${font DejaVu Sans:size=8}${color2}${fs_used /media/MEM_CEL}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/MEM_CEL}${color0}${alignr}${fs_bar 8,80 /media/MEM_CEL}${else}${endif}
${font Poky:size=12}b${font}  ${voffset -2}SONY Cyber-shot:${font DejaVu Sans:size=8}${if_mounted /media/MEM_CAM}${alignr}${color2}${diskio /dev/sdc1}${color0} ${diskiograph /dev/sdc1 8,80 DA9E33 E42727 -t}${else}${alignr}${font}Desmontado${endif}
${if_mounted /media/MEM_CAM}${color2}${font DejaVu Sans:size=8}${fs_used /media/MEM_CAM}${color0} ${font}/${font DejaVu Sans:size=8} ${color2}${fs_size /media/MEM_CAM}${color0}${alignr}${fs_bar 8,80 /media/CAM}${else}${endif}
${color2}REDE${color0} ${hr 2}
${font PizzaDude Bullets:size=12}U${font}${voffset -1}  Down:${font DejaVu Sans:size=8}${alignr}${color2}${downspeed eth0}${color0} ${downspeedgraph eth0 8,80 DA9E33 E42727 -t}
${font PizzaDude Bullets:size=12}O${font}${voffset -1}  Up:${font DejaVu Sans:size=8}${alignr}${color2}${upspeed eth0}${color0} ${upspeedgraph eth0 8,80 DA9E33 E42727 -t}${font}

${color2}CALENDÁRIO${color0} ${hr 2}
${font DejaVu Sans:pixelsize=10:style=Bold}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }
${font DejaVu Sans Mono:size=8:style=Bold}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}
${font DejaVu Sans Mono:size=8:style=Bold}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                    /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color1}'"$DJS"'${color0}'" "/}


Parabens Niquel ,

Seu Conky esta muito bom.

Até mais
"Lutar sempre , vencer na medida do possível , desistir jamais."

ubuntu-br

#418
boa noite estou tentando montar um conky pra mim como já encontrei vários temas abordando o assunto mas naõ entendo bulhufas resolvi montar pedaços de vários outro que vou encontrando aqui no fórum.
Não sou preguiçoso e escolhi o caminho mas fácil é mesmo falta de tutano pois não consegui montar um do zero de jeito nenhum.
pois bem este é o que eu montei.
minha duvida é
porque a temperatura não funciona e o e o Rhythmbox nem aparece.
outra coisa, consegui fazer com que o conky inicie junto com o sistema, mas ele fica por cima das janelas como alterar isso?

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
color0 FFFFFF
color1 FCAF3E

text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

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

# Minimum size of text area
minimum_size 180 0
maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 7
gap_y 40

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT

SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}q${font}   Ligado: ${alignr}${uptime}
${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
CPU ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
CPU ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu2}%)
Temperatura ${hr 1}
MoBo ${alignr}${acpitemp}°C
CPU1 ${alignr}${execi 300 sensors | grep Core\ 0 | cut -c15-16 ;}°C
CPU2 ${alignr}${execi 300 sensors | grep Core\ 1 | cut -c15-16 ;}°C
HD ${alignr}${execi 300 nc localhost 7634 | cut -c33-34 ;}°C
$color$stippled_hr

FILESYSTEM ${hr 1}${color}
/home: $alignr ${fs_used /home/} / ${fs_size /home} ($alignr${fs_free_perc /home}%)
${fs_bar 4 /home}
/win-c: $alignr ${fs_used /win-c} / ${fs_size /win-c} ($alignr${fs_free_perc /win-c}%)
${fs_bar 4 /win-c}
/win-d: $alignr ${fs_used /win-d} / ${fs_size /win-d} ($alignr${fs_free_perc /win-d}%)
${fs_bar 4 /win-d}

${font StyleBats:size=16}A${font}   CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}

CONSUMO DE MEMÓRIA:
${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem name 4}${alignr}${top_mem mem 4}

${execpi 10 ~/.conkycolors/bin/conkyRhythmbox -t ~/.conkycolors/templates/conkyPlayer.template}

NETWORK ${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}      

cesgomes

Possuo dois conky: O painel esquerdo e a previsão do tempo. dmesg e o wireless são screenlets.

http://yfrog.com/f/h0r49p/

Previsão do tempo:
# -- Conky settings -- #
    background no
    update_interval 1

    cpu_avg_samples 2
    net_avg_samples 2

    override_utf8_locale yes

    double_buffer yes
    no_buffers yes

    text_buffer_size 2048
    imlib_cache_size 0

    # -- Window specifications -- #

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

    border_inner_margin 0
    border_outer_margin 0

    minimum_size 1310 310
    maximum_width 310
   

    alignment bl
    gap_x 20
    gap_y 60

    # -- Graphics settings -- #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes

    # -- Text settings -- #
    use_xft yes
    xftfont MaiandraGD:size=24
    xftalpha 0.4

    uppercase no

    default_color 8b8b8b

         TEXT
${voffset 50}${font LCD:size=60}${color D9D919}${goto 50}${time %H}${goto 135}${color D9D919}${time %M}${font LCD:size=30}${color D9D919}${goto 230}${time %S}
${voffset 7}${goto 30}${font Blue Highway:size=12}${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=CN --refetch}
#${voffset 7}${font Radio Space Bold Italic:size=12}${color 909090}${goto 24}Бургас
${font Blue Highway:size=12}${color 909090}${goto 24}${execi 1800 conkyForecast --location=BRXX0237 --datatype=CT}${voffset -20}${goto 240}${font Radio Stars:size=25}${color 707070}${execi 1800 conkyForecast --location=BRXX0237 -u
--datatype=HT}
${voffset 57}${font Baekmuk Gulim:size=8}${color white}${goto 47}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=1}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=1}${font Baekmuk Gulim:size=8}${color white}${goto 110}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=2}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=2}${font Baekmuk Gulim:size=8}${color white}${goto 180}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=3}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=3}${font Baekmuk Gulim:size=8}${color white}${goto 250}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=4}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=4}
${voffset 4}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 55}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=1}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 115}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=2}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 185}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=3}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 255}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=4}

${image $HOME/scripts/conky/scripts/weather+clock/images/background1.png -p 12,30 -s 296x154}
${image $HOME/scripts/conky/scripts/weather+clock/images/down.png -p 12,220 -s 296x55}
${execpi 600 conkyForecast --location=BRXX0237 --template=$HOME/scripts/conky/scripts/weather+clock/vreme.template}
${voffset -500}



Painel esquerdo:
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
color0 FFFFFF
color1 FCAF3E

text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

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

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

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white

# 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
# same thing as passing -x at command line
gap_x 15
gap_y 40

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
${font Snap.se:size=10}${alignc}${color yellow}${time %A},${time %e} de ${time %B} de ${time %G}
${color 54FF9F}SISTEMA${hr 2}$color
${voffset 2}${font OpenLogos:size=16}u${font}  Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}  CPU: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=16}q${font}  Ligado: ${alignr}${uptime}
Processos ativos: ${alignr}$processes ($running_processes rodando)
Bateria: ${alignr}${battery_percent BAT0}%


${color 54FF9F}CPU${hr 2}$color
${font StyleBats:size=16}A${font}  ${top name 1}$alignr${top cpu 1} %
${font StyleBats:size=16}A${font}  ${top name 2}$alignr${top cpu 2} %
${font StyleBats:size=16}A${font}  ${top name 3}$alignr${top cpu 3} %
${color FFFFFF}Average
${cpugraph cpu0 FFA500 FFFF00}
${color FFFFFF}Core 1 $alignr Core 2
${color FFFFFF}${cpugraph cpu1 25,120 FFA500 FFFF00} ${color FFFFFF} $alignr${color FFFFFF}${cpugraph cpu2 25,120 FFA500 FFFF00}

${color 54FF9F}MEMORIA${hr 2}$color
${font StyleBats:size=16}g${font}  ${top_mem name 1}$alignr${top_mem mem 1} %
${font StyleBats:size=16}g${font}  ${top_mem name 2}$alignr${top_mem mem 2} %
${font StyleBats:size=16}g${font}  ${top_mem name 3}$alignr${top_mem mem 3} %

${color 54FF9F}HD${hr 2}$color
${voffset 4}${font StyleBats:size=14}4${font}   ${voffset -5}HD:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${voffset 4}${font StyleBats:size=14}4${font}   ${voffset -5}Musicas:
${voffset 4}${fs_used /home/musicas}/${fs_size /home/musicas} ${alignr}${fs_bar 8,60 /home/musicas}

${color 54FF9F}REDE${hr 2}$color
#eth0: ${addr eth0}$color
#down: $color${downspeed eth0}k/s ${alignr}up: ${upspeed eth0}k/s
#${downspeedgraph eth0 25,140 FFA500 ff0000} ${alignr}${upspeedgraph eth0 25,140 FFFF00 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}
${if_existing /proc/net/route wlan0}
Up:   ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Sinal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
Ip Local: ${alignr}${addr wlan0}
Ip Externo: ${alignr}${execi 1 ~/scripts/conky/scripts/ip.sh}
${else}
Up:   ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}
Ip Local: ${alignr}${addr eth0}
Ip Externo: ${alignr}${execi 1 ~/scripts/conky/scripts/ip.sh}
${endif}
Notebook Compaq - Processador Intel Pentium Dual Core T3200
HD 160Gb 5400RPM (SATA)
2Gb RAM 667Mhz DDR2