[Ubuntu-BR] configuração script conky

Paulo Horácio horacllos em gmail.com
Domingo Março 14 09:59:48 UTC 2010

Olá, eu uso o script do conky abaixo. Gostaria de saber qual das coordenadas
dele que altera a posição, ele está alinhado à direita do meu vídeo, sabendo
qual a propriedade que altera a posição irei fazer algumas mudanças aqui
para deixá-lo um pouco mais à esquerda.


# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# 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 100 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders yes

# border margins
border_margin 5

# border width
border_width 0

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color grey
own_window_colour grey

# 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 35
gap_y 25

# 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
use_spacer none


${hr 2}
${alignc}${time %A},${time %e} de ${time %B} de ${time %G}  ${alignc}${time
${hr 2}

SYSTEM ${hr 2}
Kernel:  ${alignr}${kernel}
CPU1: (${cpu cpu1}%) ${freq}MHz / ${execi 2 cat
/sys/bus/pci/drivers/k8temp/0000\:00\:18.3/temp1_input | cut -c1,2}° C
${alignr}${cpubar cpu1 8,70}
CPU2: (${cpu cpu2}%) ${freq}MHz / ${execi 2 cat
/sys/bus/pci/drivers/k8temp/0000\:00\:18.3/temp1_input | cut -c1,2}° C
${alignr}${cpubar cpu2 8,70}
${font Webdings:size=12}~${font} Battery: ${battery_percent BAT1}%
${alignr}${battery_bar 8,60 BAT1}
Uptime: ${alignr}${uptime}

MEMORY ${hr 2}
$alignc $mem / $memmax $alignr $memperc%
Swap: $swapperc% ${alignr}${swapbar 8,70}

HD ${hr 2}
Raiz | Home
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,70 /}
${voffset 4}${fs_used /home}/${fs_size /home} ${alignr}${fs_bar 8,70 /home}
Temperature: ${hddtemp /dev/sda}ºC

NETWORK ${hr 2}${if_existing /proc/net/route wlan0}
Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,70 BEBEBE BEBEBE}
Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,70 BEBEBE
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,70
Ip: ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}
Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,70 789E2D A7CC5C}
Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,70 789E2D
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}
Ip: ${alignr}${addr eth0}
${endif}${else}${if_existing /proc/net/route eth1}
Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,70 789E2D A7CC5C}
Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,70 789E2D
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}
Ip: ${alignr}${addr eth1}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable

More information about the ubuntu-br mailing list