Bem-vindo: Ter, 19 de Março 2024, 3:15 Pesquisa avançada

Partilhe aqui configurações do Conky!!

Apresente aqui temas que gostou, skins de programas, ícones, wallpapers, conky's, etc. Ou seja, tudo o que possa alterar de estético no seu Ubuntu, apresente aqui. Em caso de dúvidas de personalização ou se quiser mostrá-la ao mundo, utilize esta secção!

Re: Partilhe aqui configurações do Conky!!

Mensagempor walterw » Sáb, 1 de Fevereiro 2014, 20:26

Renato Ferreira (30-01-2014, 13:44) escreveu:vixi, uso esse mesmo conky aqui sem nenhum problema... Você já deu uma lida no "readme" que acompanha o arquivo ?

Dei uma olhada no código do meu conky e parece ser idêntico ao seu, com excessão da linha own_window_type dock (no meu está "normal" no lugar de "dock"), mas acho que isso não vai retirar o fundo preto, só fazer o conky seguir a orientação do gap_x/y, pelo menos foi o que aconteceu aqui quando coloquei "dock" no lugar de "normal".

Obs: Testei no cruchbang, usando openbox.


Sim, li o readme, segui corretamente e não deu certo. Também usei o código postado pelo Cláudio, mas não deu certo

walterw
 
Mensagens: 77
Registrado em: 11 Julho, 2012

Re: Partilhe aqui configurações do Conky!!

Mensagempor Claudio Novais » Qua, 5 de Fevereiro 2014, 0:21

walterw (29-01-2014, 23:31) escreveu:
Spoiler:
olá, alguém poderia me ajudar com este problema do conky:



Código: Selecionar todos
# Conky settings #
background yes
update_interval 1
double_buffer yes
no_buffers yes

# Window specifications #
gap_x 20
gap_y 20
minimum_size 600 0
maximum_width 711
own_window yes
own_window_type dock
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
#own_window_argb_visual yes
#own_window_argb_value 0
#border_margin 0
#border_inner_margin 0
#border_outer_margin 0
#alignment top_left

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

# Text settings #
use_xft yes
xftalpha 0
xftfont Open Sans Light:size=10

override_utf8_locale yes

imlib_cache_size 0

# Color scheme #
default_color FFFFFF

color1 FFFFFF
color2 FFFFFF
color3 FFFFFF
color4 FFFFFF
color5 FFFFFF
color6 FFFFFF
color7 333333

TEXT
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=44418&u=c" -o ~/.cache/weather.xml}


${font Raleway:weight=Light :size=100}${voffset -40}${alignc}${time %H}${alignc}:${alignc}${time %M}
${font Raleway:weight=Light:size=32}${voffset -40}${alignc}${time %A %B %d}


${font Raleway:size=20}
${voffset -64}${alignc 216}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°
${font Raleway:weight=Light:size=14}
${voffset -52}${alignc 122}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°
${voffset -19}${alignc 12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°
${voffset -19}${alignc -98}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°
${voffset -19}${alignc -208}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°


${font Raleway:weight=Light:size=10}
${voffset -10}${alignc 98}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°
${voffset -14}${alignc -12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°
${voffset -14}${alignc -122}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°
${voffset -14}${alignc -232}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°


${font Raleway:weight=Light:size=14}
${voffset -26}${alignc 220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}
${voffset -18}${alignc 110}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}
${voffset -19}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}
${voffset -18}${alignc -110}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4' | tr '[a-z]' '[A-Z]'}
${voffset -19}${alignc -220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5' | tr '[a-z]' '[A-Z]'}


${font Raleway:weight=Light:size=14}
${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 61,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 171,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 281,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 391,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 501,320 -s 32x32}${font}


Segui os passos como indicado no tópico em respostas anteriores, mas não consegui fazer funcionar. Utilizei o conky.rc com os códigos sugeridos pelo Cláudio, mas não consegui fazer funcionar. Com os códigos do Cláudio ele fica na direita, mas também com o fundo de tela preto :crazy: . Também não consigo achá-lo nas opções do Conky Manager :conf:

Agradeço desde já.


Olá walterw,

Hoje deparei-me com o mesmo problema. A solução foi tão simples quanto usar a flag:
Código: Selecionar todos
own_window_argb_visual yes



Referências:



Avatar do usuário
Claudio Novais
Editor do Ubuntued
 
Mensagens: 16869
Registrado em: 25 Maio, 2011

My First Conky Config

Mensagempor Claudio Novais » Qua, 5 de Fevereiro 2014, 0:31

"My First Conky Config" ~Dobbie03

Este é um simples Conky apresentado e disponibilizado por Matthew Dobson que apresenta informações do relógio e calendário e algumas informações do sistema. Esse Conky disponibilizado pelo autor no link abaixo traz o ficheiro de configuração e a font "BankGothic Md" que você deverá instalar:


Enquanto experimentava este Conky, deparei-me com um problema no Ubuntu 13.10, onde o fundo estava todo negro. Basicamente adicionei a flag "own_window_argb_visual yes", referida no post acima, e resolveu o problema. O resultado é a configuração seguinte:
Código: Selecionar todos
alignment top_middle
background no
border_margin 5
border_width 5
default_color d7d7d7  #413536 # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
double_buffer yes
draw_borders no
draw_outline no
draw_shades no
gap_x 0
gap_y 150
maximum_width 1000
minimum_size 175
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_title conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal    ## normal /override /desktop
own_window_argb_visual yes
text_buffer_size 8000
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

#            fonts
#   Blue Highway
#   Zegoe Light - U
#   Zekton
#   Calibri
#   Engebrechtre
#   Opeln2001
#   Pricedown

TEXT
${font BankGothic Md BT:pixelsize=15}${alignc}${time [ %A, %H:%M:%S ]}${font}

${font BankGothic Md BT:pixelsize=65}${alignc}${time %d %B, %Y}${font}


${font BankGothic Md BT:pixelsize=12}${alignc}[ CPU1: ${cpu cpu0}% CPU2: ${cpu cpu1}% CPU3: ${cpu cpu2}% CPU4: ${cpu cpu3}% ]
${font BankGothic Md BT:pixelsize=12}${alignc}[ RAM: ${mem} | WLAN Up: ${upspeed wlan0} WLAN Dwn: ${downspeed wlan0} ]
Avatar do usuário
Claudio Novais
Editor do Ubuntued
 
Mensagens: 16869
Registrado em: 25 Maio, 2011

Re: Partilhe aqui configurações do Conky!!

Mensagempor walterw » Qua, 5 de Fevereiro 2014, 2:05

Claudio Novais (04-02-2014, 23:21) escreveu:
walterw (29-01-2014, 23:31) escreveu:
Spoiler:
olá, alguém poderia me ajudar com este problema do conky:



Código: Selecionar todos
# Conky settings #
background yes
update_interval 1
double_buffer yes
no_buffers yes

# Window specifications #
gap_x 20
gap_y 20
minimum_size 600 0
maximum_width 711
own_window yes
own_window_type dock
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
#own_window_argb_visual yes
#own_window_argb_value 0
#border_margin 0
#border_inner_margin 0
#border_outer_margin 0
#alignment top_left

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

# Text settings #
use_xft yes
xftalpha 0
xftfont Open Sans Light:size=10

override_utf8_locale yes

imlib_cache_size 0

# Color scheme #
default_color FFFFFF

color1 FFFFFF
color2 FFFFFF
color3 FFFFFF
color4 FFFFFF
color5 FFFFFF
color6 FFFFFF
color7 333333

TEXT
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=44418&u=c" -o ~/.cache/weather.xml}


${font Raleway:weight=Light :size=100}${voffset -40}${alignc}${time %H}${alignc}:${alignc}${time %M}
${font Raleway:weight=Light:size=32}${voffset -40}${alignc}${time %A %B %d}


${font Raleway:size=20}
${voffset -64}${alignc 216}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°
${font Raleway:weight=Light:size=14}
${voffset -52}${alignc 122}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°
${voffset -19}${alignc 12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°
${voffset -19}${alignc -98}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°
${voffset -19}${alignc -208}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°


${font Raleway:weight=Light:size=10}
${voffset -10}${alignc 98}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°
${voffset -14}${alignc -12}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°
${voffset -14}${alignc -122}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°
${voffset -14}${alignc -232}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°


${font Raleway:weight=Light:size=14}
${voffset -26}${alignc 220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}
${voffset -18}${alignc 110}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}
${voffset -19}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}
${voffset -18}${alignc -110}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4' | tr '[a-z]' '[A-Z]'}
${voffset -19}${alignc -220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5' | tr '[a-z]' '[A-Z]'}


${font Raleway:weight=Light:size=14}
${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 61,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 171,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 281,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 391,320 -s 32x32}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 501,320 -s 32x32}${font}


Segui os passos como indicado no tópico em respostas anteriores, mas não consegui fazer funcionar. Utilizei o conky.rc com os códigos sugeridos pelo Cláudio, mas não consegui fazer funcionar. Com os códigos do Cláudio ele fica na direita, mas também com o fundo de tela preto :crazy: . Também não consigo achá-lo nas opções do Conky Manager :conf:

Agradeço desde já.


Olá walterw,

Hoje deparei-me com o mesmo problema. A solução foi tão simples quanto usar a flag:
Código: Selecionar todos
own_window_argb_visual yes



Referências:






oi, Cláudio, em que parte do arquivo devo colocar este código? Pois, pelo que vi, já está incluído nele.

walterw
 
Mensagens: 77
Registrado em: 11 Julho, 2012

Re: Partilhe aqui configurações do Conky!!

Mensagempor adilsonjunior89 » Ter, 4 de Março 2014, 3:08

Boa partilha @Claudio Novais
Vou aproveitar e mostrar como ficou o meu após algumas pequenas alterações na cor e na posição do mesmo.
Como já tinha postado este desktop no tópico Mostre seu Desktop! vou deixar esta imagem apenas aqui juntamente com as poucas modificações que fiz.
Spoiler:
Código: Selecionar todos
alignment low_left
background no
border_margin 5
border_width 5
default_color d7d7d7  #413536 # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
double_buffer yes
draw_borders no
draw_outline no
draw_shades no
gap_x 100
gap_y 0
maximum_width 1000
minimum_size 175
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_title conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal    ## normal /override /desktop
own_window_argb_visual yes
text_buffer_size 8000
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

#            fonts
#   Blue Highway
#   Zegoe Light - U
#   Zekton
#   Calibri
#   Engebrechtre
#   Opeln2001
#   Pricedown

TEXT
$color
${color black}
${font BankGothic Md BT:pixelsize=15}${alignc}${time [ %A, %H:%M:%S ]}${font}

${font BankGothic Md BT:pixelsize=65}${alignc}${time %d %B, %Y}${font}


${font BankGothic Md BT:pixelsize=12}${alignc}[ CPU: ${cpu cpu0}%  ]
${font BankGothic Md BT:pixelsize=12}${alignc}[ RAM: ${mem} | Up: ${upspeed eth0} Down: ${downspeed eth0} ]$color
Editado pela última vez por adilsonjunior89 em Qua, 10 de Dezembro 2014, 16:58, em um total de 1 vez.
Avatar do usuário
adilsonjunior89
 
Mensagens: 109
Registrado em: 09 Maio, 2013
Localização: Ipatinga - MG

Re: Partilhe aqui configurações do Conky!!

Mensagempor Claudio Novais » Ter, 4 de Março 2014, 12:36

Olá adilsonjunior89,

Ótimo!! Gosto deste tipo de participações, assim temos mais variedade para os que não sabem utilizar o Compiz. Ficou bom, simples como eu gosto. Ainda mais simples, aliás! :D

Olá @walterw,

Desde que fique na header, a flag é lida e registada. Deve ter cuidado é de só ter uma vez essa flag definida, caso contrário (não sei exatamente qual é o comportamento) provavelmente poderá ser reescrita.
Avatar do usuário
Claudio Novais
Editor do Ubuntued
 
Mensagens: 16869
Registrado em: 25 Maio, 2011

Re: Partilhe aqui configurações do Conky!!

Mensagempor Thiago Frazão » Ter, 25 de Março 2014, 22:22

O meu ficou assim:


8) xD

Configuração:
Código: Selecionar todos
alignment top_right
background no
border_margin 5
border_width 5
default_color ffffff  #00000 # grey 5f5f5f 3F3F3F 183149 3B3B3B 26211F
double_buffer yes
draw_borders no
draw_outline no
draw_shades no
gap_x 45
gap_y 500
maximum_width 1000
minimum_size 175
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_title conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal    ## normal /override /desktop
own_window_argb_visual yes
text_buffer_size 8000
total_run_times 0
update_interval 1
uppercase no
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

#            fonts
#   Blue Highway
#   Zegoe Light - U
#   Zekton
#   Calibri
#   Engebrechtre
#   Opeln2001
#   Pricedown

TEXT

${font BankGothic Md BT:pixelsize=12}${alignc}[ CPU1: ${cpu cpu0}% CPU2: ${cpu cpu1}% CPU3: ${cpu cpu2}% CPU4: ${cpu cpu3}% ]
${font BankGothic Md BT:pixelsize=12}${alignc}[ RAM: ${mem} | WLAN Up: ${upspeed wlan0} WLAN Dwn: ${downspeed wlan0} ]

${font BankGothic Md BT:pixelsize=45}${alignc}${time %d %B, %Y}${font}



${font BankGothic Md BT:pixelsize=15}${alignc}${time [ %A, %H:%M:%S ]}${font}
Avatar do usuário
Thiago Frazão
 
Mensagens: 245
Registrado em: 22 Maio, 2013
Localização: Itaboraí - RJ, Brasil

Re: Partilhe aqui configurações do Conky!!

Mensagempor adilsonjunior89 » Qui, 27 de Março 2014, 4:22



.conkyrc
Spoiler:
Código: Selecionar todos
#########################################################################################
#    Conky Theme : Infinity                                                                                                                                                                                          #
#    Created by     : Harshit Yadav                                                                                                                                                                              #
#    Version           : 1.0                                                                                                                                                                                                  #
#    Feel Free to distribute                                                                                                                                                                                         #
#    For Installation Instrcutions See Read Me                                                                                                                                                       #
########################################################################################


# Conky settings #
background yes
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

temperature_unit fahrenheit

# Window specifications #

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

border_inner_margin 0
border_outer_margin 0

## This Resolution is set according to the sreen resolution of 1360x768
## Adjust Accoring to yours

minimum_size 800 560
maximum_width 1360

alignment tr
gap_x 10
gap_y 20

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

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius


default_color FFFFFF

## Adjust these fields according to the your screen size i have modded them for 1366X768

TEXT
${voffset 46}
${offset 600}${color EAEAEA}${font GE Inspira:pixelsize=90}${time %H:%M:%S}${font}${voffset -84}${voffset 10}${offset 40}${color FFA300}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 10}${font GE Inspira:pixelsize=58}${offset -100}${time %A}${font}
${offset 600}${voffset 14}${font Ubuntu:pixelsize=10}${color FFA300}TEMP. PC${offset 5}$color${acpitemp}°C${offset 30}${font Ubuntu:pixelsize=10}${color FFA300}TEMP. HD${offset 5}$color ${hddtemp /dev/sda}°C${offset 30}${color FFA300}RAM ${offset 5}$color$mem / $memmax${color FFA300}${offset 30}HD ${offset 5}$color${fs_used /} / ${fs_size /} (${fs_free /} Free)${offset 30}${color FFA300}CPU ${offset 5}$color${cpu cpu0}%
${voffset 10}${offset 270}${color 2c2c2c}${hr 4}
${image ~/.conky/conky.png}




${offset 125}${voffset 98}${color ffffff}${font Santana:size=9:style=Bold}Sistema: ${font Santana:size=9}${pre_exec uname -o}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Distribuição: ${font Santana:size=9}${pre_exec lsb_release -is}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Versão: ${font Santana:size=9}${pre_exec lsb_release -rs}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Codename: ${font Santana:size=9}${pre_exec lsb_release -cs}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Kernel: ${font Santana:size=9}${pre_exec uname -r}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Arquitetura: ${font Santana:size=9}${pre_exec uname -i}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Hostname: ${font Santana:size=9}${nodename}
${offset 125}${voffset 10}${color ffffff}${font Santana:size=9:style=Bold}Up time: ${font Santana:size=9}${uptime}


${offset 570}${voffset -140}

${offset 830}${voffset -80}${color ffffff}${font Santana:size=10:style=Bold}Adilson Junior™
${offset 830}${voffset 10}${color ffffff}${font Santana:size=10:style=Bold}${pre_exec whoami}@${nodename}
#${offset 683}${voffset -440}${cpugraph cpu1 40,683 FFA300 FFFFFF}
#${offset 0}${voffset -53}${cpugraph cpu0 40,683 FFA300 FFFFFF}
${offset 683}${voffset -397}
${if_running rhythmbox}${offset 490}${voffset 200}${color ffffff}${font Santana:size=8:style=Bold}Música:${font Santana:size=8} ${exec rhythmbox-client --no-start --print-playing-format %tt}
${offset 490}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Artista:${font Santana:size=8} ${exec rhythmbox-client --no-start --print-playing-format %aa}
${offset 490}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Albúm:${font Santana:size=8} ${exec rhythmbox-client --no-start --print-playing-format %at}
${image ~/.conky/musica.png}
${else}
${offset 490}${voffset 246}
${endif}
${if_existing /proc/net/route wlan0}
${offset 710}${voffset 200}${color ffffff}${font Santana:size=8:style=Bold}IP Address:${font Santana:size=8} ${addr wlan0}
${offset 710}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Down Speed:${font Santana:size=8} ${downspeed wlan0}/s ${offset 8}${color ffffff}${font Santana:size=8:style=Bold}Up Speed: ${font Santana:size=8}${upspeed wlan0}/s
${offset 710}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Downloaded:${font Santana:size=8} ${totaldown wlan0} ${offset 8}${color ffffff}${font Santana:size=8:style=Bold}Uploaded: ${font Santana:size=8}${totalup wlan0}
${offset 710}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Essid:${font Santana:size=8} ${wireless_essid wlan0}${color ffffff}${font Santana:size=8:style=Bold}     Signal:${font Santana:size=8} ${wireless_link_qual wlan0}%
${image ~/.conky/rede.png}
${else}${if_existing /proc/net/route eth0}
${offset 710}${voffset 200}${color ffffff}${font Santana:size=8:style=Bold}IP Address:${font Santana:size=8} ${addr eth0}
${offset 710}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Down Speed:${font Santana:size=8} ${downspeed eth0}/s ${offset 8}${color ffffff}${font Santana:size=8:style=Bold}Up Speed: ${font Santana:size=8}${upspeed eth0}/s
${offset 710}${voffset 10}${color ffffff}${font Santana:size=8:style=Bold}Downloaded:${font Santana:size=8} ${totaldown eth0} ${offset 8}${color ffffff}${font Santana:size=8:style=Bold}Uploaded: ${font Santana:size=8}${totalup eth0}
${image ~/.conky/rede.png}
${endif}${endif}


Consegui que a temperatura do HD fosse mostrada instalando o hddtemp
sudo apt-get install hddtemp

Porem mesmo instalando o lm-sensors
sudo apt-get install lm-sensors
a temperatura do CPU não é mostrada.
Se alguém souber como posso corrigir este erro
Avatar do usuário
adilsonjunior89
 
Mensagens: 109
Registrado em: 09 Maio, 2013
Localização: Ipatinga - MG

Re: Partilhe aqui configurações do Conky!!

Mensagempor Miguel Fonseca » Qui, 27 de Março 2014, 14:25

Boas Adilson, dá uma olhada neste link e vê os comandos que são apresentados, visto que ainda não deves ter configurado os sensores!
NOTA: As indicações estão depois do PPA, na secção Configure psensor on Linux

http://xmodulo.com/2013/11/monitor-system-temperature-linux.html

Sem os configurares, eles não dão indicação nenhuma.

Depois da configuração, não te esqueças de RENICIAR o Conky.

Hasta.
It is only in Love and Murder, that we still remain sincere! - Friedrich Durrenmatt
Avatar do usuário
Miguel Fonseca
Bleeding-edge Helper
 
Mensagens: 2512
Registrado em: 10 Junho, 2011

Re: Partilhe aqui configurações do Conky!!

Mensagempor adilsonjunior89 » Sex, 28 de Março 2014, 3:23

Miguel Fonseca (27-03-2014, 13:25) escreveu:Boas Adilson, dá uma olhada neste link e vê os comandos que são apresentados, visto que ainda não deves ter configurado os sensores!
NOTA: As indicações estão depois do PPA, na secção Configure psensor on Linux

http://xmodulo.com/2013/11/monitor-system-temperature-linux.html

Sem os configurares, eles não dão indicação nenhuma.

Depois da configuração, não te esqueças de RENICIAR o Conky.

Hasta.

Obrigado pela dica Miguel já tinha feito todas as configurações exceto a do psensor que achei muito util, porem para que a temperatura fosse mostrada no conky tive de trocar o
Código: Selecionar todos
acpitemp
Por
Código: Selecionar todos
hwmon 0 temp 1
Para obter a temperatura do Sistema ou por
Código: Selecionar todos
execi 2 cat /sys/bus/pci/drivers/k8temp/0000\:00\:18.3/temp1_input | cut -c1,2
Para obter a temperatura do CPU.
Avatar do usuário
adilsonjunior89
 
Mensagens: 109
Registrado em: 09 Maio, 2013
Localização: Ipatinga - MG

AnteriorPróximo

Voltar para Temas do Ubuntu

Quem está online

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

cron