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

Legendario

Citação de: pedrotf online 06 de Agosto de 2009, 15:49
Segue o meu conky.  Depois eu disponibilizo o meu conkyrc e scripts.


Ampliar



Eu gostei dos icones q vc está usando. Será que podia dar o link?

rruella

ainda sobre o conky estou montando agora o conkuEmail.tenho um arquivo digamos exemplo que é o conkyEmail.template na pasta /usr/share/conkyemail/example/conkyEmail.template. abro o arquivo e preencho com meu email no yahoo mais password e quando vou gravar, ou seja salvar recebo uma mensagem de que:

Não possui as permissões necessárias para gravar o ficheiro. Certifique-se de que inseriu a localização correctamente e tente novamente.
o que fazer neste caso?
Dar como resolvido, ou como solucionado um tópico seu:

http://www.youtube.com/watch?v=cW8isbYhR_M

velox256

Tem que abrir como root, chefe, se está usando o Gedit pra isso, basta usar o Terminal e digitar:

"sudo gedit /usr/share/conkyemail/example/conkyEmail.template", editar o que precisa e depois clique em Salvar.

Eu sempre dou como dica instalar os pacotes do Nautilus como python-nautilus, nautilus-open-termial, nautilus-gksu (se for o caso, instalar tudo que é nautilus não sei o que que aparecer, hehehe) para assim ter no menu de ações do botão direito do mouse opções como Abrir Num Terminal, Abrir Como Administrador, que facilita bastante na hora de editar arquivos ou fazer outras coisas, como compilar.
Computador perereca, com disco perereca, monitor perereca e sistema super xuxu. Visitem a minha página em http://sidserra.k6.com.br ou meu blog em http://sidserra.blogspot.com.br.

rruella

se não for pedir muito velox por favor explica pra quem não sabe como fazer isso, numca mais te pergunto outra vez prometo

"Eu sempre dou como dica instalar os pacotes do Nautilus como python-nautilus, nautilus-open-termial, nautilus-gksu"

consegui resposta no Yahoo mas no Gmail tenho este erro:

ERROR: getOutputData:Unexpected error:Traceback (most recent call last):
  File "/usr/share/conkyemail/conkyEmail.py", line 141, in getOutputData
    if count == -1:
UnboundLocalError: local variable 'count' referenced before assignment

Dar como resolvido, ou como solucionado um tópico seu:

http://www.youtube.com/watch?v=cW8isbYhR_M

pedrotf



Cisne_Negro

#141
Aqui fica a minha área de trabalho:



E o meu .conkyrc:

# Use Xft?
use_xft yes
xftfont Comic Sans M:size=8
xftalpha 0.8
color0 BABABA
color1 00FFFC

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 300 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 20
gap_y 45

# 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
${color 00DCFF}${font Arial Black:size=9}SISTEMA${color0} ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}q${font}   On: ${alignr}${uptime}
${font Poky:size=16}1${font} Bateria: ${battery_percent BAT0}% ${alignr}${battery_bar 7,150 BAT0}
${font ConkyWeather:size=16}E${font}  CPU: ${alignr}${hwmon 0 temp 1}°C
${font ConkyWeather:size=16}E${font}  GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
${font ConkyWeather:size=16}E${font}  Disco: ${alignr}${hddtemp /dev/sda}°C

${color 00DCFF}${font Arial Black:size=9}CPU${color0} ${hr 2}
${font StyleBats:size=16}O${font} Frequência: ${alignr}${freq_g 0}GHz ${alignr}
${font StyleBats:size=16}P${font} Carga: ${cpu cpu0}% ${alignr}${cpugraph cpu0 13,150 030071 BCFBFA}

${color 00DCFF}${font Arial Black:size=9}PROCESSOS${color0} ${hr 2}
${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} %
${font StyleBats:size=16}A${font}  ${top name 4}$alignr${top cpu 4} %
${font StyleBats:size=16}A${font}  ${top name 5}$alignr${top cpu 5} %

${color 00DCFF}${font Arial Black:size=9}MEMÓRIA${color0} ${hr 2}
${font StyleBats:size=16}p${font}  Carga: $memperc% ${alignr}${memgraph 13,150  030071 BCFBFA}
${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 00DCFF}${font Arial Black:size=9}DISCO${color0} ${hr 2}
${font Pie charts for maps:size=14}7${font} Sistema: ${fs_used /} / ${fs_size /} ${alignr}${fs_bar 7,100 /}
${font Pie charts for maps:size=14}7${font} Partilhado: ${fs_used /media/Partilhado} / ${fs_size /media/Partilhado} ${alignr}${fs_bar 7,100 /media/Partilhado}

${if_existing /proc/net/route wlan0}${color 00DCFF}${font Arial Black:size=9}REDE${color0} ${hr 2}
${voffset 4}${font RsbillsDng:size=18}3${font}${color0}  Ligado a "${wireless_essid wlan0}"
${voffset 4}${font Poky:size=14}Y${font}   Sinal:${alignr} ${wireless_link_qual_perc wlan0}%
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0}/s ${alignr}${upspeedgraph wlan0 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0}/s ${alignr}${downspeedgraph wlan0 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0}/s ${alignr}${upspeedgraph eth0 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0}/s ${alignr}${downspeedgraph eth0 13,150 030071 00FFFC}
${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}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1}/s ${alignr}${upspeedgraph eth1 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1}/s ${alignr}${downspeedgraph eth1 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed ppp0}/s ${alignr}${upspeedgraph ppp0 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed ppp0}/s ${alignr}${downspeedgraph ppp0 13,150 030071 00FFFC}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown ppp0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Local: ${alignr}${addr ppp0}${endif}

${color 00DCFF}${font Arial Black:size=9}METEOROLOGIA${color0} ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=POXX0007 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=POXX0007 --datatype=HT}${font}


${voffset 0}${alignc 35}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=1 --shortweekday} ${alignc 1}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=3 --shortweekday} ${alignc -60}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 60 conkyForecast --location=POXX0007 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 10}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignc -68}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execpi 60 conkyForecast --location=POXX0007 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=POXX0007 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 60 conkyForecast --location=POXX0007 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 60 conkyForecast --location=POXX0007 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 10}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 70}${execpi 60 conkyForecast --location=POXX0007 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 60 conkyForecast --location=POXX0007 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Weather Unavailable${endif}

${color 00DCFF}${font Arial Black:size=9}EMAIL${color0} ${hr 2}${if_existing /proc/net/route wlan0}
${color0}${font}${execi 30 sh /home/h/.scripts/gmail.sh}


Aproveito para agradecer a todos, pois os vários exemplos aqui postados foram muito úteis para a "construção" do meu conky!  8)
Ubuntu Para Totós - Truques, dicas, tutoriais e notícias sobre o Ubuntu

Jone Metal

Ae galera, eu configurei este conky de um script do gnome look http://www.gnome-look.org/content/show.php/conkywide?content=107556, só que a parte do script que corresponde ao clima não funfa, já tenho codigo da cidade e da este erro quando chamo o conky pelo terminal
Citarhttp://img20.imageshack.us/img20/827/capturadetelah.png
Eu excluir o script corespondente, mas gostaria de fazer os ajustes pra que funfasse normalmente, acho que tem de configura um tal de "weather", se alguem poder dizer como posso fazer, agradeço desde já!
Aquí está o script;
Citar###################### Conkywide ######################
# Made by dragonauta (dragonauta[dot]x[at]gmail[dot]com)
# Creative Commons BY-NC-SA
# version 1.0 Release 2009-06-26
######################################################

# Conky configuration
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Sans:size=7:bold

# Text alpha when using Xft
xftalpha 0.8

#Print everything to console?
out_to_console no

# 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

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
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 1200 5

# Maximum width of window
maximum_width 1200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 1

# border margins
border_margin 4

# border width
border_width 0

# Default colors and also border colors
default_color whitesmoke
default_shade_color black
default_outline_color black

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

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 50 # To hide from tranparent window borders.

# 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

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384

TEXT
${goto 810}${color #EFEFEF}${voffset 30}.: Fecha :.
${goto 810}${#FAD85D}${font Sans:size=28:bold}${time %e}${font}
${goto 860}${#8FA54F}${voffset -30}${font Sans:size=10}${time %A}${font}
${goto 860}${#8FA54F}${font Sans:size=10}${time %B}, ${time %G}${font}
${goto 810}${#EFEFEF}${voffset 3}${font Sans:size=12:bold}${time %H:%M:%S}${font}
${goto 100}${voffset -20}${#EFEFEF}.: CPU :.
${goto 100}${#D1661A}${cpugraph 15,150 82281F D1661A}
${goto 100}${#8FA54F}CPU: ${#D1661A}${cpubar 7,100}   ${#8FA54F}$cpu%
${goto 100}${#8FA54F}Procesos: ${#FAD85D}$processes ${#8FA54F}CPU freq: ${#FAD85D}${freq 1}MHz
${goto 620}${voffset -40}${#EFEFEF}.: Sistema :.
${goto 620}${#8FA54F}$sysname${goto 665} ${#FAD85D}$kernel
${goto 620}${#8FA54F}Debian Lenny ${#FAD85D}$machine
${goto 620}${#8FA54F}Uptime:${goto 665} ${#FAD85D}$uptime
${goto 620}${#8FA54F}Load:${goto 665} ${#FAD85D}$loadavg
${goto 990}${voffset 20}${#EFEFEF}.: NetworK :.
${goto 990}${#8FA54F}IP: ${#FAD85D}${execi 10000 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${goto 968}${#8FA54F}UP:${goto 990}${#D1661A}${upspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${upspeedf eth0} KB
${goto 950}${#8FA54F}DOWN:${goto 990}${#D1661A}${downspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${downspeedf eth0} KB
${goto 40}${voffset -5}${#EFEFEF}.: RAM :.
${goto 40}${#8FA54F}RAM:${goto 80}${#FAD85D}$mem/$memmax - $memperc% ${goto 220}${#D1661A}${membar 7,60}
${goto 40}${#8FA54F}SWP:${goto 80}${#FAD85D}$swap/$swapmax - $swapperc% ${goto 220}${#D1661A}${swapbar 7,60}
${goto 25}${voffset 120}${#EFEFEF}.: HD :.
${goto 25}${#8FA54F}Root${goto 60}${#FAD85D}${fs_used /}/${fs_size /}${goto 160}${#D1661A}${fs_bar 7,60 /}
${goto 25}${#8FA54F}Home${goto 60}${#FAD85D}${fs_used /home}/${fs_size /home}${goto 160}${#D1661A}${fs_bar 7,60 /home}
${goto 770}${voffset -30}${#EFEFEF}.: Clima :.
${goto 770}${#8FA54F}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CN --refetch}${#EFEFEF} : ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT}
${goto 770}${#EFEFEF}${offset 36}${voffset -4}${font ConkyWeather:size=40}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF}${font}
${goto 770}${voffset -8}${#8FA54F}Temperatura: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT}${#8FA54F} Humedad: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM}
${goto 770}${#8FA54F}Dirección: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WD}${#8FA54F} Viento: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WS}

${goto 770}${#8FA54F}Mañana: ${offset 4}${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT --startday=1 --endday=1}

${goto 770}${#FAD85D}${offset 20}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=DW --shortweekday --startday=1 --endday=3 --spaces=15}
${goto 770}${#EFEFEF}${offset 14}${font ConkyWeather:size=24}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF --startday=1 --endday=3 --spaces=4}${font}
${goto 770}${#8FA54F}Max: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT --startday=1 --endday=3 --spaces=13}
${goto 770}${#8FA54F}Min: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=LT --startday=1 --endday=3 --spaces=16}
${goto 770}${#8FA54F}Hum: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM --startday=1 --endday=3 --spaces=13}${font}
${goto 70}${voffset -140}${#EFEFEF}.: Procesos :.
${goto 70}${#EFEFEF}Nombre ::. ${goto 182}PID${goto 210}CPU%${goto 245}MEM%
${goto 70}${#82281F}${top name 1} ${goto 175}${top pid 1}${goto 210}${top cpu 1}${goto 245}${top mem 1}
${goto 70}${#D1661A}${top name 2} ${goto 175}${top pid 2}${goto 210}${top cpu 2}${goto 245}${top mem 2}
${goto 70}${#FAD85D}${top name 3} ${goto 175}${top pid 3}${goto 210}${top cpu 3}${goto 245}${top mem 3}
${goto 70}${#8FA54F}${top name 4} ${goto 175}${top pid 4}${goto 210}${top cpu 3}${goto 245}${top mem 4}
${goto 70}${#EFEFEF}Memoria ::.
${goto 70}${#82281F}${top_mem name 1} ${goto 175}${top_mem pid 1}${goto 210}${top_mem cpu 1}${goto 245}${top_mem mem 1}
${goto 70}${#D1661A}${top_mem name 2} ${goto 175}${top_mem pid 2}${goto 210}${top_mem cpu 2}${goto 245}${top_mem mem 2}
${goto 70}${#FAD85D}${top_mem name 3} ${goto 175}${top_mem pid 3}${goto 210}${top_mem cpu 3}${goto 245}${top_mem mem 3}
${goto 70}${#8FA54F}${top_mem name 4} ${goto 175}${top_mem pid 4}${goto 210}${top_mem cpu 4}${goto 245}${top_mem mem 4}
${goto 340}${voffset 100}${#EFEFEF}.: Rhythmbox :.
${goto 420}${#D1661A}AHORA SONANDO
${goto 340}${if_running rhythmbox}${#8FA54F}Artista: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ta}
${goto 340}${#8FA54F}Título: ${goto 390}${#FAD85D}${exec rhythmbox-client --print-playing-format %tt}
${goto 340}${#8FA54F}Album: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %at}
${goto 340}${#8FA54F}Genero: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ag}${goto 470}${#8FA54F}Año: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ay}
${goto 340}${#8FA54F}Posición: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %te}${goto 470}${#8FA54F}Tiempo: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %td}$else${goto 430}${font Liberation Mono:size=6:bold}${#82281F}Sin Actividad${font}$endif${color}

mateusrico

Citação de: Jone Metal online 09 de Novembro de 2009, 12:31
Ae galera, eu configurei este conky de um script do gnome look http://www.gnome-look.org/content/show.php/conkywide?content=107556, só que a parte do script que corresponde ao clima não funfa, já tenho codigo da cidade e da este erro quando chamo o conky pelo terminal
Citarhttp://img20.imageshack.us/img20/827/capturadetelah.png
Eu excluir o script corespondente, mas gostaria de fazer os ajustes pra que funfasse normalmente, acho que tem de configura um tal de "weather", se alguem poder dizer como posso fazer, agradeço desde já!
Aquí está o script;
Citar###################### Conkywide ######################
# Made by dragonauta (dragonauta[dot]x[at]gmail[dot]com)
# Creative Commons BY-NC-SA
# version 1.0 Release 2009-06-26
######################################################

# Conky configuration
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Sans:size=7:bold

# Text alpha when using Xft
xftalpha 0.8

#Print everything to console?
out_to_console no

# 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

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
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 1200 5

# Maximum width of window
maximum_width 1200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 1

# border margins
border_margin 4

# border width
border_width 0

# Default colors and also border colors
default_color whitesmoke
default_shade_color black
default_outline_color black

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

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 50 # To hide from tranparent window borders.

# 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

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384

TEXT
${goto 810}${color #EFEFEF}${voffset 30}.: Fecha :.
${goto 810}${#FAD85D}${font Sans:size=28:bold}${time %e}${font}
${goto 860}${#8FA54F}${voffset -30}${font Sans:size=10}${time %A}${font}
${goto 860}${#8FA54F}${font Sans:size=10}${time %B}, ${time %G}${font}
${goto 810}${#EFEFEF}${voffset 3}${font Sans:size=12:bold}${time %H:%M:%S}${font}
${goto 100}${voffset -20}${#EFEFEF}.: CPU :.
${goto 100}${#D1661A}${cpugraph 15,150 82281F D1661A}
${goto 100}${#8FA54F}CPU: ${#D1661A}${cpubar 7,100}   ${#8FA54F}$cpu%
${goto 100}${#8FA54F}Procesos: ${#FAD85D}$processes ${#8FA54F}CPU freq: ${#FAD85D}${freq 1}MHz
${goto 620}${voffset -40}${#EFEFEF}.: Sistema :.
${goto 620}${#8FA54F}$sysname${goto 665} ${#FAD85D}$kernel
${goto 620}${#8FA54F}Debian Lenny ${#FAD85D}$machine
${goto 620}${#8FA54F}Uptime:${goto 665} ${#FAD85D}$uptime
${goto 620}${#8FA54F}Load:${goto 665} ${#FAD85D}$loadavg
${goto 990}${voffset 20}${#EFEFEF}.: NetworK :.
${goto 990}${#8FA54F}IP: ${#FAD85D}${execi 10000 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${goto 968}${#8FA54F}UP:${goto 990}${#D1661A}${upspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${upspeedf eth0} KB
${goto 950}${#8FA54F}DOWN:${goto 990}${#D1661A}${downspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${downspeedf eth0} KB
${goto 40}${voffset -5}${#EFEFEF}.: RAM :.
${goto 40}${#8FA54F}RAM:${goto 80}${#FAD85D}$mem/$memmax - $memperc% ${goto 220}${#D1661A}${membar 7,60}
${goto 40}${#8FA54F}SWP:${goto 80}${#FAD85D}$swap/$swapmax - $swapperc% ${goto 220}${#D1661A}${swapbar 7,60}
${goto 25}${voffset 120}${#EFEFEF}.: HD :.
${goto 25}${#8FA54F}Root${goto 60}${#FAD85D}${fs_used /}/${fs_size /}${goto 160}${#D1661A}${fs_bar 7,60 /}
${goto 25}${#8FA54F}Home${goto 60}${#FAD85D}${fs_used /home}/${fs_size /home}${goto 160}${#D1661A}${fs_bar 7,60 /home}
${goto 770}${voffset -30}${#EFEFEF}.: Clima :.
${goto 770}${#8FA54F}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CN --refetch}${#EFEFEF} : ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT}
${goto 770}${#EFEFEF}${offset 36}${voffset -4}${font ConkyWeather:size=40}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF}${font}
${goto 770}${voffset -8}${#8FA54F}Temperatura: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT}${#8FA54F} Humedad: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM}
${goto 770}${#8FA54F}Dirección: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WD}${#8FA54F} Viento: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WS}

${goto 770}${#8FA54F}Mañana: ${offset 4}${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT --startday=1 --endday=1}

${goto 770}${#FAD85D}${offset 20}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=DW --shortweekday --startday=1 --endday=3 --spaces=15}
${goto 770}${#EFEFEF}${offset 14}${font ConkyWeather:size=24}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF --startday=1 --endday=3 --spaces=4}${font}
${goto 770}${#8FA54F}Max: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT --startday=1 --endday=3 --spaces=13}
${goto 770}${#8FA54F}Min: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=LT --startday=1 --endday=3 --spaces=16}
${goto 770}${#8FA54F}Hum: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM --startday=1 --endday=3 --spaces=13}${font}
${goto 70}${voffset -140}${#EFEFEF}.: Procesos :.
${goto 70}${#EFEFEF}Nombre ::. ${goto 182}PID${goto 210}CPU%${goto 245}MEM%
${goto 70}${#82281F}${top name 1} ${goto 175}${top pid 1}${goto 210}${top cpu 1}${goto 245}${top mem 1}
${goto 70}${#D1661A}${top name 2} ${goto 175}${top pid 2}${goto 210}${top cpu 2}${goto 245}${top mem 2}
${goto 70}${#FAD85D}${top name 3} ${goto 175}${top pid 3}${goto 210}${top cpu 3}${goto 245}${top mem 3}
${goto 70}${#8FA54F}${top name 4} ${goto 175}${top pid 4}${goto 210}${top cpu 3}${goto 245}${top mem 4}
${goto 70}${#EFEFEF}Memoria ::.
${goto 70}${#82281F}${top_mem name 1} ${goto 175}${top_mem pid 1}${goto 210}${top_mem cpu 1}${goto 245}${top_mem mem 1}
${goto 70}${#D1661A}${top_mem name 2} ${goto 175}${top_mem pid 2}${goto 210}${top_mem cpu 2}${goto 245}${top_mem mem 2}
${goto 70}${#FAD85D}${top_mem name 3} ${goto 175}${top_mem pid 3}${goto 210}${top_mem cpu 3}${goto 245}${top_mem mem 3}
${goto 70}${#8FA54F}${top_mem name 4} ${goto 175}${top_mem pid 4}${goto 210}${top_mem cpu 4}${goto 245}${top_mem mem 4}
${goto 340}${voffset 100}${#EFEFEF}.: Rhythmbox :.
${goto 420}${#D1661A}AHORA SONANDO
${goto 340}${if_running rhythmbox}${#8FA54F}Artista: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ta}
${goto 340}${#8FA54F}Título: ${goto 390}${#FAD85D}${exec rhythmbox-client --print-playing-format %tt}
${goto 340}${#8FA54F}Album: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %at}
${goto 340}${#8FA54F}Genero: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ag}${goto 470}${#8FA54F}Año: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ay}
${goto 340}${#8FA54F}Posición: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %te}${goto 470}${#8FA54F}Tiempo: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %td}$else${goto 430}${font Liberation Mono:size=6:bold}${#82281F}Sin Actividad${font}$endif${color}


De acordo com o seu screen o arquivo "/home/jone/.conkyForecast.py"  ou o caminho não existe, percebe pela mensagem "can´t open file" traduzido "arquivo não pode ser aberto" verifique o caminho e o arquivo

Jone Metal

Citação de: mateusrico online 09 de Novembro de 2009, 14:18
Citação de: Jone Metal online 09 de Novembro de 2009, 12:31
Ae galera, eu configurei este conky de um script do gnome look http://www.gnome-look.org/content/show.php/conkywide?content=107556, só que a parte do script que corresponde ao clima não funfa, já tenho codigo da cidade e da este erro quando chamo o conky pelo terminal
Citarhttp://img20.imageshack.us/img20/827/capturadetelah.png
Eu excluir o script corespondente, mas gostaria de fazer os ajustes pra que funfasse normalmente, acho que tem de configura um tal de "weather", se alguem poder dizer como posso fazer, agradeço desde já!
Aquí está o script;
Citar###################### Conkywide ######################
# Made by dragonauta (dragonauta[dot]x[at]gmail[dot]com)
# Creative Commons BY-NC-SA
# version 1.0 Release 2009-06-26
######################################################

# Conky configuration
background yes

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Sans:size=7:bold

# Text alpha when using Xft
xftalpha 0.8

#Print everything to console?
out_to_console no

# 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

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
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 1200 5

# Maximum width of window
maximum_width 1200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 1

# border margins
border_margin 4

# border width
border_width 0

# Default colors and also border colors
default_color whitesmoke
default_shade_color black
default_outline_color black

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

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 50 # To hide from tranparent window borders.

# 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

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
max_user_text 16384

TEXT
${goto 810}${color #EFEFEF}${voffset 30}.: Fecha :.
${goto 810}${#FAD85D}${font Sans:size=28:bold}${time %e}${font}
${goto 860}${#8FA54F}${voffset -30}${font Sans:size=10}${time %A}${font}
${goto 860}${#8FA54F}${font Sans:size=10}${time %B}, ${time %G}${font}
${goto 810}${#EFEFEF}${voffset 3}${font Sans:size=12:bold}${time %H:%M:%S}${font}
${goto 100}${voffset -20}${#EFEFEF}.: CPU :.
${goto 100}${#D1661A}${cpugraph 15,150 82281F D1661A}
${goto 100}${#8FA54F}CPU: ${#D1661A}${cpubar 7,100}   ${#8FA54F}$cpu%
${goto 100}${#8FA54F}Procesos: ${#FAD85D}$processes ${#8FA54F}CPU freq: ${#FAD85D}${freq 1}MHz
${goto 620}${voffset -40}${#EFEFEF}.: Sistema :.
${goto 620}${#8FA54F}$sysname${goto 665} ${#FAD85D}$kernel
${goto 620}${#8FA54F}Debian Lenny ${#FAD85D}$machine
${goto 620}${#8FA54F}Uptime:${goto 665} ${#FAD85D}$uptime
${goto 620}${#8FA54F}Load:${goto 665} ${#FAD85D}$loadavg
${goto 990}${voffset 20}${#EFEFEF}.: NetworK :.
${goto 990}${#8FA54F}IP: ${#FAD85D}${execi 10000 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}
${goto 968}${#8FA54F}UP:${goto 990}${#D1661A}${upspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${upspeedf eth0} KB
${goto 950}${#8FA54F}DOWN:${goto 990}${#D1661A}${downspeedgraph eth0 7,60 1C2B25 8FA54F}${goto 1065}${#FAD85D}${downspeedf eth0} KB
${goto 40}${voffset -5}${#EFEFEF}.: RAM :.
${goto 40}${#8FA54F}RAM:${goto 80}${#FAD85D}$mem/$memmax - $memperc% ${goto 220}${#D1661A}${membar 7,60}
${goto 40}${#8FA54F}SWP:${goto 80}${#FAD85D}$swap/$swapmax - $swapperc% ${goto 220}${#D1661A}${swapbar 7,60}
${goto 25}${voffset 120}${#EFEFEF}.: HD :.
${goto 25}${#8FA54F}Root${goto 60}${#FAD85D}${fs_used /}/${fs_size /}${goto 160}${#D1661A}${fs_bar 7,60 /}
${goto 25}${#8FA54F}Home${goto 60}${#FAD85D}${fs_used /home}/${fs_size /home}${goto 160}${#D1661A}${fs_bar 7,60 /home}
${goto 770}${voffset -30}${#EFEFEF}.: Clima :.
${goto 770}${#8FA54F}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CN --refetch}${#EFEFEF} : ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT}
${goto 770}${#EFEFEF}${offset 36}${voffset -4}${font ConkyWeather:size=40}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF}${font}
${goto 770}${voffset -8}${#8FA54F}Temperatura: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT}${#8FA54F} Humedad: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM}
${goto 770}${#8FA54F}Dirección: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WD}${#8FA54F} Viento: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WS}

${goto 770}${#8FA54F}Mañana: ${offset 4}${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=CT --startday=1 --endday=1}

${goto 770}${#FAD85D}${offset 20}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=DW --shortweekday --startday=1 --endday=3 --spaces=15}
${goto 770}${#EFEFEF}${offset 14}${font ConkyWeather:size=24}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=WF --startday=1 --endday=3 --spaces=4}${font}
${goto 770}${#8FA54F}Max: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HT --startday=1 --endday=3 --spaces=13}
${goto 770}${#8FA54F}Min: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=LT --startday=1 --endday=3 --spaces=16}
${goto 770}${#8FA54F}Hum: ${#FAD85D}${execi 1680 python ~/.conkyForecast.py --location=ARER3100 --datatype=HM --startday=1 --endday=3 --spaces=13}${font}
${goto 70}${voffset -140}${#EFEFEF}.: Procesos :.
${goto 70}${#EFEFEF}Nombre ::. ${goto 182}PID${goto 210}CPU%${goto 245}MEM%
${goto 70}${#82281F}${top name 1} ${goto 175}${top pid 1}${goto 210}${top cpu 1}${goto 245}${top mem 1}
${goto 70}${#D1661A}${top name 2} ${goto 175}${top pid 2}${goto 210}${top cpu 2}${goto 245}${top mem 2}
${goto 70}${#FAD85D}${top name 3} ${goto 175}${top pid 3}${goto 210}${top cpu 3}${goto 245}${top mem 3}
${goto 70}${#8FA54F}${top name 4} ${goto 175}${top pid 4}${goto 210}${top cpu 3}${goto 245}${top mem 4}
${goto 70}${#EFEFEF}Memoria ::.
${goto 70}${#82281F}${top_mem name 1} ${goto 175}${top_mem pid 1}${goto 210}${top_mem cpu 1}${goto 245}${top_mem mem 1}
${goto 70}${#D1661A}${top_mem name 2} ${goto 175}${top_mem pid 2}${goto 210}${top_mem cpu 2}${goto 245}${top_mem mem 2}
${goto 70}${#FAD85D}${top_mem name 3} ${goto 175}${top_mem pid 3}${goto 210}${top_mem cpu 3}${goto 245}${top_mem mem 3}
${goto 70}${#8FA54F}${top_mem name 4} ${goto 175}${top_mem pid 4}${goto 210}${top_mem cpu 4}${goto 245}${top_mem mem 4}
${goto 340}${voffset 100}${#EFEFEF}.: Rhythmbox :.
${goto 420}${#D1661A}AHORA SONANDO
${goto 340}${if_running rhythmbox}${#8FA54F}Artista: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ta}
${goto 340}${#8FA54F}Título: ${goto 390}${#FAD85D}${exec rhythmbox-client --print-playing-format %tt}
${goto 340}${#8FA54F}Album: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %at}
${goto 340}${#8FA54F}Genero: ${goto 390}${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ag}${goto 470}${#8FA54F}Año: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %ay}
${goto 340}${#8FA54F}Posición: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %te}${goto 470}${#8FA54F}Tiempo: ${#FAD85D}${exec rhythmbox-client --no-start --print-playing-format %td}$else${goto 430}${font Liberation Mono:size=6:bold}${#82281F}Sin Actividad${font}$endif${color}


De acordo com o seu screen o arquivo "/home/jone/.conkyForecast.py"  ou o caminho não existe, percebe pela mensagem "can´t open file" traduzido "arquivo não pode ser aberto" verifique o caminho e o arquivo
Bom, eu apenas copiei o script hide-me_conkyrc para /home/.conkyrc, hide-me_conkyForecast.py  --> abri, copiei e colei o mesmo no terminal e dei enter , na pasta segui os seguintes; http://img130.imageshack.us/img130/3650/capturadetela2.png, lembrando que o hide-me_conkyForecast.py ao ser execultado no terminal listaram alguns erros

mateusrico

" Bom, eu apenas copiei o script hide-me_conkyrc para /home/.conkyrc, hide-me_conkyForecast.py  --> abri, copiei e colei o mesmo no terminal e dei enter , na pasta segui os seguintes; http://img130.imageshack.us/img130/3650/capturadetela2.png, lembrando que o hide-me_conkyForecast.py ao ser execultado no terminal listaram alguns erro "

no seu .conkyrc traz refências ao  ".conkyForecast.py" é com este nome exatamente que o "hide-me_conkyForecast.py" precisa ser renomeado o texto "hide-me" ou "esconda-me" é porque precisa começar por ponto, no linux tudo que começa por ponto é oculto. note que o arquivo é executado pelo pyton, e não por si só. note no .conkyrc "execi 1680 python ~/.conkyForecast.py" o script é chamado pelo python, coloque este script .conkyForecast.py no caminho que o erro relata, se não existir crio, ou mude as referências a ele no conkyrc.
Bonito Tema ! e boa sorte 8)

mateusrico

#146
Meu Screen com o Conky & opção Lua Habilitada
http://img687.imageshack.us/img687/1269/capturadetelad.png
Imagem com 360.04KB. Foi enviado MP ao usuário que acessou o fórum Hoje (18/11) às 21:44:10 e não acertou.

.conkyrc
Citarfont Bitstream Vera Sans:size=9
alignment tr
background no
border_inner_margin 0
border_outer_margin 0
cpu_avg_samples 2
default_color 94959C
default_outline_color 94959C
default_shade_color 94959C
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 0
gap_y 0
maximum_width 450
max_port_monitor_connections 64
max_specials 512
max_user_text 16384
minimum_size 400 1000
net_avg_samples 2
no_buffers yes
out_to_console no
own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
own_window yes
update_interval 0.4
uppercase no
use_spacer none
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans:size=9

# -- Lua Load -- #
lua_load ~/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${color 16bfff}${offset 302}${voffset 31}${font Purisa:size=12} ${time %H}
${offset 343}${voffset 21}${font Purisa:size=12} ${time %M}
${offset 365}${voffset 32}${font Purisa:size=12} ${time %S}
${offset 360}${voffset 33}${font Purisa:size=12} ${time %a}
${offset 355}${voffset 33}${font Purisa:size=12} ${time %d}
${offset 320}${voffset 27}${font Purisa:size=12} ${time %b}
${offset 273}${voffset 10}${font Purisa:size=12} ${time %y}
${font Purisa:size=8}${color ffffff}${offset 219}${voffset -125}.Wireless
${offset 219}${voffset 4}.Used Space
${offset 219}${voffset 2}.CPU-1
${offset 219}${voffset 1}.CPU-0
${offset 219}${voffset 0}.Memory


${color  #FFFFFF}${font Bitstream Vera Sans:size=9}______________________________________________________________________________________________________
${color  #FFFFFF}${font Bitstream Vera Sans:size=9}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2-}
${color  #FFFFFF}Temperatura Disco 1: ${color red}${hddtemp /dev/sda}${offset -2} °C
${color  #FFFFFF}Temperatura Disco 2: ${color red}${hddtemp /dev/sdb}${offset -2} °C
${color  #FFFFFF}${font Bitstream Vera Sans:size=9}_______________________________________________________________________________________
${color green}${font Bitstream Vera Sans:size=9}Processos na CPU: $alignr CPU%   MEM%
${color red}${top name 1}$alignr${top cpu 1}     ${top mem 1}
${color orange}${top name 2}$alignr${top cpu 2}     ${top mem 2}
${color yellow}${top name 3}$alignr${top cpu 3}     ${top mem 3}
${color  #FFFFFF}${font Bitstream Vera Sans:size=9}______________________________________________________________________________________
${color #B8FF00}LAN:${color white} ${alignr}IP: ${addr eth0}
${color green}LAN Download:                  $alignr${color #FF0009}LAN Upload:
${color green}${downspeed eth0} k/s                                  ${alignr}     ${color #FF0009} ${upspeed eth0} k/s
${color green}${downspeedgraph eth0 20,150 00FF00 FFFF00} ${alignr}${color #FF0009}${upspeedgraph eth0 20,150 FF0000 FFA500}
${color green}Total:${totaldown eth0}  ${alignr}${color #FF0009}Total:${totalup eth0}
${color  #FFFFFF}${font Bitstream Vera Sans:size=9}______________________________________________________________________________________
${color #B8FF00}WiFi:${color white} ${alignc}                 IP: ${addr wlan0} ${alignr}Rate:${color orange}${wireless_bitrate wlan0}${color white}
Qualidade: ${color orange}${wireless_link_qual_perc wlan0}%${color  #00FFFF} ${alignr}${wireless_link_bar 8,185 wlan0}
${color green}WiFi Download: ${color white}${alignc}    ESSID: ${color orange}${wireless_essid wlan0}${color white} $alignr${color #FF0009}WiFi Upload:
${color green}${downspeed wlan0}KB/s    ${color #FF0009} ${alignr}${upspeed wlan0}KB/s
${color green}${downspeedgraph wlan0 20,150 00FF00 FFFF00} ${alignr}${color #FF0009}${upspeedgraph wlan0 20,150 FF0000 FFA500}
${color green}Total:${totaldown wlan0}  ${alignr}${color #FF0009}Total:${totalup wlan0}
${color #FFFF00}AP Mode: ${wireless_mode wlan0} ${alignr}AP MAC: ${wireless_ap wlan0}
${color  #FFFFFF}${font Bitstream Vera Sans:size=9}_____________________________________________________________________________________________
${color orange}LOGGING ${hr 2}$color
${color yellow}${execi 30 sudo tail -n6 /var/log/messages | fold -w60}

clock_rings.lua
Citar--[[
Clock Rings by londonali1010 (2009)

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.

IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.

To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
   lua_load ~/scripts/clock_rings.lua
   lua_draw_hook_pre clock_rings

Changelog:
+ v1.0 -- Original release (30.09.2009)
]]

settings_table = {
   {
      name='cpu',
      arg='cpu0',
      max=200,
      bg_colour=0xFF0000,
      bg_alpha=0.2,
      fg_colour=0xFF0000,
      fg_alpha=0.8,
      x=195, y=195,
      radius=137.5,
      thickness=15,
      start_angle=-191,
      end_angle=315
   },
   {
      name='memperc',
      arg='',
      max=200,
      bg_colour=0x016BFF,
      bg_alpha=0.2,
      fg_colour=0x016BFF,
      fg_alpha=0.8,
      x=195, y=195,
      radius=157,
      thickness=13,
      start_angle=-190,
      end_angle=315
   },
   {
      name='fs_used_perc',
      arg='/',
      max=200,
      bg_colour=0x00FF00,
      bg_alpha=0.2,
      fg_colour=0x00FF00,
      fg_alpha=0.8,
      x=195, y=195,
      radius=100,
      thickness=20,
      start_angle=-194,
      end_angle=315
   },
   {
      name='cpu',
      arg='cpu1',
      max=200,
      bg_colour=0x0FF0000,
      bg_alpha=0.2,
      fg_colour=0xFF0000,
      fg_alpha=0.5,
      x=195, y=195,
      radius=120,
      thickness=10,
      start_angle=-193,
      end_angle=315
   },
   {
      name='time',
      arg='%I',
      max=12,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=320, y=46,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%M',
      max=60,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=362, y=93,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%S',
      max=60,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=386, y=150,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%u',
      max=7,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=390, y=211,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%d',
      max=31,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=375, y=272,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%m',
      max=12,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=343, y=325,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='time',
      arg='%g',
      max=99,
      bg_colour=0x016BFF,
      bg_alpha=0.1,
      fg_colour=0xFFFFFF,
      fg_alpha=0.8,
      x=292, y=363,
      radius=28,
      thickness=5,
      start_angle=0,
      end_angle=360
   },
   {
      name='wireless_link_qual_perc',
      arg='wlan0',
      max=200,
      bg_colour=0x00FFFF,
      bg_alpha=0.2,
      fg_colour=0x00FFFF,
      fg_alpha=0.9,
      x=195, y=195,
      radius=80,
      thickness=12.5,
      start_angle=-198,
      end_angle=315
   },
}

-- Use these settings to define the origin and extent of your clock.

clock_r=0

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=195   
clock_y=195

show_seconds=true

require 'cairo'

function rgb_to_r_g_b(colour,alpha)
   return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr,t,pt)
   local w,h=conky_window.width,conky_window.height

   local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
   local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

   local angle_0=sa*(2*math.pi/360)-math.pi/2
   local angle_f=ea*(2*math.pi/360)-math.pi/2
   local t_arc=t*(angle_f-angle_0)

   -- Draw background ring

   cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
   cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
   cairo_set_line_width(cr,ring_w)
   cairo_stroke(cr)

   -- Draw indicator ring

   cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
   cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
   cairo_stroke(cr)      
end

function draw_clock_hands(cr,xc,yc)
   local secs,mins,hours,secs_arc,mins_arc,hours_arc
   local xh,yh,xm,ym,xs,ys

   secs=60-os.date("%S")   
   mins=60-os.date("%M")
   hours=12-os.date("%I")

   secs_arc=(2*math.pi/60)*secs
   mins_arc=(2*math.pi/60)*mins+secs_arc/60
   hours_arc=(2*math.pi/12)*hours+mins_arc/12

   -- Draw hour hand

   xh=xc+0.7*clock_r*math.sin(hours_arc)
   yh=yc-0.7*clock_r*math.cos(hours_arc)
   cairo_move_to(cr,xc,yc)
   cairo_line_to(cr,xh,yh)

   cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
   cairo_set_line_width(cr,5)
   cairo_set_source_rgba(cr,0,0,1,0.6)
   cairo_stroke(cr)

   -- Draw minute hand

   xm=xc+clock_r*math.sin(mins_arc)
   ym=yc-clock_r*math.cos(mins_arc)
   cairo_move_to(cr,xc,yc)
   cairo_line_to(cr,xm,ym)

   cairo_set_line_width(cr,3)
   cairo_set_source_rgba(cr,0,0,1,0.7)
   cairo_stroke(cr)

   -- Draw seconds hand

   if show_seconds then
      xs=xc+1.1*clock_r*math.sin(secs_arc)
      ys=yc-1.1*clock_r*math.cos(secs_arc)
      cairo_move_to(cr,xc,yc)
      cairo_line_to(cr,xs,ys)

      cairo_set_line_width(cr,1)
      cairo_set_source_rgba(cr,0,0,1,0.8)
      cairo_stroke(cr)
   end
end

function conky_clock_rings()
   local function setup_rings(cr,pt)
      local str=''
      local value=0

      str=string.format('${%s %s}',pt['name'],pt['arg'])
      str=conky_parse(str)

      value=tonumber(str)
      pct=value/pt['max']

      draw_ring(cr,pct,pt)
   end

   -- Check that Conky has been running for at least 5s

   if conky_window==nil then return end
   local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)

   local cr=cairo_create(cs)   

   local updates=conky_parse('${updates}')
   update_num=tonumber(updates)

   if update_num>5 then
      for i in pairs(settings_table) do
         setup_rings(cr,settings_table)
      end
   end

   draw_clock_hands(cr,clock_x,clock_y)
end
Todos os dois arquivos em ~/

rruella

Dar como resolvido, ou como solucionado um tópico seu:

http://www.youtube.com/watch?v=cW8isbYhR_M

Ubiracy_Mafra

Citação de: rruella online 18 de Novembro de 2009, 06:41
veja meu Ubuntu  Karmic Koala com o gnome, mais o Kdebase com direito ao superkaramba...


http://img692.imageshack.us/img692/5316/capturaecra.png

Posta o script desse conky, é muito bom mesmo...
Windows 7 Home Premium / Ubuntu 14.04

rruella

Citação de: Ubiracy_Mafra online 18 de Novembro de 2009, 08:52
Citação de: rruella online 18 de Novembro de 2009, 06:41
veja meu Ubuntu  Karmic Koala com o gnome, mais o Kdebase com direito ao superkaramba...


http://img692.imageshack.us/img692/5316/capturaecra.png

Posta o script desse conky, é muito bom mesmo...

a imagem não é do conky é algo mais simples trata-se de uma imagem do superkaramba
Dar como resolvido, ou como solucionado um tópico seu:

http://www.youtube.com/watch?v=cW8isbYhR_M