Bem-vindo: Sex, 10 de Abril 2020, 11:35 Pesquisa avançada

Conky do Windows Phone Seven no Ubuntu!

Tópicos sobre artigos publicados no site Ubuntued! Nesta secção, por cada artigo publicado é criado um tópico onde poderá criticar, questionar, criar tópicos a questionar algum artigo feito e/ou até pedir alguma matéria a ser abordada no Ubuntued!

Re: Conky do Windows Phone Seven no Ubuntu!

Mensagempor Claudio Novais » Qui, 27 de Outubro 2011, 14:19

Luis Cardoso » Qui Out 27, 2011 10:48 am escreveu:Pequena variante, em que é apresentada a temperatura do CPU em vez do email por ler.


A imagem pode estar um pouco esquisita, estou a usar dual-screen 1280x800+1360x768

Foi conseguido substituindo apenas:
Código: Selecionar todos
# Linha 2/1
${voffset -40}${goto 230}${voffset -15}${font :size=40}${execi 300 ~/.conky/conkyCounter #UTILIZADOR# #PASSWORD#}${font}
${voffset 64}

por:
Código: Selecionar todos
# Linha 2/2
${voffset -40}${goto 150}${voffset -15}${font Weather:size=40}y ${font :size=40}${execi 8 sensors | grep -A 1 'Core 0:' | cut -c16-17 | sed '/^$/d'}${font}
${voffset 64}


Gostei da ideia! Adiciona o visual ao tópico dos desktops! ;)
Avatar do usuário
Claudio Novais
Editor do Ubuntued
 
Mensagens: 16869
Registrado em: 25 Maio, 2011

Re: Conky do Windows Phone Seven no Ubuntu!

Mensagempor leandrolopes » Ter, 15 de Novembro 2011, 15:32

Fiz aqui e não aparece a quantidade de emails. Vou publicar o meu desktop.

leandrolopes
 
Mensagens: 342
Registrado em: 14 Junho, 2011
Localização: Paço do Lumiar - MA

Re: Conky do Windows Phone Seven no Ubuntu!

Mensagempor Claudio Novais » Ter, 15 de Novembro 2011, 15:57

leandrolopes » Ter Nov 15, 2011 3:32 pm escreveu:Fiz aqui e não aparece a quantidade de emails. Vou publicar o meu desktop.

Execute o conky no terminal e mostre o output aqui! ;)
Avatar do usuário
Claudio Novais
Editor do Ubuntued
 
Mensagens: 16869
Registrado em: 25 Maio, 2011

Re: Conky do Windows Phone Seven no Ubuntu!

Mensagempor samuel.fps » Sex, 27 de Janeiro 2012, 17:49

Olá,

Descobri o ubuntued recentemente e estou hoje pela primeira vez no fórum. Estou a gostar muito dos conteúdos do site. Hoje tentei instalar este conky mas ficou com este aspecto:


Alguém sabe como resolver o problema?

Código:
Spoiler:
Código: Selecionar todos
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=12
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100

alignment tr
gap_x 20
gap_y 180
minimum_size 265 600


default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no
draw_graph_borders no

default_color ffffff
default_shade_color 1d1d1d
color0 ffffff
color1 ffffff
color2 ffffff


TEXT
# Quadrado 1/1
${voffset 20}${goto 10}${font Weather:size=80}${execi 3600 python ~/.conky/conkyForecast.py --location=POXX0008 --datatype=WF}${font}

${voffset -45}${goto 90} ${execi 3600 python ~/.conky/conkyForecast.py --location=POXX0008 --datatype=HT}

${voffset 23}${goto 10} Braga
####################################################
# Quadrado 1/2
${voffset -110}${alignc -68}${time  %B}

${alignc -35}${font :size=50}${time  %d}${font}

${voffset 10}
####################################################
# Linha 2/1
${voffset 20}${goto 20}${font :size=40}${time %I}
${goto 50}${voffset -25}${time %M}${font}
${goto 10}${voffset -25}${color2}${if_match ${time %H}<12}AM${else}${if_match ${time %H}>12}PM${endif}${endif} ${color}${font}
####################################################
# Linha 2/1
${voffset -40}${goto 230}${voffset -15}${font :size=40}${execi 300 ~/.conky/conkyCounter myusername mypassword}${font}
${voffset 64}
####################################################
# Linha 3
${voffset 10}
${if_up wlan0}
${voffset -30}${goto 90}${wireless_link_qual wlan0}%
${voffset -72}${alignr 10}${font :size=9}${upspeed wlan0}
${voffset -9}${goto 140}${upspeedgraph wlan0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed wlan0}
${voffset -9}${goto 140}${downspeedgraph wlan0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
# |--ETH0
${else}${if_up eth0}
${goto 10}IP: ${addr eth0}
${voffset -102}${alignr 10}${font :size=9}${upspeed eth0}
${voffset -9}${goto 140}${upspeedgraph eth0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed eth0}
${voffset -9}${goto 140}${downspeedgraph eth0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
# |--PPP0
${endif}${else}${if_up ppp0}
${goto 10}IP: ${addr ppp0}
${voffset -102}${alignr 10}${font :size=9}${upspeed ppp0}
${voffset -9}${goto 140}${upspeedgraph ppp0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed ppp0}
${voffset -9}${goto 140}${downspeedgraph ppp0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 92}Não está ligado a nenhuma rede${endif}${endif}

####################################################
# Quadrado Linha 3
${voffset -15}${font Ubuntu Monospace:size=8}${execi 300 ~/.conky/conkyRSS.py}


${image ~/.conky/base.png -p 0,0 -s 130x130}
${image ~/.conky/base.png -p 135,0 -s 130x130}
${image ~/.conky/base.png -p 0,135 -s 130x130}
${image ~/.conky/base.png -p 135,135 -s 130x130}
${image ~/.conky/base.png -p 0,270 -s 130x130}
${image ~/.conky/base.png -p 135,270 -s 130x130}
${image ~/.conky/base2.png -p 0,405 -s 265x100}

${image ~/.conky/wireless.png -p 10,305 -s 80x64}
${image ~/.conky/mail.png -p 135,167 -s 87x64}
${image ~/.conky/up.png -p 135,285 -s 130x33}
${image ~/.conky/down.png -p 135,335 -s 130x33}

samuel.fps
 
Mensagens: 1
Registrado em: 27 Janeiro, 2012

Re: Conky do Windows Phone Seven no Ubuntu!

Mensagempor Luis Cardoso » Sex, 27 de Janeiro 2012, 19:23

samuel.fps » 27 Jan 2012, 17:49 escreveu:Olá,

Descobri o ubuntued recentemente e estou hoje pela primeira vez no fórum. Estou a gostar muito dos conteúdos do site. Hoje tentei instalar este conky mas ficou com este aspecto: http://a7.sphotos.ak.fbcdn.net/hphotos-ak-snc7/409454_261984277196475_100001547153099_748137_511795252_n.jpg .

Alguém sabe como resolver o problema?

Código:
Spoiler:
Código: Selecionar todos
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=12
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100

alignment tr
gap_x 20
gap_y 180
minimum_size 265 600


default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no
draw_graph_borders no

default_color ffffff
default_shade_color 1d1d1d
color0 ffffff
color1 ffffff
color2 ffffff


TEXT
# Quadrado 1/1
${voffset 20}${goto 10}${font Weather:size=80}${execi 3600 python ~/.conky/conkyForecast.py --location=POXX0008 --datatype=WF}${font}

${voffset -45}${goto 90} ${execi 3600 python ~/.conky/conkyForecast.py --location=POXX0008 --datatype=HT}

${voffset 23}${goto 10} Braga
####################################################
# Quadrado 1/2
${voffset -110}${alignc -68}${time  %B}

${alignc -35}${font :size=50}${time  %d}${font}

${voffset 10}
####################################################
# Linha 2/1
${voffset 20}${goto 20}${font :size=40}${time %I}
${goto 50}${voffset -25}${time %M}${font}
${goto 10}${voffset -25}${color2}${if_match ${time %H}<12}AM${else}${if_match ${time %H}>12}PM${endif}${endif} ${color}${font}
####################################################
# Linha 2/1
${voffset -40}${goto 230}${voffset -15}${font :size=40}${execi 300 ~/.conky/conkyCounter myusername mypassword}${font}
${voffset 64}
####################################################
# Linha 3
${voffset 10}
${if_up wlan0}
${voffset -30}${goto 90}${wireless_link_qual wlan0}%
${voffset -72}${alignr 10}${font :size=9}${upspeed wlan0}
${voffset -9}${goto 140}${upspeedgraph wlan0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed wlan0}
${voffset -9}${goto 140}${downspeedgraph wlan0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
# |--ETH0
${else}${if_up eth0}
${goto 10}IP: ${addr eth0}
${voffset -102}${alignr 10}${font :size=9}${upspeed eth0}
${voffset -9}${goto 140}${upspeedgraph eth0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed eth0}
${voffset -9}${goto 140}${downspeedgraph eth0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
# |--PPP0
${endif}${else}${if_up ppp0}
${goto 10}IP: ${addr ppp0}
${voffset -102}${alignr 10}${font :size=9}${upspeed ppp0}
${voffset -9}${goto 140}${upspeedgraph ppp0 18,130 2A81D0 E8EBED}
${voffset 11}${alignr 10}${font :size=9}${downspeed ppp0}
${voffset -9}${goto 140}${downspeedgraph ppp0 18,130 2A81D0 E8EBED}
${voffset 7}${alignr 7}${font :size=9}${execi 10800 curl http://riivo.eu/php/ip.php}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 92}Não está ligado a nenhuma rede${endif}${endif}

####################################################
# Quadrado Linha 3
${voffset -15}${font Ubuntu Monospace:size=8}${execi 300 ~/.conky/conkyRSS.py}


${image ~/.conky/base.png -p 0,0 -s 130x130}
${image ~/.conky/base.png -p 135,0 -s 130x130}
${image ~/.conky/base.png -p 0,135 -s 130x130}
${image ~/.conky/base.png -p 135,135 -s 130x130}
${image ~/.conky/base.png -p 0,270 -s 130x130}
${image ~/.conky/base.png -p 135,270 -s 130x130}
${image ~/.conky/base2.png -p 0,405 -s 265x100}

${image ~/.conky/wireless.png -p 10,305 -s 80x64}
${image ~/.conky/mail.png -p 135,167 -s 87x64}
${image ~/.conky/up.png -p 135,285 -s 130x33}
${image ~/.conky/down.png -p 135,335 -s 130x33}

Pois, de um momento para o outro também me começou a acontecer isso, penso que é um problema com o site onde o conky vai buscar essa informação, que ou mudou o endereço ou mudou a forma de obter os valores e o estado do tempo... :|
ImagemImagem
«Escolhe um trabalho de que gostes, e não terás que trabalhar um só dia na tua vida» - Confúcio
Avatar do usuário
Luis Cardoso
Redator
 
Mensagens: 10455
Registrado em: 26 Maio, 2011
Localização: Portugal

Anterior

Voltar para Artigos publicados no Ubuntued

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 18 visitantes