你好,游客 登录 注册 搜索
背景:
阅读新闻

Fedora 12的conky截图和配置

[日期:2010-04-30] 来源:Linux社区  作者:陆行简 [字体: ]
Fedora 12的conky截图和配置

听说高手可以把农历、天气等东西给填进来,我水平有限,先整这么多,有机会,有时间了,我再接着修改。
如果要开机启动的华,直接在  系统 -首选项 - 启动应用程序 里面添加 ,
三个条形框里都填上  conky  ,关闭就可以了。
以下是Fedora 12的 .conkyrc 的内容。从网络上的许多地方有复制粘贴,太多了,先感谢一下。
============BEGIN===========
use_spacer right
use_xft yes
font Microsoft YaHei:size=8
xftfont Microsoft YaHei:size=8
override_utf8_locale yes
update_interval 1.0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 206 5
maximum_width 400
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color ffffff
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 5
gap_y 30
cpu_avg_samples 2
uppercase no # set to yes if you want all text to be in uppercase

TEXT
${font Microsoft YaHei:style=Bold:pixelsize=22}${alignc}${time %H:%M:%S}
${font Microsoft YaHei:pixelsize=16}${alignc}${time %b%d日星期%a}${alignc}
${font Microsoft YaHei:pixelsize=12}
${color #ffd700}${hr 1}$color
${color #98c2c7}主机名:${color #db7093} $alignr$nodename
${color #98c2c7}内核: ${color #db7093}$alignr$kernel
${color #98c2c7}已运行时间: ${color #db7093}$alignr$uptime
#${color #98c2c7}电池: $color$battery $alignr${color #db7093}${battery_percent}%
${color #98c2c7}电源状态: ${color #db7093} $acpiacadapter(AC)     $battery(电池)
#${color #78af78}${battery_bar}
${color lightgrey}CPU0 State: $color${freq cpu0}MHz(Freq) $acpitemp°C(T)
${color #dcff82}${cpu cpu0} ${cpubar}
${color lightgrey}CPU1 State: $color${freq cpu1}MHz(Freq) $acpitemp°C(T)
${color #dcff82}${cpu cpu1} ${cpubar}
${color #98c2c7}进程总数:$alignr${color }        $processes ($running_processes  个运行中)
${color #98c2c7}CPU 最高占用:$alignr PID   CPU%
${color #ddaa00}   ${top name 1}$alignr ${top pid 1}  ${top cpu 1}
${color lightgrey}   ${top name 2}$alignr ${top pid 2}  ${top cpu 2}
${color lightgrey}   ${top name 3} $alignr${top pid 3}  ${top cpu 3}
${color #98c2c7}总内存:${color #4169e1}$alignr ${color}$mem ${color #98c2c7}已用/总${color}$memmax${color #4169e1}${color #db7093}$memperc%
${color #78af78}${membar}
${color #98c2c7}SWAP:${color} $alignr ${color}$swap${color #98c2c7}已用/总${color}$swapmax${color #4169e1}${color #db7093}$swapperc%
${color #78af78}${fs_bar 4 /dev/sda1}
${color #98c2c7}内存最高占用:$alignr PID   MEM%
${color #ddaa00}   ${top_mem name 1}$alignr${top_mem pid 1}  ${top_mem mem 1}
${color lightgrey}   ${top_mem name 2}$alignr${top_mem pid 2}  ${top_mem mem 2}
${color lightgrey}   ${top_mem name 3}$alignr${top_mem pid 3}  ${top_mem mem 3}
${color #98c2c7}/ 分区: ${color}${alignr}${fs_used /}/ ${fs_size /}
${color #78af78}${fs_bar 4 /}
${color #98c2c7}/boot 分区: ${color}${alignr}${fs_used /boot}/ ${fs_size /boot}
${color #78af78}${fs_bar 4 /boot}
${color #98c2c7}/home 分区: ${color}${alignr}${fs_used /home}/ ${fs_size /home}
${color #78af78}${fs_bar 4 /home}
${color #98c2c7}网络 $alignr ${color #98c2c7}IP地址: ${color DDAA00}${addr wlan0}
${voffset 1}${color #98c2c7}   上传: ${color #db7093}${upspeed wlan0}k/s ${alignr}${color #98c2c7}总共: ${color #db7093}${totalup wlan0}
${voffset 1}${color #98c2c7}   下载: ${color #ddaa00}${downspeed wlan0}k/s ${alignr}${color #98c2c7}总共: ${color #ddaa00}${totaldown wlan0}
${color #dcff82}入站连接 ${alignr} 局域网/端口$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${color #dcff82}出站连接 ${alignr} 远程服务器/端口$color
${color #ddaa00}    ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${color lightgrey}    ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${color lightgrey}    ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
==================END========================

linux
相关资讯       Fedora 12 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款