红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

我的.conkyrc配置

发布时间:2012-05-30 20:27:34来源:红联作者:okzokz123
[i=s] 本帖最后由 okzokz123 于 2012-5-30 20:30 编辑 [/i]

#ubuntu10.4 1024*768

alignment top_right
background no
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
color0 F300FF #紫
color1 0DFF00 #绿
color2 FFFF00 #黄
color3 FFFFFF #白
color4 00F5FF #天蓝
color5 FF000C #红
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont terminus:size=9
gap_x 10
gap_y 50
minimum_size 200 100
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_transparent yes
own_window_type override
#own_window_type normal #这个会在窗口里打开conky
#真透明,设置own_window_type override时无效,只能窗口内透明
#own_window_argb_visual true
#own_window_transparent true
#own_window_argb_value 180 #透明度,好似不起作用
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$color5${font Terminus:style=bold:size=9}SYSTEM $hr
$color1${font}$sysname $kernel $alignr $machine
Host: $alignr $nodename
Uptime: $alignr $uptime
File System: $alignr $fs_type
#Temp: $alignr ${acpitemp}C #如不能显示CPU温度及风扇转速就用下面的代替,需要安装lm-sensors
${execi 3 /usr/bin/sensors | grep CPU | cut -c1-30}
HDD: sda ${hddtemp /dev/sda}℃ sdb ${hddtemp /dev/sdb}℃ #有几个硬盘就写几个
$color5${font Terminus:style=bold:size=9}PROCESSORS $hr
$color4${font}${cpugraph cpu0}$color1 #有几个内核就写几个从0开始计
CPU0: ${cpubar cpu0}
CPU1: ${cpubar cpu1}
CPU2: ${cpubar cpu2}
CPU3: ${cpubar cpu3}
$color2${font Terminus:style=bold:size=9}MEMORY $hr
${font}RAM ${alignc} $mem/$memmax $alignr $memperc%
${membar}
$color5${font Terminus:style=bold:size=9}DISKS $hr
$color4${font} / $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
$color0${fs_bar /}
$color4 HOME $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
$color0${fs_bar /home}
$color4 V $alignc ${fs_used /home/v} / ${fs_size /home/v} $alignr ${fs_used_perc /home/v}% #我在/home下挂了个v分区,如果你没有就不写这两行
$color0${fs_bar /home/v}
$color4 SWAP $alignc $swap / $swapmax $alignr $swapperc%
$color0$swapbar
$color5${font Terminus:style=bold:size=9}TOP PROCESSES $hr
$color4${font}${top name 1}$alignr${top cpu 1}%
${top name 2}$alignr${top cpu 2}%
${top name 3}$alignr${top cpu 3}%
${top name 4}$alignr${top cpu 4}%
${top name 5}$alignr${top cpu 5}%
$color3${font Terminus:style=bold:size=9}NETWORK $hr
${font}IP Address: $alignr ${addr eth0}
#SSID: $alignr ${wireless_essid wlan0}
Connection Quality: $alignr ${wireless_link_qual eth0}%
$color1${downspeedgraph eth0}
DLS: ${downspeed eth0}/s $alignr ${totaldown eth0}
$color2${upspeedgraph eth0}
ULS: ${upspeed eth0}/s $alignr ${totalup eth0}
文章评论

共有 1 条评论

  1. Debnmxwi 于 2012-05-30 21:13:11发表:

    沙发