Uso esta configuração ai pro meu notebook e desktop e funciona bem
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
#
# dicas nodes212 #
# para colorir= ${color #FCAF3E}${font}${font}$color #
# para alinhar no conky= ${alignc 35} 35 é o centro #
# mudar tamanho da fonte= size=26 #
# criar uma linha= ${hr 2} #
# espaço entre itens= ${voffset -1} #
# Use Xft?
use_xft yes
xftfont Droid Sans:size=8
xftalpha 0.8
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
#com borda
own_window_type conky
#sem borda
#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 256 695
#maximum_width 182
#ALTERE A COR AQUI NODES#
# Draw shades?
draw_shades no
default_color FFFFFF
# 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
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 20
# -- Lua Load -- #
lua_load ~/.draw_bg.lua
lua_draw_hook_pre draw_bg
Dae se pode usar como quiser, desde user isso antes de TEXT.
Já no meu text eu uso isso aqui, mas se pode escolher o q bem quiser por ai.
TEXT
#
${color #F95757}SISTEMA ${hr 1}$color
${goto 6}${voffset 6}${image /usr/share/icons/logoalt_white.png -p 0,20 -s 26x26}${goto 40}
${GOTO 40}${font ubuntu:size=14}${scroll 36 ${pre_exec cat /etc/issue.net} $machine $nodename - $sysname $kernel ${execi 99999 cat /etc/issue}${font bold:size=8}${color} | }
${color #F95757}${hr 1}$color
#
# processadores #
${goto 6}${color #F9FF55}${font StyleBats:size=16}A${font}$color${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}A${font}$color${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
#${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}A${font}color${voffset -4}${goto 32}CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
#${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}A${font}$color${voffset -4}${goto 32}CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
# ram hd swap temperatura ####################
${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}g${font}$color${voffset -4}${goto 32}RAM: ${mem} ${alignr}${membar 8,60}
${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}x${font}$color${voffset -4}${goto 32}DISC: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 6}${color #F9FF55}${voffset 4}${font StyleBats:size=16}j${font}$color${voffset -4}${goto 32}SWAP: $swapperc% ${alignr}${swapbar 8,60}
${goto 6}${color #9FEAFF}${voffset 4}${font StyleBats:size=16}q${font}$color${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 6}${color #9FEAFF}${voffset 4}${font StyleBats:size=16}k${font}$color${voffset -4}${goto 32}Processos: ${alignr}$processes ($running_processes running)
${goto 6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}TempPc:${alignr}${execi 4 sensors | grep -A 0 'temp1' | cut -c15-18} ºC
${goto 32}${voffset 1}${color #F95757}${hr 1}$color
${goto 7.5}${color #9FEAFF}${voffset 4}${font Poky:size=15}a${font}${goto 32}$color${voffset -10}Highest: ${alignr 25}CPU${alignr}RAM
${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}
${voffset -1}${color #F95757}DATA ${hr 1}$color
${alignc 35}${color #FCAF3E}${font Arial Black:size=26}${time %H:%M}${font}$color
${alignc 10}${color #68FF45}${font Arial:size=10}${time %A %d %B}${font}$color
${voffset -1}${color #F95757}HD ${hr 1}$color
#home do root, nodes #
${goto 3}${voffset 4}${color #9FEAFF}${font Poky:size=16}H${font}$color${goto 29}${voffset -11} Root: ${fs_used_perc /}%${alignr}${fs_size /}
${goto 29} Livre: ${fs_free /}${alignr}${fs_bar 8,60 /}
#mede a partiçao criada por nodes2012#
${goto 3}${voffset 8}${font Poky:size=16}H${font}${goto 29}${voffset -11} Backnilson: ${fs_used_perc /media/backnilson}%${alignr}${fs_size /media/backnilson}
${goto 29} Livre: ${fs_free /media/backnilson}${alignr}${fs_bar 8,60 /media/backnilson}
#mede a sua home - por nodes2012#
#${goto 3}${voffset 8}${font Poky:size=16}H${font}${goto 29}${voffset -11} Home: ${fs_used_perc /home}%${alignr}${fs_size /home}
#${goto 29} Livre: ${fs_free /home}${alignr}${fs_bar 8,60 /home}
${voffset -1}${color #F95757}INTERNET ${hr 1}$color
${if_up wlan0}${color #9FEAFF}${font Poky:size=14}Y${font}$color${goto 32}${voffset -5}REDE: ${wireless_essid wlan0}
${goto 32}Sinal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 6}${color #9FEAFF}${font VariShapes Solid:size=14}q${font}$color${goto 32}${voffset -}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup wlan0}
${voffset 4}${color #9FEAFF}${font VariShapes Solid:size=14}Q${font}$color${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown wlan0}
${voffset 4}${color #9FEAFF}${font Poky:size=13}w${font}$color${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
#${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://automation.whatismyip.com/n09230945.asp | tail}
# |--ETH0
${else}${if_up eth0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed eth0}${font} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup eth0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed eth0}${font} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown eth0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr eth0}
#${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://automation.whatismyip.com/n09230945.asp | tail}
# |--PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup ppp0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown ppp0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}
${color #F95757}Nodes.07/2012${hr 1} $color
Blogger: pqplinuxnodes.blogspot.com.br
Facebook: facebook.com/neomatrixfazao
Email: neomatrixfazao@gmail.com
Fone de contado: (91) 8025-5574
ATALHOS DO TECLADO${hr}
Alt+F1$alignr Menu principal
Alt+F2$alignr Executar um programa
Alt+Tab$alignr Alternar programa
Ctrl+Alt+DEL$alignr Reiniciar
Super+Space$alignr Gome-do
Super+Tab$alignr Alternar programa
Super+W$alignr Janelas
Super+S$alignr Menu users
No caso de erro vá em /etc/conky e edite este conky.conf ele é o padrão do sistema.
Este é o conteudo do arquivo padrã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/>.
#
alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
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 desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
TEXT
${scroll 16 $nodename - $sysname $kernel on $machine | }
$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% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$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}
No caso de precisar pra reiniciar seu conky a forma antiga
0 Comente::
Postar um comentário