conky配置

    很早就想装一个系统监视的软件了,在每月的晒桌面活动中,看到别人桌面上装这么一个东东真心觉得很酷。于是打开archiwiki,找到了conky,配置文件是~/.conkyrc。这次没有太依赖wiki,自己先看配置文件,然后修改一下,再观察变化,整体来说还是蛮顺利的,但是在开机自启时出现了问题。
    按照wiki的配置后,登陆到桌面,conky一闪消失,ps能看到conky。google一下,在论坛里找到了解决方法,将Exec=conky -d改为Exec=conky -p 10(gives conky a 10 seconds break so that it starts drawing after the desktop is up)。
    贴一下配置文件:
 ~/.conkyrc
alignment top_right

background yes

border_width 1

cpu_avg_samples 2

default_color sienna

default_outline_color sienna

default_shade_color sienna

draw_borders no

draw_graph_borders yes

draw_outline no

draw_shades no

use_xft yes

xftfont wqy-microhei DejaVu Sans Mono:size=14

gap_x 5

gap_y 60

minimum_size 5 5

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_type override

own_window_transparent yes

stippled_borders 0

update_interval 1.0

uppercase no

use_spacer none

show_graph_scale no

show_graph_range no

double_buffer yes


TEXT

${scroll 16 $nodename - $sysname $kernel on $machine | }

$hr

${color sienna}Uptime:$color $uptime

${color sienna}Frequency (in MHz):$color $freq

${color sienna}Frequency (in GHz):$color $freq_g

${color sienna}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}

${color sienna}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}

${color sienna}CPU Usage:$color $cpu% ${cpubar 4}

${color sienna}Processes:$color $processes  ${color sienna}Running:$color $running_processes

$hr

${color sienna}File systems:

 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}

${color sienna}Networking:

Up:$color ${upspeed eth0} ${color sienna} - Down:$color ${downspeed eth0}

$hr

${color sienna}Name              PID   CPU%   MEM%

${color sienna} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}

${color sienna} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}

${color sienna} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}

${color sienna} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

 ~/.config/autostart/conky.desktop
 [Desktop Entry]

Encoding=UTF-8

Version=0.9.4

Type=Application

Name=conky

Comment=

Exec=conky -p 5

StartupNotify=false

Terminal=false

Hidden=false


我不开心,上午的课逃掉了,躲在寝室里面睡觉,以后还是一个人吧,小组什么的不会再参加了。

2013-12-16

你可能感兴趣的:(conky配置)