新手求助,关于conky。

Lucid Lynx (长期支持)
回复
fevernova99
帖子: 78
注册时间: 2009-08-30 15:29
送出感谢: 0
接收感谢: 0

新手求助,关于conky。

#1

帖子 fevernova99 » 2010-10-04 17:06

用apt-get命令 安装好conky后 不知到怎么启动它,还有它的配置文件在哪里,怎么修改?是在usr/share/doc/conky-all里修改吗? :em20
头像
leeaman
帖子: 30702
注册时间: 2007-02-02 18:14
系统: debian sid
送出感谢: 1 次
接收感谢: 23 次

Re: 新手求助,关于conky。

#2

帖子 leeaman » 2010-10-04 17:08

google....配置文件是~/.conkyrc,自己建立,运行你就弄开机运行吧
醉了星星,醉月亮●●●●●The Long Way To Go(*^_^*)
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

Re: 新手求助,关于conky。

#3

帖子 pocoyo » 2010-10-04 17:09

[bash]conky -c ~/.conkyrc[/bash]
fevernova99
帖子: 78
注册时间: 2009-08-30 15:29
送出感谢: 0
接收感谢: 0

Re: 新手求助,关于conky。

#4

帖子 fevernova99 » 2010-10-04 17:12

等等试下 ^_^
fevernova99
帖子: 78
注册时间: 2009-08-30 15:29
送出感谢: 0
接收感谢: 0

Re: 新手求助,关于conky。

#5

帖子 fevernova99 » 2010-10-04 23:06

代码: 全选

use_spacer right
use_xft yes
font Microsoft YaHei:size=8
xftfont Microsoft YaHei:size=8
#xftfont WenQuanYi Zen Hei:pixelsize=12
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 0aff22
default_shade_color 000000
default_outline_color 000000
alignment top_right
gap_x 12
gap_y 40
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 #98c2c7}主机名:${color #db7093} $alignr$nodename
${color #98c2c7}内核: ${color #db7093}$alignr$kernel
${color #98c2c7}已开机: ${color #db7093}$alignr$uptime${color #98c2c7}
${color #98c2c7}电源状态: ${color #db7093} $acpiacadapter(AC)     $battery(电池)
${color #98c2c7}CPU使用率: ${color #db7093} $alignr$cpu% $color${freq cpu0}MHz
${color #78af78}$cpubar
${color #98c2c7}物理内存:${color #4169e1}$alignr ${color}$mem ${color #98c2c7}/${color}$memmax${color #4169e1}${color #db7093}$memperc%
${color #78af78}${membar}
${color #98c2c7}硬盘状态: $color $diskio(IO) ${hddtemp /dev/sda}(温度)
根分区: ${alignr}${fs_free /} / ${fs_size /}
${fs_bar 4 /}
Home分区: ${alignr}${fs_free /home} / ${fs_size /home}
${fs_bar 4 /home}
Media分区: ${alignr}${fs_used /media/Videos} / ${fs_size /media/Videos}
${fs_bar 4 /media}
Swap交换分区:$color $swap/$swapmax - $swapperc%
${color #dcff82}${swapbar}
${color #98c2c7}网络状态:
${color #98c2c7}接收速度:${color} ${downspeed eth0} k/s   ${alignr}${color}共计: ${totaldown eth1}
${color #98c2c7}发送速度:${color} ${upspeed eth0} k/s   ${alignr}${color}共计: ${totalup eth1}
${color #dcff82}端口数据(s)${alignr} 连接  
$color 入站: ${tcp_portmon 1 32767 count} 出站: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #dcff82}入站连接 ${alignr} 局域网/端口$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${color #dcff82}出站连接 ${alignr} 远程服务器/端口$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
$color$stippled_hr
${color #98c2c7} 名称                 PID        CPU%      内存%
${color} ${top_mem name 1}    ${top_mem pid 1}    ${top_mem cpu 1}    ${top_mem mem 1}
${color} ${top_mem name 2}    ${top_mem pid 2}    ${top_mem cpu 2}    ${top_mem mem 2}
${color} ${top_mem name 3}    ${top_mem pid 3}    ${top_mem cpu 3}    ${top_mem mem 3}
${color #dcff82} 总进程:$color $processes ${color lightgrey}       ${color #dcff82} 活动进程:$color $running_processes
$stippled_hr
${color silver}${alignc}$nodename - $sysname $kernel on $machine
conky中的中文字体无法显示,是在外观--字体--应用程序字体修改吗?还是安装其他的字体,如果安装字体怎么安装? :em06
回复

回到 “Ubuntu 10.04 LTS”