求教两个Conky问题,求大哥大姐们指点

系统字体配置、中文显示和输入法问题
回复
frontlon
帖子: 9
注册时间: 2008-09-25 19:28
送出感谢: 0
接收感谢: 0

求教两个Conky问题,求大哥大姐们指点

#1

帖子 frontlon » 2011-01-22 3:13

小弟有几个Conky问题,实在弄不明白了~~~~求大哥大姐们指教!!

1.我在终端中启动Conky
提示信息:
Conky: forked to background, pid is 2995
frontlon@frontLon:~$
Conky: desktop window (1e000ad) is subwindow of root window (a6)
Conky: window type - override
Conky: drawing to created window (0x8c00001)
Conky: drawing to double buffer

到这里就不动了,必须按Ctrl+C终止,可是软件本身已经启动。
请问这是哪的问题??





2.网络状态就不变,正常情况下,上下行流量应该都才对,可是我的根本就不动。请问是怎么回事?
Screenshot.png
Screenshot.png (28.78 KiB) 查看 392 次
代码如下:
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Sans:size=10
own_window_transparent no
update_interval 1
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
double_buffer yes
minimum_size 260 5
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
stippled_borders no
border_width 1
default_color white
default_shade_color white
default_outline_color white
gap_x 5
gap_y 10
alignment top_right
use_spacer none
no_buffers yes
uppercase no

TEXT
${font Ubuntu:bold:size=14}${alignc}System Info${font}
${color white}SYSTEM ${hr 1}${color}
${color green}Hostname: $alignr$nodename ${color}
${color green}Kernel: $alignr$kernel ${color}
${color green}Uptime: $alignr$uptime ${color}
${color green}Temp: ${alignr}${acpitemp}°C ${color}

${color green}Processes: ${alignr}$processes ($running_processes running) ${color}
${color green}Load: ${alignr}$loadavg ${color}

CPU1 ${alignr}${cpu cpu1}%
${color yellow}${cpubar 4 cpu1} ${color}
CPU2 ${alignr}${cpu cpu2}%
${color yellow}${cpubar 4 cpu2}${color}

Ram ${alignr}$mem / $memmax ($memperc%)
${color yellow}${membar 4}${color}
swap ${alignr}$swap / $swapmax ($swapperc%)
${color yellow}${swapbar 4}${color}

Highest CPU $alignr CPU% MEM%
${color green}${top name 1} $alignr${top cpu 1} ${top mem 1} ${color}
${color green}${top name 2} $alignr${top cpu 2} ${top mem 2} ${color}
${color green}${top name 3} $alignr${top cpu 3} ${top mem 3} ${color}

Highest MEM $alignr CPU% MEM%
${color green} ${top_mem name 1} $alignr${top_mem cpu 1} ${top_mem mem 1} ${color}
${color green} ${top_mem name 2} $alignr${top_mem cpu 2} ${top_mem mem 2} ${color}
${color green} ${top_mem name 3} $alignr${top_mem cpu 3} ${top_mem mem 3} ${color}

${color white}FILE SYSTEM ${hr 1}${color}
Root: ${alignr}${fs_free /} / ${fs_size /}
${color yellow}${fs_bar 4 /}${color}
Home: ${alignr}${fs_free /home} / ${fs_size /home}
${color yellow}${fs_bar 4 /home}${color}

${color white}NETWORK${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${color yellow}${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}${color}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
${color green}Local IP:${alignr}${addr eth0}${color}
frontlon
帖子: 9
注册时间: 2008-09-25 19:28
送出感谢: 0
接收感谢: 0

Re: 求教两个Conky问题,求大哥大姐们指点

#2

帖子 frontlon » 2011-01-22 3:15

对了,对第二个问题补充一下。
我是无线上网,自动获取IP地址,不知道对网络的显示有影响??
头像
laikeyiche
帖子: 115
注册时间: 2010-08-26 21:29
送出感谢: 0
接收感谢: 0

Re: 求教两个Conky问题,求大哥大姐们指点

#3

帖子 laikeyiche » 2011-01-22 14:01

第一个问题:让conky开机启动
#!/bin/sh

sleep 10 && conky
将上面命令保存为conky.sh文件,添加conky.sh为开机启动(菜单:系统/首选项/启动应用程序)


第二个问题:
${color white}NETWORK${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${color yellow}${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}${color}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
${color green}Local IP:${alignr}${addr eth0}${color}
全部eth0改为eth1,具体改成什么,终端里打 ifconfig命令,看看是哪个接口
头像
kumox
帖子: 2114
注册时间: 2008-04-14 23:29
来自: 曾也在NB大学呆过
送出感谢: 3 次
接收感谢: 10 次
联系:

Re: 求教两个Conky问题,求大哥大姐们指点

#4

帖子 kumox » 2011-01-22 14:21

一般上wlan0
frontlon
帖子: 9
注册时间: 2008-09-25 19:28
送出感谢: 0
接收感谢: 0

Re: 求教两个Conky问题,求大哥大姐们指点

#5

帖子 frontlon » 2011-01-22 15:58

laikeyiche 写了:第一个问题:让conky开机启动
#!/bin/sh

sleep 10 && conky
将上面命令保存为conky.sh文件,添加conky.sh为开机启动(菜单:系统/首选项/启动应用程序)


第二个问题:
${color white}NETWORK${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${color yellow}${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}${color}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
${color green}Local IP:${alignr}${addr eth0}${color}
全部eth0改为eth1,具体改成什么,终端里打 ifconfig命令,看看是哪个接口




哥!哥!你太牛逼了!!成了!!!!!!!!
牛逼牛逼!!!!!!!!!

三楼的哥也牛逼!就是wlan0

哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈

成啦!!

太谢谢两位大哥啦!!!!!!!
回复

回到 “字体美化和中文支持”