LINUX.ORG.RU

настройка conky


0

1

Уважаемые форумчане,помогите пжл с настройкой коньков....у меня получается вот такая трабла:
http://picasaweb.google.com/dmitriy.shvedchenko/qeSppG#5523538415503867730

помогите убрать лишнее пространство перед отображением инфы коньков...и может кто подскажет какие еще прикольные фичи можно добавить...

вот конфиг коньков


# conky configuration
# edited by darcon@gmail.com

# set to yes if you want Conky to be forked in the background
background no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*


# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 2.0

# 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_type override
own_window_transparent yes
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 1000 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

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

# 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 -600
gap_y 1

# 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 no


# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
#Note: doesn't work in conky 1.2 =(


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT





#${offset 240}${color slate grey}Kernel: ${kernel}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes

${offset 240}${color slate grey}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}

${offset 240}${color slate grey}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}

${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}system ${fs_used /mnt/system}/${fs_size /mnt/system}
${offset 240}${fs_bar 3,100 /mnt/system}
${offset 240}data ${fs_used /mnt/data}/${fs_size /mnt/data}
${offset 240}${fs_bar 3,100 /mnt/data}
${offset 240}multimedia ${fs_used /mnt/multimedia}/${fs_size /mnt/multimedia}
${offset 240}${fs_bar 3,100 /mnt/multimedia}
${offset 240}distributiv ${fs_used /mnt/distributiv}/${fs_size /mnt/distributiv}
${offset 240}${fs_bar 3,100 /mnt/distributiv}
${offset 240}asp ${fs_used /mnt/asp}/${fs_size /mnt/asp}
${offset 240}${fs_bar 3,100 /mnt/asp}

${offset 240}${color slate grey}INET:
${offset 240}${color}Down: ${color }${downspeed ppp0}k/s${color}
${offset 240}${downspeedgraph ppp0 20,130 000000 ffffff}
${offset 240}${color}Up: ${color }${upspeed ppp0} k/s
${offset 240}${upspeedgraph ppp0 20,130 000000 ffffff}



>помогите убрать лишнее пространство перед отображением инфы коньков

Ты про что?

И да, конфиг или на pastebin или в [code] [/code] оберни.

kernelpanic ★★★★★
()
Ответ на: комментарий от kernelpanic
TEXT





#${offset 240}${color slate grey}Kernel: ${kernel}

Если я тебя правильно понял, убери пустые строки после TEXT

kernelpanic ★★★★★
()

хм...а где

own_window_argb_visual yes
?
или некрофилией заболел?
а вообще вот это
disable_auto_reload
alignment top_right
background no
border_width 1
#cpu_avg_samples 10
default_color grey
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Terminus:size=9
gap_x 10
gap_y 0
double_buffer yes
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window  yes
own_window_transparent yes
own_window_type normal
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 
minimum_size 150 1024
own_window_argb_visual yes
short_units yes
никогда не подводило

megabaks ★★★★
()
Ответ на: комментарий от megabaks

megabaks, твой конфиг-это именно то что мне было нужно!!!Пасиба огромное всем за ответы!!!

kbu
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.