Chinaunix首页 | 论坛 | 博客
  • 博客访问: 148753
  • 博文数量: 17
  • 博客积分: 359
  • 博客等级: 一等列兵
  • 技术积分: 382
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-08 19:51
文章分类

全部博文(17)

文章存档

2012年(17)

我的朋友

分类: LINUX

2012-04-14 21:46:07

# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check for an up-to-date-list.

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

# X font when Xft is disabled, you can pick one with program xfontsel
# font 5×7
# font 6×10
# font 7×13
# font 8×13
# font 9×15
# font *mintsmild.se*
# font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
font WenQuanYi Bitmap Song:size=11
Xftfont WenQuanYi Bitmap Song:size=11

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# 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

# If own_window is yes, you may use type normal, desktop or override
own_window_type override

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
# own_window_colour hotpink

# If own_window is yes, these window manager hints may be used
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 400 5
maximum_width 308

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 40

# 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 objects.
use_spacer no

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)

# 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
${color #ff0017}${font DotMatrix:size=16}${alignc}${time %H:%M:%S}
${font size=13}${color #00fff9}${alignc}${time %b%d日 星期%a}
${font}${color #00fff9}本机已运行:$color$uptime${color #00fff9}-Load:$color $loadavg
${color #88aadd}$stippled_hr
${color #ddaa00}OS:$alignr${color #00fff9}${execi 99999 uname -o}
${color #ddaa00}Kernel:$alignr${color #00fff9}$kernel
${color #ddaa00}User: ${alignr}${color #00fff9}${execi 9999 whoami} ${color #00fff9}on $nodename${color #00fff9}
${color #88aadd}$stippled_hr
${color #00fff9}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- }
${color #00fff9}CPU Temp:${offset 50}${color #ff001e}${alignr}${acpitemp}°C
${color #00fff9}CPU 使用率:${offset 50}
${color #ff0017} ${cpu}% ${cpubar}
${color db7093}${cpugraph 10 00ff00 2f4f4f}
${color #00fff9}硬盘 R/W:${color}${alignr}${diskio}/s
$color${diskiograph 10 00ff00 2f4f4f}
${voffset -25}${color #ffd700} Reading: $color$diskio_read$alignr${color #ffd700}Writing: $color$diskio_write ${voffset 10}
${color #00fff9}内存 使用率:$color $mem/$memmax
${color #00c3ff}$memperc% ${color #00c3ff}$membar
${color #00fff9}交换空间使用率:$color $swap/$swapmax - $swapperc% ${color #db7093}${swapbar}
${color #88aadd}$stippled_hr
${color #00fff9}网络:$alignr${color snow}${addr eth0}
${color #00fff9}Download: ${color white}${downspeed eth0}k/s ${alignr}${color #00fff9}Upload: ${color white}${upspeed eth0}k/s ${voffset 10}
${downspeedgraph eth0 25,150 00ff00 2f4f4f}${alignr}${upspeedgraph eth0 25,150 00ff00 2f4f4f}
${color #00fff9}Total: ${color #000fff}${totaldown eth0}${color #00fff9} $alignr Total: ${color #000fff}${totalup eth0}
${color #88aadd}$stippled_hr
${color #00ff18}文件系统:
/ $color ${fs_used /}/${fs_size /} ${color #db7093}${fs_bar /}
${color #00ff18}/home $color${fs_used /home}/${fs_size /home} ${color #db7093}${fs_bar /home}
${color #88aadd}$stippled_hr
${color #00fff9}进程:$color $processes ${color #00fff9}当前活动:$color $running_processes
${color}CPU usage$alignr PID CPU% MEM%
${color #ddaa00} ${top name 1} $alignr${top pid 1} ${top cpu 1} ${top mem 1}
${color #ddaa00} ${top name 2} $alignr${top pid 2} ${top cpu 2} ${top mem 2}
${color #ddaa00} ${top name 3} $alignr${top pid 3} ${top cpu 3} ${top mem 3}
${color #88aadd}$stippled_hr
${voffset -6}${font Weather:size=30}${color #ffa500}I ${voffset -8}${font WenQuanYi Bitmap Song:size=12}${color #00fff9}漳州天气${font WenQuanYi Bitmap Song:size=8}
${voffset 5}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CN}
${color #88aadd}$stippled_hr
${font Weather:size=44}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF}${font WenQuanYi Bitmap Song:size=8}${color #ffa500}
${voffset -50}${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BR}
${offset 50}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS}km/h ${font Arrows:size=10}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF}${font WenQuanYi Bitmap Song:size=8}
${voffset -70}${offset 140}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=DW --startday=1 --endday=3 --spaces=8 --shortweekday}
${offset 135}${voffset 5}${color white}${font Weather:size=30}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WF --startday=1 --endday=3 --spaces=1}${font WenQuanYi Bitmap Song:size=8}${color}
${offset 125}${color white}${font Weather:size=16}i${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=PC --startday=1 --endday=3 --spaces=6}
${offset 130}${color white}${font Weather:size=16}v${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=WS --startday=1 --endday=3 --spaces=6}
${font Arrows:size=10}${offset 180}${voffset -15}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=1 --endday=1 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${voffset -2}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=2 --endday=2 --spaces=0}${font WenQuanYi Bitmap Song:size=8}${offset 45}${font Arrows:size=10}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=BF --startday=3 --endday=3 --spaces=0}${font WenQuanYi Bitmap Song:size=8}
${offset 130}${color white}${font Weather:size=16}z${font WenQuanYi Bitmap Song:size=8}: ${voffset -3}${color gold}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HT --startday=1 --endday=3 --spaces=6}
${voffset -40}${color white}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=CC}
Humedad: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=HM}
${voffset 5}${color white}Sol: ${color}${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SR}-${execi 7200 python ~/scripts/conkyForecast.py --location=CHXX0162 --datatype=SS}
${color #88aadd}$stippled_hr


 
写于2009年4月!重新找回东西!http://hi.baidu.com/andy_cxw/blog
阅读(1650) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~