它看起来很好,除了运行速度非常慢之外,我没有收到任何超出第 9 行左右的文本。窗户大小合适。我有这样的感觉,Conky 是一个错误的工具。作为记录,我希望在弄清楚之后它是透明的。
text_buffer_size 2048
background yes
double_buffer yes
alignment top_right
draw_borders no
draw_outline no
draw_shades no
gap_x 0
gap_y 0
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_type normal
own_window_transparent no
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 128
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size 1465 720
maximum_width 1465
maximum_height 720
uppercase no
use_spacer none
use_xft yes
xftalpha 0.1
xftfont Droid Sans:size=9
color1 light blue
color2 aquamarine
TEXT
${color1}
/development/jboss/log/all-server.log:
${execp /usr/bin/tail -n 131 -f /development/jboss/log/all-server.log | sed 's/^/\$\{color2\}/' | sed -e 's/exception\|error\|denied\|failed\|failing\|failure\|fail/\$\{color red\}&$\{color2\}/I' }