请问: zcat /usr/share/doc/conky/examples/....是什么意思?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
12098751
帖子: 9
注册时间: 2008-10-11 23:49

请问: zcat /usr/share/doc/conky/examples/....是什么意思?

#1

帖子 12098751 » 2008-10-12 0:08

zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc

我想装CONKY。上网查了好多。个个都是说: zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc
我 不知道这是什么意思。在终端运行没反应。谁能说说?谢谢!应该怎么装?我是菜鸟。
还有:谁能发份Ubuntu的命令上来。基本的最好!谢谢!
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

Re: 请问: zcat /usr/share/doc/conky/examples/....是什么意思?

#2

帖子 想入非非 » 2008-10-12 0:44

代码: 全选

zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc 
实际上就是应用一个conky的实例 :em11 其他的我不是很清楚
Ubuntu User
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: 请问: zcat /usr/share/doc/conky/examples/....是什么意思?

#3

帖子 yus253 » 2009-11-08 0:16

对呀,什么意思呀?!!!
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
联系:

Re: 请问: zcat /usr/share/doc/conky/examples/....是什么意思?

#4

帖子 yus253 » 2009-11-08 0:17

/usr/share/doc/conky下没有那个文件!!!
The root of bioengineering is the desire to control the organic long enough to improve it. Domesticated plants and animals are examples of technos -- logic applied to life.
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
联系:

Re: 请问: zcat /usr/share/doc/conky/examples/....是什么意思?

#5

帖子 pityonline » 2009-11-08 0:23

就是在用户主目录下生成一个conky的配置文件,一般那个很丑,想要漂亮的直接在论坛找就可以了。
附上我的简洁的吧:

代码: 全选

alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 0
gap_y 30
minimum_size 5 5
maximum_width 320
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type override
stippled_borders 0
update_interval 1
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

double_buffer yes
override_utf8_locale yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#borders
draw_borders no
border_margin 0

#shades
draw_shades no
draw_outline no

#behaviour
#update_interval 5

#colour
default_color white
own_window_colour 272521

#font
use_xft yes
xftfont 微软雅黑:pixelsize=13

TEXT
${alignc} System: ${execi 99999 lsb_release -d -s -c | tr -s "\n" " "} $kernel
$hr
运行时间: ${alignr} $uptime
电池: ${battery_percent BAT0}% ${battery_bar BAT0}
CPU: ${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
频率: ${alignr} ${freq dyn} MHz $cpu%
温度: ${alignr} $acpitemp ℃
RAM用量: $mem - $memperc% ${membar 4}
SWAP用量: $swap/$swapmax - $swapperc% ${swapbar 4}
$hr
显示: 
分辨率: ${alignr} 1366*768
温度: ${alignr}${execi 20 nvidia-settings -q gpucoretemp | grep "Attribute" | cut -d" " -f6 | cut -c -2} °C
$hr
硬盘:
/ ${fs_free /}/${fs_size /} ${fs_bar 6 /}
/home ${fs_free /home}/${fs_size /home} ${fs_bar 6 /home}
速度: ${alignr}${diskio}/s
温度: ${alignr}${hddtemp /dev/sda}°C
$hr
网络:
ESSID: ${wireless_essid wlan0} ${alignr} IP地址: ${addrs wlan0}
公网IP: ${alignr} ${execi 600 w3m -no-cookie -dump http://members.3322.org/dyndns/getip|grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'}
${voffset 3} ${downspeedgraph wlan0 25,115 e02a2a ff0000}${alignr}${offset -2}${upspeedgraph wlan0 25,115 2121db 0000ff}
${voffset -26} 下载速度: ${downspeed wlan0}KB/s ${alignr} 上传速度: ${upspeed wlan0}KB/s
${voffset 5} 总计下载: ${totaldown wlan0} ${alignr} 总计上传: ${totalup wlan0}
$hr
进程: $processes ${alignr} 活动: $running_processes
进程                                         ${alignr} PID CPU% MEM%
${top name 1} ${alignr} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${alignr} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${alignr} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${alignr} ${top pid 4} ${top cpu 4} ${top mem 4}
${top name 5} ${alignr} ${top pid 5} ${top cpu 5} ${top mem 5}
$hr
正在播放:
$mpd_status ${alignr}  $mpd_elapsed  $mpd_length
$mpd_bar
$mpd_smart
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
回复