Autor Tópico: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela  (Lida 288671 vezes)

Offline hugoleal85

  • Usuário Ubuntu
  • *
  • Mensagens: 508
    • Ver perfil
    • Recanto do Tux
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #450 Online: 26 de Outubro de 2011, 12:37 »
Aqui vai o meu script, baseado no de alguns colegas aqui da thread. Simples, porém eficiente.

Link da screenshot:
http://img257.imageshack.us/img257/1770/screenshotos.jpg


E esse é o conkyrc:

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

TEXT
${font Arial :size=10}${alignc}Linux Mint 11 Katya 32-bit${font}

${voffset 2}${font Zekton:style=Bold:size=12}#!${font} CrunchBang Linux ${alignr}08.10.01
${font OpenLogos:size=50} ${alignc} g${font}
${goto 48}${font Arial Black:size=26}${alignc}${time %H:%M}${font}
${goto 10}${font Arial:size=10}${alignc}${time %A, %d de %B de %Y}${font}


${font Arial :size=8}SISTEMA ${hr 2}
${font StyleBats:size=16}q${font}  Ligado: ${alignr}${uptime}
${voffset 2}${font OpenLogos:size=16}u${font}  Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU1: ${freq}mhz        ${cpu cpu1}% ${alignr}
${cpugraph 000000 ffffff}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60}


${font Arial :size=8}HIGHEST CPU $alignr CPU% MEM%${font}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}
${top name 4}$alignr${top cpu 4}${top mem 4}
${top name 5}$alignr${top cpu 5}${top mem 5}
${top name 6}$alignr${top cpu 6}${top mem 6}

${font Arial :size=8}HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Linux Mint 11 Used:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Windows Disco C Used:
${voffset 4}${fs_used /media/D4EA77E4EA77C0F2}/${fs_size /media/D4EA77E4EA77C0F2} ${alignr}${fs_bar 8,60 /media/D4EA77E4EA77C0F2}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Windows Disco D Used:
${voffset 4}${fs_used /media/38C49036C48FF502}/${fs_size /media/38C49036C48FF502} ${alignr}${fs_bar 8,60 /media/38C49036C48FF502}


${font Arial :size=8}NETWORK ${hr 2}${font}${if_up wlan0}
${font Poky:size=14}${font}${goto 2}${voffset -8}SSID: ${wireless_essid wlan0}
${goto 2}Signal: ${wireless_link_qual wlan0}%
${voffset 4}${font VariShapes Solid:size=14}${font}${goto 2}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 13,60 F57900 FCAF3E}
${goto 2}Total: ${totaldown wlan0}
${voffset 4}${font VariShapes Solid:size=14}${font}${goto 2}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 13,60 F57900 FCAF3E}
${goto 2}Total: ${totalup wlan0}





« Última modificação: 26 de Outubro de 2011, 14:31 por hugoleal85 »
"Cada homem que encontro é superior a mim em alguma coisa; e nisto posso aprender dele." [Ralph W. Emerson]
Meu blog

Offline Br1000

  • Usuário Ubuntu
  • *
  • Mensagens: 44
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #451 Online: 22 de Novembro de 2011, 17:04 »
Boa tarde a todos.

Tenho duas questões:
Onde baixar a fonte Poky? Ou outra com as características dela.
Como deixar meu conky transparente?

Já procurei aqui no fórum e no tio Google mas não encontrei. Quando pesquiso sobre a fonte ninguém conhece e quanto a transparência nada que foi sugerido resolveu.

Também já tentei diversos conky.conf que aparecem transparentes nas fotos de tela mas aqui ficam com o fundo preto.

OBS.: Transparência resolvida. Só fica faltando a fonte mesmo.

Toda sugestão sera bem recebida.
Obrigado.
« Última modificação: 23 de Novembro de 2011, 21:26 por Br1000 »

Offline andrenegaum

  • Usuário Ubuntu
  • *
  • Mensagens: 2
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #452 Online: 08 de Janeiro de 2012, 12:21 »
Bom dia, gostaria de uma ajuda, como coloco pra visualizar uma partição NTFS no conky?

Offline cesgomes

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #453 Online: 10 de Janeiro de 2012, 22:46 »
Depois de um longo e tenebroso inverno, mexi no meu:

http://yfrog.com/z/h2rbmqj

Vamos aos códigos:

Músicas (sem dependencias de scripts adicionais):
Código: [Selecionar]
####
## Minimum size of text area.
#
minimum_size 300 10
maximum_width 500

double_buffer yes
####
## Gap between text and screen borders.
#
gap_x 500
gap_y 0

# Update interval in seconds
update_interval 1

####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1

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

####
## My colors (suit yourself)
#
color0 White            #FFFFFF
color1 Ivory            #FFFFF0
color2 Ivory2           #EEEEE0
color3 Ivory3           #CDCDC1
color4 Tan1             #FFA54F
color5 Tan2             #EE9A49
color6 Gray             #7E7E7E
color7 AntiqueWhite4    #8B8378
color8 DimGray          #696969
color9 Black            #000000

# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
alignment br
#gap_x 100
#gap_y 40
gap_x 600
gap_y 15

TEXT
${if_running clementine}${image /tmp/cover -s 150x150 -f 5}${execi 10 conkyClementine -d CA > /dev/null}
#${image /tmp/cover -p 10, 10 -s 150×150}${execi 3 conkyClementine -d CA > /dev/null}
${voffset 65}${offset 160}Música: ${exec conkyClementine --datatype=TI --maxlength=32}
${offset 160}Artista: ${exec conkyClementine --datatype=AR --maxlength=32}
${offset 160}Album: ${exec conkyClementine --datatype=AL --maxlength=30}
${offset 160}BitRate: ${exec conkyClementine --datatype=BR} kbps
${offset 160}Tempo: ${exec conkyClementine --datatype=PT --maxlength=32} / ${exec conkyClementine --datatype=LE --maxlength=32} (${exec conkyClementine --datatype=PP}%)
${color #FFA54F}${execibar 1 conkyClementine --datatype=PP}${font}
${else}${if_running banshee}${image /tmp/cover -s 150x150 -f 5}${execi 3 conkyBanshee -d CA > /dev/null}
${voffset 65}${offset 160}Música: ${exec conkyBanshee --datatype=TI --maxlength=32}
${offset 160}Artista: ${exec conkyBanshee --datatype=AR --maxlength=32}
${offset 160}Album: ${exec conkyBanshee --datatype=AL --maxlength=30}
${offset 160}BitRate: ${exec conkyBanshee --datatype=BR} kbps
${offset 160}Tempo: ${exec conkyBanshee --datatype=PT --maxlength=32} / ${exec conkyBanshee --datatype=LE --maxlength=32} (${exec conkyBanshee --datatype=PP}%)
${color #FFA54F}${execibar 1 conkyBanshee --datatype=PP}${font}
${else}${if_running rhythmbox}${image /tmp/cover -s 150x150 -f 5}${execi 3 conkyRhythmbox -d CA > /dev/null}
${voffset 65}${offset 160}Música: ${exec conkyRhythmbox --datatype=TI --maxlength=32}
${offset 160}Artista: ${exec conkyRhythmbox --datatype=AR --maxlength=32}
${offset 160}Album: ${exec conkyRhythmbox --datatype=AL --maxlength=30}
${offset 160}BitRate: ${exec conkyRhythmbox --datatype=BR} kbps
${color #FFA54F}${execibar 1 conkyRhythmbox --datatype=PP}${font}
${endif}${endif}${endif}

Calendário:
Código: [Selecionar]
####
## Minimum size of text area.
#
minimum_size 300 0
maximum_width 320

double_buffer yes
####
## Gap between text and screen borders.
#
gap_x 500
gap_y 31

# Update interval in seconds
update_interval 1

####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1

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

####
## My colors (suit yourself)
#
color0 White            #FFFFFF
color1 Ivory            #FFFFF0
color2 Ivory2           #EEEEE0
color3 Ivory3           #CDCDC1
color4 Tan1             #FFA54F
color5 Tan2             #EE9A49
color6 Gray             #7E7E7E
color7 AntiqueWhite4    #8B8378
color8 DimGray          #696969
color9 Black            #000000
colorA Yellow #FFFF00

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

TEXT
##################################
##             TIME             ##
##################################


${voffset 6}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color8}${voffset -2}${hr 2}${font}
#${voffset -4}${font RadioSpace:size=32}${color3}${if_match ${time %l}<=9}${alignc 7}${time %H:%M:%S}${else}${if_match ${time %l}>=10}${alignc -1}${time %H:%M:%S}${endif}${endif}${font}
${voffset -4}${font LCD:size=32}${color #C0C000}${if_match ${time %l}<=9}${alignc 7}${time %H:%M:%S}${else}${if_match ${time %l}>=10}${alignc -1}${time %H:%M:%S}${endif}${endif}${font}
${voffset 0}${font DroidSansFallback:bold:size=6.85}${color4}${alignc 2}Sunrise${offset 1}${execi 1800 conkyForecast -d SR}${color3}${offset 2}|${offset 2}${color4}Sunset${offset 1}${execi 1800 conkyForecast -d SS}${font}
${font StyleBats:size=16}${color8}q${font} Ligado: ${alignr}${uptime}
##################################
##           CALENDAR           ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}DATE${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 16}${font DroidSansMono:size=7.55}${color3}${alignc 120}${time %A}${font}
${voffset -4}${if_match ${time %e}<=9}${font DroidSansFallback:bold:size=24}${color5}${alignc 125}${time %e}${font}${else}${if_match ${time %e}>=10}${font DroidSansFallback:bold:size=24}${color5}${alignc 120}${time %e}${endif}${endif}${font}
${voffset 0}${font DroidSansMono:size=7.55}${color3}${alignc 120}${time %B}${font}
${voffset 0}${font DroidSansMono:size=7.6}${color3}${alignc 120}${time %Y}${font}
${voffset -75}${offset 100}${font DroidSansMono:size=10}${color3}${execpi 60 VinDSL_Cal_8=`date +%-d`; cal -h | sed -e '1d' -e 's/\<'"$VinDSL_Cal_8"'\>/${color4}&${color3}/'}${font}
${voffset -125}${font CutOutsFor3DFX:size=67}${color8}${alignc 159}2${font}

Weather (necessita ConkyWeather):
Código: [Selecionar]
# -- Conky settings -- #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

own_window_class Conky
own_window yes
#own_window_type conky
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 0
border_outer_margin 0

minimum_size 1310 310
maximum_width 310


alignment bl
#gap_x 100
#gap_y 40
gap_x 10
gap_y 20

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

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

uppercase no

default_color 8b8b8b

TEXT
#${voffset -15}${goto 103}${font Blue Highway:size=10}${color4}${execpi 1800 conkyForecast -d WS | sed -e 's/calm'/'\$\{offset 2}Calm/g' -e 's/kph'/'\$\{offset 3}kph/g'}${goto 175}Feels like ${execi 1800 conkyForecast -d LT -u}
#${voffset -20}
#${voffset 50}${font LCD:size=60}${color D9D919}${goto 50}${time %H}${goto 135}${color D9D919}${time %M}${font LCD:size=30}${color D9D919}${goto 230}${time %S}
${voffset 70}${goto 30}${font Blue Highway:size=12}${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=CN --refetch}
#${voffset 7}${font Radio Space Bold Italic:size=12}${color 909090}${goto 24}
${font Blue Highway:size=12}${color 909090}${goto 24}${execi 1800 conkyForecast --location=BRXX0237 --datatype=CT}${voffset -20}${goto 240}${font Radio Stars:size=25}${color 707070}${execi 1800 conkyForecast --location=BRXX0237 -u --datatype=HT}
${voffset -10}${goto 130}${font ConkyWindNESW:size=41}${color3}${execi 1800 conkyForecast -d BS}${font}${font Blue Highway:size=10}${voffset -15}${goto 200}Feels like ${execi 1800 conkyForecast -d LT -u}
${voffset 10}${goto 133}${font Blue Highway:size=10}${color4}${execpi 1800 conkyForecast -d WS | sed -e 's/calm'/'\$\{offset 2}Calm/g' -e 's/kph'/'\$\{offset 3}kph/g'}
${voffset 80}${font Baekmuk Gulim:size=8}${color white}${goto 47}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=1}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=1}${font Baekmuk Gulim:size=8}${color white}${goto 110}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=2}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=2}${font Baekmuk Gulim:size=8}${color white}${goto 180}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=3}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=3}${font Baekmuk Gulim:size=8}${color white}${goto 250}${execi 600 conkyForecast --location=BRXX0237 --datatype=HT -u --startday=4}/${color white}${execi 600 conkyForecast --location=BRXX0237 --datatype=LT -u --startday=4}
${voffset 4}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 55}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=1}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 115}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=2}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 185}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=3}${font Baekmuk Gulim:bold:size=10}${color ffa500}${goto 255}${execi 600 conkyForecast --location=BRXX0237 --datatype=DW --shortweekday --startday=4}
${image $HOME/conky/Weather/images/background1.png -p 12,5 -s 296x190}
${image $HOME/conky/Weather/images/down.png -p 12,240 -s 296x55}
${execpi 600 conkyForecast --location=BRXX0237 --template=$HOME/conky/Weather/vreme.template}
${voffset -500}
Notebook Compaq - Processador Intel Pentium Dual Core T3200
HD 160Gb 5400RPM (SATA)
2Gb RAM 667Mhz DDR2

Offline cesgomes

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #454 Online: 10 de Janeiro de 2012, 22:50 »
CONTINUANDO... (não coube no post anterior)



E, finalmente o principal, o sistema:
Código: [Selecionar]
##################################
## VinDSL | rev. 11-12-01 20:20 ##
##################################
##     December 2011 Series     ##
##################################

## ¡PLEASE READ THE FINE PRINT! ##

####
## Development Platforms (current)
#
#  Ubuntu 10.10 'Maverick Meerkat' (GNOME 2.28 - Conky 1.8.0)
#  Ubuntu 12.04 'Precise Pangolin' (GNOME-SHELL - UNITY 2D/3D - Conky 1.8.1)
#  Screen Resolution: 1280x1024x24 (DELL UltraSharp 1907FP)

####
## Prerequisites (required)
#
#  conky-all 1.8.0 or 1.8.1
#  cURL - Command Line Tool
#  xsltproc - Command Line Tool
#  UTF-8 Compatible Text Editor

####
## Installed fonts (required)
#
#  ConkyWeather (Stanko Metodiev)
#  Cut Outs for 3D FX (Fonts & Things)
#  Droid Font Family (Google Android SDK)
#  cara A Round (Kat's Fun Fonts)
#  OpenLogos (Icoma)
#  PizzaDude Bullets (Jakob Fischer)
#  Radio Space (Iconian Fonts)
#  StyleBats (Vinterstille)
#  Ubuntu Font Family (Canonical Ltd)
#  Ubuntu Title Bold (Paulo Silva - not included in link below)
#  Weather (Jonathan Macagba)
#
## Tips n' Tricks from Mr. Peachy, djyoung4, and 42dorian (Thanks!)
## Most necessary fonts can be downloaded here: http://ompldr.org/vOHdoag
## Unzip the fonts into your font folder, for example: /home/username/.fonts
## Run this command in a terminal (rebuilds font cache file): sudo fc-cache -fv

####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont DroidSans:size=8.75
xftalpha 0.1

####
## Force UTF8? Requires XFT (see above)
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes

####
## This buffer is used for text, single lines, output from $exec, and other variables.
## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
## Decreasing the size (too low) will truncate content and cause strange display output.
## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
#
text_buffer_size 640

####
## Daemonize Conky, aka 'fork to background'.
#
background yes

####
## Update interval in seconds.
#
update_interval 2.0

####
## The number of times Conky will update before quitting.
## Zero makes Conky run forever.
#
total_run_times 0

####
## Create own window in instead of using desktop?
#
own_window yes
own_window_transparent yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
####
## Some distros also require the following 2 lines.
#
own_window_argb_visual yes
own_window_argb_value 255

####
## Force images to redraw when they change.
#
imlib_cache_size 0

####
## Use double buffering? Reduces flicker.
#
double_buffer yes

####
## Draw shades?
#
draw_shades yes
default_shade_color 292421

####
## Draw outlines?
#
draw_outline no

####
## Draw borders around text?
#
draw_borders no

####
## Draw borders around graphs?
#
draw_graph_borders no

####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no

####
## Text alignment.
#
alignment top_right

####
## Minimum size of the text area.
## Syntax: minimum_size [width] [height]
#
minimum_size 240 1394

####
## Maximum width of the text area.
## Syntax: maximum_width [width]
#
maximum_width 240

####
## Gap between text and screen borders.
#
gap_x 6  ## Left / Right
gap_y 32  ## Top / Bottom

####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes

####
## Pad % symbol spacing after numbers.
#
pad_percents 0

####
## Pad spacing between text and borders.
#
border_inner_margin 4

####
## Limit the length of names in "Top Processes".
#
top_name_width 10

####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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

####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right

####
## My colors (suit yourself)
#
color0 White #FFFFFF
color1 Ivory #FFFFF0
color2 Ivory2 #EEEEE0
color3 Ivory3 #CDCDC1
color4 Tan1 #FFA54F
color5 Tan2 #EE9A49
color6 Gray #7E7E7E
color7 AntiqueWhite4 #8B8378
color8 DimGray #696969
color9 Tomato #FF6347

#####
## Load Lua for shading (optional)
## Set the path to your script here.
#
#lua_load ~/conky/System/draw_bg.lua
#lua_draw_hook_pre draw_bg

####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/bargraph_small.lua
lua_draw_hook_pre draw_lua

TEXT
##################################
##             LOGO             ##
##################################
## Uncomment for hard-coded ID (static)
#${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -76}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}1${offset 1}2${offset 1}.${offset 0}0${offset 0}4${font}
####
## Uncomment for soft-coded ID (dynamic)
# ${voffset -33}${font OpenLogos:size=103}${color2}v${font}${voffset -76}${goto 179}${font UbuntuTitleBold:size=19.6}${color4}${pre_exec cat /etc/*release | grep 'RELEASE' | awk -F'=' '{print $2}'}${font}
####
## Additional ID (branch version, code name, release date, etc.)
#${voffset -1}${goto 188}${font Ubuntu-B:size=8.1}${color4}alpha 1${font}
##################################
##            SYSTEM            ##
##################################
${voffset 7}${font DroidSans:bold:size=8.25}${color4}SISTEMA${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font OpenLogos:size=10}${color2}u${voffset -4}${font DroidSans:size=8.6}${color3}${offset 5}${pre_exec lsb_release -sd || cat /etc/*release}${font}
${voffset 2}${offset -2}${font OpenLogos:size=12}${color2}Z${voffset -4}${font DroidSans:size=8.6} Kernel: ${alignr}${kernel}${font}
${voffset 2}${font StyleBats:size=10}${color2}d${voffset -2}${font DroidSans:size=8.6}${color3}${offset 5}Processos Ativos${alignr}${font DroidSans:size=8.3}$running_processes/$processes${font}
${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}Bateria${alignr}${if_existing /sys/class/power_supply/BAT0/present}(${battery_percent BAT0} %)${exec ${battery_time BAT0} |  cut -c1 }${else} AUSENTE${endif}${font}

##################################
##          PROCESSORS          ##
##################################
${voffset 4}${font DroidSans:bold:size=8}${color4}PROCESSADORES${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}${voffset 4}${goto 175}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU3${offset 5}${font DroidSans:size=8.3}${cpu cpu3}%${font}
${voffset 12}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}${voffset 2}${goto 175}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU4${offset 5}${font DroidSans:size=8.3}${cpu cpu4}%${font}
##################################
##            MEMORY            ##
##################################
${voffset 10}${font DroidSans:bold:size=8}${color4}MEMORY${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font StyleBats:size=10}${color2}l${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 3}RAM${goto 97}${font DroidSans:size=8.3}${mem}${goto 133}/${offset 5}${memmax}${alignr}${memperc}%${font}
${voffset 15}${font StyleBats:size=9.9}${color2}4${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}SWAP${goto 95}${font DroidSans:size=8.3}${swap}${goto 133}/${offset 5}${swapmax}${alignr}${swapperc}%${font}
##################################
##             HDD              ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}HARD DISKS${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 6}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}Sistema${goto 95}${font DroidSans:size=8.3}${fs_used /}${goto 133}/${offset 5}${fs_size /}${alignr}${fs_free_perc /}%${font}
${voffset 15}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}Músicas${goto 95}${font DroidSans:size=8.3}${fs_used /media/Musicas}${goto 133}/${offset 5}${fs_size /media/Musicas}${alignr}${fs_free_perc /media/Musicas}%${font}
${voffset 15}${font StyleBats:size=9.9}${color2}x${voffset -2}${font DroidSansFallback:size=8.3}${color3}${offset 4}Fotos${goto 95}${font DroidSans:size=8.3}${fs_used /media/Photos}${goto 133}/${offset 5}${fs_size /media/Photos}${alignr}${fs_free_perc /media/Photos}%${font}
##################################
##         TOP MEMORIES         ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}MEMÓRIA${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 1}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 1}${alignr}${top_mem mem 1}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 2}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 2}${alignr}${top_mem mem 2}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 3}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 3}${alignr}${top_mem mem 3}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 4}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 4}${alignr}${top_mem mem 4}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 5}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 5}${alignr}${top_mem mem 5}%${font}
#${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top_mem name 6}${goto 120}${font DroidSans:size=8.3}${top_mem mem_res 6}${alignr}${top_mem mem 6}%${font}
##################################
##         TOP PROCESSES        ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}PROCESSAMENTO${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 6}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top name 1}${alignr}${top cpu 1}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top name 2}${alignr}${top cpu 2}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top name 3}${alignr}${top cpu 3}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top name 4}${alignr}${top cpu 4}%${font}
${voffset 1}${font StyleBats:size=10}${color1}h${voffset -1}${font DroidSans:size=8.65}${color3}${offset 5}${top name 5}${alignr}${top cpu 5}%${font}
##################################
##           NETWORK            ##
##################################]
${if_existing /proc/net/route ppp0}${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK (MODEM)${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown ppp0}${alignr}${font DroidSans:size=8.3}${downspeed ppp0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup ppp0}${alignr}${font DroidSans:size=8.3}${upspeed ppp0}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr ppp0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}${else}${if_existing /proc/net/route wlan0}${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK (WIRELESS)${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown wlan0}${alignr}${font DroidSans:size=8.3}${downspeed wlan0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup wlan0}${alignr}${font DroidSans:size=8.3}${upspeed wlan0}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr wlan0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}
${color6}${font DroidSans:size=8.65}${color3}${alignc}Sinal:${font}${else}${if_existing /proc/net/route eth0}${voffset 4}${font DroidSans:bold:size=8}${color4}NETWORK (CABO)${offset 8}${color8}${voffset -2}${hr 2}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}T${font DroidSans:size=8.65}${color3}${offset 5}Download${goto 120}${font DroidSans:size=8.3}${totaldown eth0}${alignr}${font DroidSans:size=8.3}${downspeed eth0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}N${font DroidSans:size=8.65}${color3}${offset 5}Upload${goto 120}${font DroidSans:size=8.3}${totalup eth0}${alignr}${font DroidSans:size=8.3}${upspeed eth0}${font}
${voffset 4}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Private${offset 3}IP${goto 123}${font DroidSansFallback:size=8.5}LAN${alignr}${font DroidSans:size=8.3}${addr eth0}${font}
${voffset 0}${font PizzaDudeBullets:size=9.5}${color6}a${font DroidSans:size=8.65}${color3}${offset 5}Public${offset 7}IP${goto 121}${font DroidSansFallback:size=8.5}WAN${alignr}${font DroidSans:size=8.3}${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${font}${endif}${endif}${endif}
##################################
##           EMAIL              ##
##################################
${voffset 15}${font DroidSans:bold:size=8}${color4}E-MAIL${offset 8}${color8}${voffset -2}${hr 2}${font}
${color6}${font DroidSans:size=8.65}${color3}${offset 5}Gmail: ${offset 50}${execi 300 conkyEmail -m IMAP -s imap.googlemail.com -e -u <TEU_EMAIL>@gmail.com -p <TUA_SENHA> -i 5}${font}
Notebook Compaq - Processador Intel Pentium Dual Core T3200
HD 160Gb 5400RPM (SATA)
2Gb RAM 667Mhz DDR2

Offline cesgomes

  • Usuário Ubuntu
  • *
  • Mensagens: 23
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #455 Online: 10 de Janeiro de 2012, 22:52 »
FINALMENTE...


Este script necessita do LUA (arquivo bargraph_small.lua, no dir. do usuário):
Código: [Selecionar]
    --[[ this script combines the background drawing lua (originally by londonali1010, modified by VinDSL)
    with a script that emulates only the gradient bars portion of the script by wlourf
    call in conkyrc above TEXT like so
    lua_load /path to file/filename.lua
    lua_draw_hook_pre draw_lua
    ]]
    require 'cairo'
    function conky_draw_lua()
    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)
    cr = cairo_create(cs)
    local updates=tonumber(conky_parse('${updates}'))
    if updates>5 then
    --#########################################################################################################
    --#########################################################################################################
    --background setup -- make sure this comes first-----------
    --settings={--CONKY BACKGROUND
    --corner_r=50,--corner radius
    --bg_color={0xc0c0c0,0.05},--color and alpha inside {}
    --bg_height=0,--negative number reduces height of bg
    --w=conky_window.width,
    --h=conky_window.height,
    --};background(settings)
    --end background setup-------------------------------------

    bar_adjust=-20

    --bar setup------------------------------------------------
    settings={--BATTERY GRAPH BATTERY
    number=tonumber(conky_parse("${memperc}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=41,--x coordinate
    bar_starty=220+bar_adjust,--y coordinate
    divisions=102,--number of blocks
    div_width=1,--horizontal size
    div_height=6,--vertical size
    div_gap=1,--space between bits
    bg_color={0xc0c0c0,0.05},--background color, color and alpha inside {}
--local bg_colour = 0xc0c0c0
--local bg_alpha = 0.05
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--CPU GRAPH CPU0
    number=tonumber(conky_parse("${swapperc}")),
    number_max=100,
    bar_startx=42,
    bar_starty=245+bar_adjust,
    divisions=102,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xc0c0c0,0.05},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
--    settings={--MEMPERC GRAPH
--    number=tonumber(conky_parse("${memperc}")),
--    number_max=100,
--    bar_startx=41,
--    bar_starty=300+bar_adjust,
--    divisions=45,
--    div_width=2,
--    div_height=6,
--    div_gap=1,
--    bg_color={0xc0c0c0,0.05},
--    st_color={0x00FF00,1},
--    mid_color={0xFFFF00,1},
--    end_color={0xFF0000,1},
--    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--BOOT FILESYSTEM USED GRAPH
    number=tonumber(conky_parse("${fs_used_perc /}")),
    number_max=100,
    bar_startx=10,
    bar_starty=293+bar_adjust,
    divisions=118,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--ROOT FILESYSTEM USED GRAPH
    number=tonumber(conky_parse("${fs_used_perc /media/Musicas}")),
    number_max=100,
    bar_startx=10,
    bar_starty=321+bar_adjust,
    divisions=118,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--HOME FILESYSTEM USED GRAPH
    number=tonumber(conky_parse("${fs_used_perc /media/Photos}")),
    number_max=100,
    bar_startx=10,
    bar_starty=349+bar_adjust,
    divisions=118,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--BATTERY GRAPH BATTERY
    number=tonumber(conky_parse("${battery_percent}")),--conky object to read
    number_max=100,--max value of conky object
    bar_startx=20,--x coordinate
    bar_starty=108+bar_adjust,--y coordinate
    divisions=113,--number of blocks
    div_width=1,--horizontal size
    div_height=6,--vertical size
    div_gap=1,--space between bits
    bg_color={0xc0c0c0,0.05},--background color, color and alpha inside {}
--local bg_colour = 0xc0c0c0
--local bg_alpha = 0.05
    st_color={0xFF0000,1},--start color for gradient, green
    end_color={0x00FF00,1},--end color for gradient
    mid_color={0xFFFF00,1},--middle color for gradient, yellow
    };bars(settings)
    --copy and paste above for new bar-------------------------
    --bar setup------------------------------------------------
    settings={--WIRELESS NETWORK GRAPH
    number=tonumber(conky_parse("${wireless_link_qual wlan0}")),
    number_max=100,
    bar_startx=30,
    bar_starty=650+bar_adjust,
    divisions=100,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xc0c0c0,0.05},
    st_color={0xFF0000,1},
    end_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    };bars(settings)
    --copy and paste above for new bar-------------------------
    settings={--CPU 1
    number=tonumber(conky_parse("${cpu cpu1}")),
    number_max=100,
    bar_startx=10,
    bar_starty=155+bar_adjust,
    divisions=50,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --#########################################################################################################
    settings={--CPU 2
    number=tonumber(conky_parse("${cpu cpu2}")),
    number_max=100,
    bar_startx=10,
    bar_starty=180+bar_adjust,
    divisions=50,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --#########################################################################################################
    settings={--CPU 3
    number=tonumber(conky_parse("${cpu cpu3}")),
    number_max=100,
    bar_startx=150,
    bar_starty=155+bar_adjust,
    divisions=50,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --#########################################################################################################
    settings={--CPU 4
    number=tonumber(conky_parse("${cpu cpu4}")),
    number_max=100,
    bar_startx=150,
    bar_starty=180+bar_adjust,
    divisions=50,
    div_width=1,
    div_height=6,
    div_gap=1,
    bg_color={0xFFFFFF,0.25},
    st_color={0x00FF00,1},
    mid_color={0xFFFF00,1},
    end_color={0xFF0000,1},
    };bars(settings)
    --#########################################################################################################
    --#########################################################################################################
    end-- if updates>5
    cairo_destroy(cr)
    cairo_surface_destroy(cs)
    cr=nil
    end-- end main function
    function rgb_to_r_g_b(col_a)
    return ((col_a[1] / 0x10000) % 0x100) / 255., ((col_a[1] / 0x100) % 0x100) / 255., (col_a[1] % 0x100) / 255., col_a[2]
    end
    function bars(t)
    local bar_startx=t.bar_startx
    local bar_starty=t.bar_starty
    local divisions=t.divisions
    local div_width=t.div_width
    local div_height=t.div_height
    local div_gap=t.div_gap
    local br,bg,bb,ba=rgb_to_r_g_b(t.bg_color)
    local sr,sg,sb,sa=rgb_to_r_g_b(t.st_color)
    local mr,mg,mb,ma=rgb_to_r_g_b(t.mid_color)
    local er,eg,eb,ea=rgb_to_r_g_b(t.end_color)
    if t.number==nil then number=0 else number=t.number end
    local number_max=t.number_max
    local number_divs=(number/number_max)*divisions
    cairo_set_line_width (cr,div_width)
    for i=1,divisions do
    if i<(divisions/2) and i<=number_divs then
    colr=((mr-sr)*(i/(divisions/2)))+sr
    colg=((mg-sg)*(i/(divisions/2)))+sg
    colb=((mb-sb)*(i/(divisions/2)))+sb
    cola=((ma-sa)*(i/(divisions/2)))+sa
    elseif i>=(divisions/2) and i<=number_divs then
    colr=((er-mr)*((i-(divisions/2))/(divisions/2)))+mr
    colg=((eg-mg)*((i-(divisions/2))/(divisions/2)))+mg
    colb=((eb-mb)*((i-(divisions/2))/(divisions/2)))+mb
    cola=((ea-ma)*((i-(divisions/2))/(divisions/2)))+ma
    else
    colr=br
    colg=bg
    colb=bb
    cola=ba
    end
    cairo_set_source_rgba (cr,colr,colg,colb,cola)
    cairo_move_to (cr,bar_startx+((div_width+div_gap)*i-1),bar_starty)
    cairo_rel_line_to (cr,0,div_height)
    cairo_stroke (cr)
    end
    end--function bars
    function background(t)
    local corner_r=t.corner_r
    local br,bg,bb,ba=rgb_to_r_g_b(t.bg_color)
    local v=t.bg_height
    local h=t.h
    local w=t.w
    cairo_move_to(cr,corner_r,0)
    cairo_line_to(cr,w-corner_r,0)
    cairo_curve_to(cr,w,0,w,0,w,corner_r)
    cairo_line_to(cr,w,h+v-corner_r)
    cairo_curve_to(cr,w,h+v,w,h+v,w-corner_r,h+v)
    cairo_line_to(cr,corner_r,h+v)
    cairo_curve_to(cr,0,h+v,0,h+v,0,h+v-corner_r)
    cairo_line_to(cr,0,corner_r)
    cairo_curve_to(cr,0,0,0,0,corner_r,0)
    cairo_close_path(cr)
    cairo_set_source_rgba(cr,br,bg,bb,ba)
    cairo_fill(cr)
    end--function background


Detalhe: a music funciona para tanto para o Clementine, como Banshee e Rhytmbox, e a rede levanta os dados via ETH0, como wireless e modem.
Notebook Compaq - Processador Intel Pentium Dual Core T3200
HD 160Gb 5400RPM (SATA)
2Gb RAM 667Mhz DDR2

Offline angrahost

  • Usuário Ubuntu
  • *
  • Mensagens: 0
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #456 Online: 30 de Janeiro de 2012, 09:30 »
Esse ai é o meu, com BIGLinux - KDE 4.8 conky transparente - só nao aprendi a colocar 2 conks juntos pq o conky que eu queria ainda falta calendário - e Musica e melhorar os dados de Rede, pois tive de incurtar tudo pra caber em um.

**** Se alguem puder me ajudar - Já agradeço desde já, Obrigado

imagem no google -=> https://plus.google.com/u/0/photos/113073809880483934737/albums/5703385517397221761/5703385518179421458

Imagem editada por ter mais de 40kB - Leia as regras do forum
http://imageshack.us/photo/my-images/688/tela2.png/
Imagem editada por ter mais de 40kB - Leia as regras do forum


Uploaded with ImageShack.us

######################
# - Conky settings - #
######################
update_interval 1.0
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
format_human_readable
#####################
# - Text settings - #
#####################
# Use Xft?
use_xft yes
xftfont arial:size=8
xftalpha 0.8
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 180
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
xftalpha 1.0
alignment top_right
gap_x 12
gap_y 20
minimum_size 240 600
maximum_width 300
default_bar_size 100 8
#########################
# - Graphics settings - #
#########################
draw_shades no
default_color 4d76a8
color0 ffffff #(Icons)
color1 636363#(Indicators)
color2 636363 #(Processes)
color3 green #(Pocess 1)
color4 B22222 #(Clock)
text
#TEXT
#CLOCK
${voffset -10}${alignc 27}${color4}${font Arial Black:size=22}${time %H:%M}${font}${color}
${alignc 3}${color3}${font Arial:style=Bold:size=8}${time %d %B %Y}${color}
${color4}
SISTEMA ${hr 3}${color3}
${voffset 2}${font StyleBats:size=16}i${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}   CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}l${font}  Temperature: ${alignr}${acpitemp}C
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}
${color4}
PROCESSOS ${hr 3}${color3}
${color0}NAME $alignr PID    CPU
${color3}${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${color4}
HD ${hr 3}${color3}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${color4}
INTERNET 3G ${hr 3}${color3}
${color3}Down: $color4${downspeed wlan0} k/s ${alignr}${color0}Up:$color4 ${upspeed wlan0} k/s
${color0}${downspeedgraph wlan0 20,110 000000 00ff00} ${alignr}${upspeedgraph wlan0 20,110 303030 c0c0c0}$color
${color3}Total: $color ${totaldown wlan0}${alignr}${color3}Total: $color${totalup wlan0}
${color4}TEMPO ${hr 3}${color3}
Localização:${color0} ${execi 3600 conkyForecast --location=BRXX0263 --datatype=CN}
${color3}Condição:${color0} ${execi 3600 conkyForecast --location=BRXX0263 --datatype=CC}
${font ConkyWeather:size=36}${execi 3600 conkyForecast --location=BRXX0263 --datatype=WF}${font}
Temp: ${execi 3600 conkyForecast --location=BRXX0263 --datatype=HT}
Previsão Extendida
${font ConkyWeather:size=36}${execi 3600 conkyForecast --startday=1 --endday=3 --location=BRXX0263 --datatype=WF}${font}
${execi 3600 conkyForecast --location=BRXX0263 --startday=1 --endday=3 --spaces=15 --datatype=HT}
${execi 3600 conkyForecast --location=BRXX0263 --startday=1 --endday=3 --spaces=5 --datatype=DW}
#Linux
${color0}
${color4}${voffset -5}${color ffffff}${GOTO 40}${font OpenLogos:size=38}t${font}
« Última modificação: 30 de Janeiro de 2012, 10:26 por Tota »
Wesley Maia
BigLinux
Dell I3 - N4050

Offline PRSC

  • Usuário Ubuntu
  • *
  • Mensagens: 668
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #457 Online: 22 de Abril de 2012, 20:23 »
Esse conky deu trabalho.

http://i231.photobucket.com/albums/ee264/netoacneto/FotosForum/NovoConky.png


Código: [Selecionar]
# Use Xft?
use_xft yes
xftfont URW Gothic L:pixelsize=10:bold
xftalpha 1
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 800
maximum_width 800

# 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 a9a8a7
color1 c8ff00 #verde
color2 ffc800 #arancio
color3 6093c2 #azzurro
color4 0096ff #azzurro2

# Text alignment, other possible values are commented
alignment top_middle
#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 40

# Subtract file system buffers from used memory?
no_buffers yes

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

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

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

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

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

TEXT
#HARD DISK
${voffset 10}${color3}${font URW Gothic L:pixelsize=16:bold}${goto 390}HD'S${font}${color}
${goto 360}Ubuntu - ${fs_used /} / ${fs_size /}
${goto 360}  ${fs_bar 4,80 /}  ${color3}${fs_used_perc /}% Usado${color}
${goto 360}Win 7 32 - ${fs_used /media/WIN_7_32} / ${fs_size /media/WIN_7_32}
${goto 360}  ${fs_bar 4,80 /media/WIN_7_32}  ${color3}${fs_used_perc /media/WIN_7_32}% Usado${color}
${goto 360}Win 7 64 - ${fs_used /media/WIN_7_64} / ${fs_size /media/WIN_7_64}
${goto 360}  ${fs_bar 4,80 /media/WIN_7_64}  ${color3}${fs_used_perc /media/WIN_7_64}% Usado${color}
${goto 360}HD Sistema - ${fs_used /media/HD_SISTEMA} / ${fs_size /media/HD_SISTEMA}
${goto 360}  ${fs_bar 4,80 /media/HD_SISTEMA}  ${color3}${fs_used_perc /media/HD_SISTEMA}% Usado${color}
${goto 360}HD 1 também - ${fs_used /media/HD_1_TB} / ${fs_size /media/HD_1_TB}
${goto 360}  ${fs_bar 4,80 /media/HD_1_TB}  ${color3}${fs_used_perc /media/HD_1_TB}% Usado${color}
${goto 360}HD 1.5 também - ${fs_used /media/HD_1.5_TB} / ${fs_size /media/HD_1.5_TB}
${goto 360}  ${fs_bar 4,80 /media/HD_1.5_TB}  ${color3}${fs_used_perc /media/HD_1.5_TB}% Usado${color}
${goto 360}HD 2 também - ${fs_used /media/HD_2_TB} / ${fs_size /media/HD_2_TB}
${goto 360}  ${fs_bar 4,80 /media/HD_2_TB}  ${color3}${fs_used_perc /media/HD_2_TB}% Usado${color}

#INFO
${voffset 100}${goto 390}${color3}${font URW Gothic L:pixelsize=16:bold}SISTEMA${font}${color}
${goto 320}${font OpenLogos:size=16}u${font} Kernel:  ${kernel}
${goto 320}${alignc} ${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
       ${goto 360}Frequência: ${freq_g 2}GHz ${alignr}
${goto 320}${color3}${font Poky:size=16}P${font}${color}  CPU 1:${goto 390}${cpubar cpu1 9,110}${color3}  ${cpu cpu1}%${color}
${goto 320}${color3}${font Poky:size=16}P${font}${color}  CPU 2:${goto 390}${cpubar cpu2 9,110}${color3}  ${cpu cpu2}%${color}
${goto 320}${color3}${font Poky:size=16}P${font}${color}  CPU 3:${goto 390}${cpubar cpu3 9,110}${color3}  ${cpu cpu3}%${color}
${goto 320}${color4}${font Poky:size=16}M${font}${color}  RAM: ${goto 390}${membar 8,110}${color}${color3}  $memperc%${color}
   ${goto 320}     Usada: $mem             Total: $memmax
${goto 320}${color4}${font StyleBats:size=16}j${font}${color}  SWAP:${goto 390}${color}${swapbar 6,110}${color3}  $swapperc%${color}
${goto 320}${color2}${font StyleBats:size=16}q${font}${color}  Ligado: ${uptime}
${color}

#PROCESSOS CPU
${voffset -50}${goto 90}${color3}${font URW Gothic L:pixelsize=16:bold}USO CPU${font}${color}

${goto 50}CPU${goto 170}CPU%
${goto 50}${top name 1}${goto 165}${top cpu 1}%
${goto 50}${top name 2}${goto 165}${top cpu 2}%
${goto 50}${top name 3}${goto 165}${top cpu 3}%
${goto 50}${top name 4}${goto 165}${top cpu 4}%
${goto 50}${top name 5}${goto 165}${top cpu 5}%
${goto 50}${top name 6}${goto 165}${top cpu 6}%
${goto 50}${top name 7}${goto 165}${top cpu 7}%
${goto 50}${top name 8}${goto 165}${top cpu 8}%
${goto 50}${top name 9}${goto 165}${top cpu 9}%

#PROCESSOS RAM
${voffset -190}${goto 670}${color3}${font URW Gothic L:pixelsize=16:bold}USO MEMORIA${font}${color}

${goto 650}RAM${goto 770}RAM%
${goto 650}${top_mem name 1}${goto 765}${top_mem mem 1}%
${goto 650}${top_mem name 2}${goto 765}${top_mem mem 2}%
${goto 650}${top_mem name 3}${goto 765}${top_mem mem 3}%
${goto 650}${top_mem name 4}${goto 765}${top_mem mem 4}%
${goto 650}${top_mem name 5}${goto 765}${top_mem mem 5}%
${goto 650}${top_mem name 6}${goto 765}${top_mem mem 6}%
${goto 650}${top_mem name 7}${goto 765}${top_mem mem 7}%
${goto 650}${top_mem name 8}${goto 765}${top_mem mem 8}%
${goto 650}${top_mem name 9}${goto 765}${top_mem mem 9}%

#PID
${voffset -15}${goto 410}${color3}${font URW Gothic L:pixelsize=16:bold}PID${font}${color}

${goto 340}NAME ${goto 480}PID
${goto 340}${top name 1}${goto 475} ${top pid 1}
${goto 340}${top name 2}${goto 475} ${top pid 2}
${goto 340}${top name 3}${goto 475} ${top pid 3}
${goto 340}${top name 4}${goto 475} ${top pid 4}
${goto 340}${top name 5}${goto 475} ${top pid 5}
${goto 340}${top name 6}${goto 475} ${top pid 6}
${goto 340}${top name 7}${goto 475} ${top pid 7}
${goto 340}${top name 8}${goto 475} ${top pid 8}
${goto 340}${top name 9}${goto 475} ${top pid 9}

#REDE
${if_existing /proc/net/route eth0}
${voffset -720}${goto 695}${color3}${font URW Gothic L:pixelsize=16:bold}REDE${font}${color}

${goto 625}${font PizzaDude Bullets:size=14}T${font}Down:${color} ${downspeed eth0} k/s ${color}${downspeedgraph eth0 12,70 ff0000 0000ff}

${goto 625}${font PizzaDude Bullets:size=14}N${font}Up:${color} ${upspeed eth0} k/s ${color}${upspeedgraph eth0 12,70 0000ff ff0000}
 
${goto 625}${color}${font Poky:size=13}w${font}${color}   Ip Local:  ${addr eth0}

${goto 655}Upload: ${goto 730}${totalup eth0}
${goto 655}Download: ${goto 730}${totaldown eth0}

#HORA E DATA
${voffset -170}${goto 72}${color3}${font URW Gothic L:pixelsize=16:bold}HORA E DATA${font}${color}

${goto 60}${font URW Gothic L:pixelsize=30:bold}${time %H:%M.%S}${font}

${goto 72}${time %a %d %b %Y}
Placa Gigabyte 970A-ud3p..16 GB Corsair Vegeance..FX8300..nVidia GTx750Ti.Gabinete Cougar Challenger
Linux user #511

Offline Sedan75

  • Usuário Ubuntu
  • *
  • Mensagens: 22
  • Não discuta com EXTREMISTAS em Linux ou Windows.
    • Ver perfil
    • hotplugdicas.blogspot.com
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #458 Online: 25 de Abril de 2012, 08:38 »
Mais um exemplo de conky só que agora da forma horizontal substituindo a barra superior para que possa ficar sempre a mostra com as janelas de aplicativos maximizados.

Como solução coloquei somente uma barra inferior com o GoMenu para que todas as funções das duas barra ficassem em uma só sem ficar lotada.




Exatamente o que eu procurava!
valeu!
o .conkyrc é esse aqui:

Código: [Selecionar]
#avoid flicker

double_buffer yes



#own window to run simultanious 2 or more conkys

own_window  yes

own_window_transparent no

own_window_type dock

#own_window_hints undecorate,below,above,sticky,skip_taskbar,skip_pager



#borders

draw_borders no

border_margin 1



#shades

draw_shades no



#position

gap_x 0

gap_y 0

alignment top_left
#alignment bottom_left




#behaviour

update_interval 1



#colour

default_color  9f907d



#default_shade_color 000000

own_window_colour 3d352a



#font

use_xft yes

xftfont bauhaus:pixelsize=11
xftalpha 0.8
text_buffer_size 2048



#to prevent window from moving

use_spacer no

minimum_size 1262 0

# 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







TEXT

${voffset 2}${font OpenLogos:size=13}u${font} Kernel: ${color D7D3C5}${kernel}  |  ${color }Cpu1: ${color D7D3C5}${cpu cpu1}%  ${color}${cpubar 8,60 AEA08E 9F907D} ${color D7D3C5}  |  ${color }Cpu2: ${color D7D3C5}${cpu cpu2}%  ${color}${cpubar 8,60 AEA08E 9F907D} ${color D7D3C5}  |  ${color }Mem: ${color D7D3C5}$mem/$memmax - $memperc%${color}  ${membar 8,60}${color D7D3C5}  |  ${color }Swap: ${color D7D3C5}$swap/$swapmax - $swapperc%${color}  ${swapbar 8,60}${color D7D3C5}
${color }Down: ${color D7D3C5}${font}${downspeed ppp0} Kb/s ${color} ${downspeedgraph ppp0 10,60 AEA08E 9F907D} ${color D7D3C5} ${totaldown ppp0}  |  ${color }Up: ${color D7D3C5}${upspeed ppp0} Kb/s ${color} ${upspeedgraph ppp0 10,60 AEA08E 9F907D}  ${color D7D3C5}${totalup ppp0}  |  ${color }Ubuntu: ${color D7D3C5}${fs_used /}/${fs_size /} - ${fs_used_perc /}% ${color}${fs_bar 8,60 /}${color D7D3C5}  |  ${color }Ligado: ${color D7D3C5}${uptime}  |  ${time %A %d %B %Y} ${color D7D3C5} ${time  %H:%M}
Sedan75
UBUNTU 10.04 LTS
H-Buster HBNB 1401

Offline Caseoli

  • Usuário Ubuntu
  • *
  • Mensagens: 78
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #459 Online: 25 de Abril de 2012, 16:09 »
Olá pessoal,

No Conky que configurei aqui na minha máquina não funciona a parte de Swap.

Verifiquei que a configuração do Conky referente a Swap do pessoal aqui geralmente é a seguinte:

${color }Swap: ${color D7D3C5}$swap/$swapmax - $swapperc%${color}  ${swapbar 8,60}


Mas a minha configuração é essa:

${color}::${color slate grey}SWAP: ${color } $swapperc% $swap/$swapmax
${color slate grey}${swapbar 3,245}


O que poderá estar ocorrendo de errado?

Sds.

Offline eaxgrande

  • Usuário Ubuntu
  • *
  • Mensagens: 514
  • "Todo homem, por natureza, quer saber"
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #460 Online: 25 de Abril de 2012, 18:44 »
Olá,

Citar
${color}${color slate grey}SWAP: ${color}$swapperc% $swap/$swapmax
${color slate grey}${swapbar 3,245}

Corrigi um ou outro detalhe dessa sua linha e testei no meu conky. Funcionou normalmente.

Não pude ver se a barrinha está funcionando
Citar
${swapbar 3,245}
, mas isso por que meu computador não estava usando swap no momento do teste.

Não seria isso? Vai ver que seu computador não está usando swap. De resto parece estar tudo certo.

Abraços
Ubuntu-Mate 16.04 Xenial
Lubuntu-LXQt 20.04 Focal

Offline eaxgrande

  • Usuário Ubuntu
  • *
  • Mensagens: 514
  • "Todo homem, por natureza, quer saber"
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #461 Online: 25 de Abril de 2012, 18:46 »
A propósito, PRSC...

Esse seu conky é espetacular. Nunca tinha visto nada tão complexo.

Vou dar uma estudada nele aqui.

Abraços!
Ubuntu-Mate 16.04 Xenial
Lubuntu-LXQt 20.04 Focal

Offline PRSC

  • Usuário Ubuntu
  • *
  • Mensagens: 668
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #462 Online: 25 de Abril de 2012, 22:17 »
A propósito, PRSC...

Esse seu conky é espetacular. Nunca tinha visto nada tão complexo.

Vou dar uma estudada nele aqui.

Abraços!

Obrigado, mas obvio que copiei de alguém  :D fazendo algumas alterações, no original que vi tinha no lado direito fotos com os valores, eu aproveitei o próprio papel de parede, duro foi movimentar e colocar cada um no seu quadrado :P

Mas como tudo não é flores, troquei de monitor hoje e não sei porque o conky agora fica transparente mas não totalmente, fica aparecendo aquela base onde ele é feito, e não tem jeito de mudar aquilo, ou a transparência some, ou fica por cima de tudo e ai vai.

Se quiser o papel de parede deixo o link para testar ai, pior que eu já tinha inserido até calendario ali junto a hora, ficou show, mas agora até descobrir porque na troca do monitor deu tudo isso, fazer o que.

http://www.4shared.com/rar/Ha8hYyi4/ConkyHexagonal.html

Abraço.
Placa Gigabyte 970A-ud3p..16 GB Corsair Vegeance..FX8300..nVidia GTx750Ti.Gabinete Cougar Challenger
Linux user #511

Offline eaxgrande

  • Usuário Ubuntu
  • *
  • Mensagens: 514
  • "Todo homem, por natureza, quer saber"
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #463 Online: 25 de Abril de 2012, 23:19 »
Obrigado PRSC. Já baixei aqui.

Você relatou um problema com transparência. Eu costumo configurar desde transparência total até fundo preto mexendo nesses parâmetros aqui:
Citar
own_window_argb_visual (yes or no)
own_window_argb_value (0-250)
own_window_transparent (yes or no)

No primeiro parâmetro, os valores são "yes" ou "no". Em "yes", você habilita o funcionamento dos parâmetros seguintes. Em "no", fica tudo com fundo absolutamente preto.

Supondo que você tenha habilitado o primeiro parâmetro (yes), então você pode colocar valores de 0 a 250 no segundo parâmetro para controlar a gradação de transparência. Zero para transparência total e 250 para fundo quase que absolutamente preto.

Já o terceiro parâmetro é meio redundante. Os valores também são "yes" ou "no". Porém ele precisa ficar em "no", pois se colocar "yes", fica tudo transparente, mesmo que exista algum valor no segundo parâmetro.

Não sei ainda explicar por quê funciona assim. Estou relatando o que acontece comigo aqui, na prática.

Se falei alguma coisa errada, por favor, me corrijam.

Abraços!

Ubuntu-Mate 16.04 Xenial
Lubuntu-LXQt 20.04 Focal

Offline PRSC

  • Usuário Ubuntu
  • *
  • Mensagens: 668
    • Ver perfil
Re: Pra quem usa o Conky, postem aqui seus ".conkyrc" com foto da tela
« Resposta #464 Online: 26 de Abril de 2012, 19:03 »
Obrigado PRSC. Já baixei aqui.

Você relatou um problema com transparência. Eu costumo configurar desde transparência total até fundo preto mexendo nesses parâmetros aqui:
Citar
own_window_argb_visual (yes or no)
own_window_argb_value (0-250)
own_window_transparent (yes or no)

No primeiro parâmetro, os valores são "yes" ou "no". Em "yes", você habilita o funcionamento dos parâmetros seguintes. Em "no", fica tudo com fundo absolutamente preto.

Supondo que você tenha habilitado o primeiro parâmetro (yes), então você pode colocar valores de 0 a 250 no segundo parâmetro para controlar a gradação de transparência. Zero para transparência total e 250 para fundo quase que absolutamente preto.

Já o terceiro parâmetro é meio redundante. Os valores também são "yes" ou "no". Porém ele precisa ficar em "no", pois se colocar "yes", fica tudo transparente, mesmo que exista algum valor no segundo parâmetro.

Não sei ainda explicar por quê funciona assim. Estou relatando o que acontece comigo aqui, na prática.

Se falei alguma coisa errada, por favor, me corrijam.

Abraços!



No meu conky não tinha esses parametros que vc citou, coloquei e realmente ficou transparente, porém, até a cor das barras de progresso da internet ou da cpu ficaram brancas.

Mas creio que descobri o porque de ter desconfigurado de certa forma.
Não sei o porque mas não tenho mais acesso a area de trabalho, botão direito não funciona, nem aquela opção de clicar com o esquerdo segurar e puxar para selecionar arquivos funciona.
Então creio que é isso que está afetando o meu conky.

Se vc puder testar o meu mas sem colocar os parametros que vc mesmo passou, creio que funcionara, derrepente vai ficar fora dos quadrados, mas vai ficar transparente.
Se testar e puder falar o resultado para que eu possa estudar aqui o que realmente está acontecendo.

Abraço.
Placa Gigabyte 970A-ud3p..16 GB Corsair Vegeance..FX8300..nVidia GTx750Ti.Gabinete Cougar Challenger
Linux user #511