码迷,mamicode.com
首页 > 其他好文 > 详细

conky 增加cpu温度监控

时间:2016-02-09 21:06:14      阅读:704      评论:0      收藏:0      [点我收藏+]

标签:

先安装 sensors

然后修改conky配置

use_xft yes
xftfont WenQuanYi Zen Hei:pixelsize=12
xftalpha 0.1
update_interval 1
total_run_times 0

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0

double_buffer yes
#minimum_size 250 5
#maximum_width 500
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes


minimum_size 0 0
TEXT
${voffset 10}${color EAEAEA}${font WenQuanYi Zen Hei:pixelsize=120}${time %H:%M}${font}${voffset -84}${offset 10}${color FFA300}${font WenQuanYi Zen Hei:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font WenQuanYi Zen Hei:pixelsize=22}${time  %B} ${time %Y}${font}${voffset 24}${font WenQuanYi Zen Hei:pixelsize=58}${offset -148}${time %A}${font}
${voffset 1}${offset 12}
${font WenQuanYi Zen Hei:pixelsize=12}${color FFA300}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color FFA300}RAM ${offset 9}$color$mem / $memmax${offset 30}${color FFA300}CPU ${offset 9}$color${cpu cpu0}%
${color green}CPU1 Temp: ${color red}${exec sensors | grep ‘Core 0‘ | cut -c18-22}°C
${color green}CPU2 Temp: ${color red}${exec sensors | grep ‘Core 1‘ | cut -c18-22}°C





conky 增加cpu温度监控

标签:

原文地址:http://blog.csdn.net/zhangjianying/article/details/50647060

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!