Conky (conky.conf)

Configuração para o Conky bastante completa, destinada a computadores Core2Duo

Categoria: Init

Software: Conky

[ Hits: 18.224 ]

Por: Marcelo Marchi Negreira


Configuração para o Conky bastante completa. Destinada a computadores Core2Duo. Pode funcionar em outros também.

- Background transparente.
- Nome do Computador.
- Sistema.
- Kernel.
- Tipo.
- Data e Hora.
- Uptime.
- Frequência do processador.
- Uso da Ram - Completo com Gráficos.
- Uso do Swap File - Completo com Barra.
- Uso das CPUs - Percentual utilizado com gráfico.
- Temperatura dos Núcleos.
- Processos ativos.
- Espaço no Disco.
- Rede completa com velocidade e gráficos de utilização.
- Processos  mais ativos.

Esquema de cores Hacker.


# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# 
#Marcelo Marchi Negreira
#25/07/2010

alignment bottom_right
background yes
border_width 5
cpu_avg_samples 2
default_color green
default_outline_color blue
default_shade_color yellow
double_buffer
draw_borders yes
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=10
gap_x 20
gap_y 50
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no


TEXT
${color yellow}$nodename
${color yellow}$sysname
${color yellow}$kernel
${color yellow}$machine
${color yellow}$time
$color$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% 
$color${memgraph}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc%
$color${swapbar}
${color grey}CPU 1 Usage:$color ${cpu cpu0} 
${cpugraph cpu0}
${color grey}CPU 2 Usage:$color ${cpu cpu1} 
${cpugraph cpu1}
${color grey}CPU 1 Temp:$color ${platform coretemp.0 temp 1}C:
${color grey}CPU 2 Temp:$color ${platform coretemp.1 temp 1}C:
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} 
$color ${upspeedgraph eth0}
${color grey}Down:$color ${downspeed eth0}
$color ${downspeedgraph eth0}
$color$hr
${color grey}Name              PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
  


Comentários
[1] Comentário enviado por rctzero em 20/08/2010 - 12:12h

Boa tarde a todos - sou novo no pedaço e preciso de uma ajuda.

Instaley o conky no meu not que roda a distro ubuntu 10.04

De inicio ele não criou o arquivo conkyrc
Tudo bem eu editava pelo conk.conf

ai eu intaley o conky colors
e agora não sei qual o arquivo de edição que ele usa ja mexi en tudo quanto é arquivo do conky e nenhum altera ele

e outra mesmo eu removendo todo o conky agora ele so fica com a carinha do colors e não posso muda-la

Podem me ajudar

Sei que deve ser algo bem simples, que pela pressa não estou vento


desde já agradeço

meu layout - http://www.flickr.com/photos/8395944@N05/4910045183/

[2] Comentário enviado por Tha em 16/05/2011 - 12:22h

Vc tem que mexer somente no arquivo conky.rc que fica em /home/seunomedeusuario/conky.rc. Se quiser pode deixar igual o meu, só te lembra de editar o nome :)
Instala o conkycolors antes pra ele ficar bonitão :)



# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

######################
# - Conky settings - #
######################
update_interval 2.0
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes
background yes

#####################
# - Text settings - #
#####################
use_xft yes
use_spacer right
xftfont Droid Sans:size=8
override_utf8_locale yes
text_buffer_size 2048

draw_outline no
draw_shades no
draw_borders no
draw_graph_borders yes

default_color ffffff
color0 black
color1 F15D22
color2 white

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment top_right
gap_x 6
gap_y 30
minimum_size 220 0
maximum_width 220

default_bar_size 60 8
stippled_borders 3
border_width 0

TEXT

${voffset -10}${alignc 25}${color2}${font ubuntu:size=20:bold}Thaís${font}${color}

#############
# - CLOCK - #
#############
${voffset -10}${alignc 36}${color2}${font ubuntu:size=30:bold}${time %H:%M}${font}${color}

${font ubuntu:size=10:bold}${alignc}${time %A, %d de %B de %Y}
################
# - CALENDAR - #
################
${font Droid Sans:style=Bold:size=8}CALENDÁRIO $hr${font}
${voffset -2}${color0}${font Poky:size=15}d${font}${color}${voffset -8}${font Liberation Mono:size=8}${execpi 10800 DJS=`date +%-d`; cal | sed 's/^/${goto 32} /' | sed '1d' | sed s/" $DJS "/" "'${font Liberation Mono:style=bold:size=8}${color1}'"$DJS"'${color}${font}${font Liberation Mono:size=8}'" "/}${font}${font}${voffset -14}
##############
# - SYSTEM - #
##############
${font Droid Sans:style=Bold:size=8}SISTEMA $hr${font}
${color0}${voffset 6}${font OpenLogos:size=19}u${font}${color}${goto 32}${voffset -14}Kernel: ${alignr}${color2}${kernel}${color}
${goto 32}Atividade: ${alignr}${color2}${uptime}${color}
# |--UPDATES
${goto 32}Atualizações: ${alignr}${font Droid Sans:style=Bold:size=8}${color1}${execi 360 aptitude search "~U" | wc -l | tail}${color}${font} ${color2}Pacotes${color}
# |--CPU
${offset 1}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Droid Sans:style=Bold:size=8}${color1}${cpu cpu1}%${color}${font} ${alignr}${color2}${cpugraph cpu1 8,60 CE5C00 E07A1F}${color}
${goto 32}CPU2: ${font Droid Sans:style=Bold:size=8}${color1}${cpu cpu2}%${color}${font} ${alignr}${color2}${cpugraph cpu2 8,60 CE5C00 E07A1F}${color}
# |--MEM
${color0}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}RAM: ${font Droid Sans:style=Bold:size=8}${color1}$memperc%${color}${font}${alignr}${color2}${memgraph mem 8,60 CE5C00 E07A1F}${color}
${offset 1}${voffset 2}${color0}${membar 4,18}${color}${goto 32}${voffset -2}F: ${color2}${memeasyfree}${color} U: ${color2}${mem}${color}

# |--NETWORK
${font Droid Sans:style=Bold:size=8}REDE $hr${font}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts