[问题]高手看一下这个文件应该放在哪?[又有问题了]

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

[问题]高手看一下这个文件应该放在哪?[又有问题了]

#1

帖子 Roots » 2007-01-30 20:56

Xubuntu下:

# set to yes if you want Conky to be forked in the background
background no

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Dungeon:pixelsize=10
xftfont Monospace:pixelsize=10
own_window_transparent no
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8

on_bottom yes

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
#minimum_size 280 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 10

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color grey
default_shade_color grey
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 3
gap_y 5
#alignment top_right
alignment top_left
#alignment bottom_right13
#alignment bottom_left

# Gap between borders of screen and text

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no


TEXT
[$nodename - $sysname $kernel on $machine]
|
+--status
| |
| +--cpu1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000 000000}
| +--cpu2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000 000000}
| +--ram - $mem/$memmax - $memperc%
| +--date - ${time %a,} ${time %B,%e %G}
| +--time -${time %l:%M}
| +--uptime - $uptime
| +--cpu ${i2c 9191-0290 temp 2}C - mb ${i2c 9191-0290 temp 1}C
| +--processes
| |
| +--amount - $processes
| +--running - $running_processes
|
+--net
| |
| +--down - ${downspeed eth3} k/s ${downspeedgraph eth3 8,60 000000 000000}
| +--up - ${upspeed eth3} k/s ${upspeedgraph eth3 8,60 000000 000000}
|
+--resources
| |
| +--/ ${fs_free /}/${fs_size /}
| +--/music - ${fs_free /media/sdahd/music}/${fs_size /media/sdahd}
| +--swap - $swap/$swapmax
|
+--mpd
|
+--Artist: $mpd_artist -
+--Title: $mpd_title
+--$mpd_status
+--${mpd_bar 8,150}
附件
pie1aj.png
上次由 Roots 在 2007-01-30 22:33,总共编辑 2 次。
头像
5luoya
帖子: 146
注册时间: 2006-10-31 14:41

#2

帖子 5luoya » 2007-01-30 21:04

自己的用户目录~下
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#3

帖子 Roots » 2007-01-30 21:07

?????????随便建个文件就可以了吗?
头像
5luoya
帖子: 146
注册时间: 2006-10-31 14:41

#4

帖子 5luoya » 2007-01-30 21:12

/home/用户名
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#5

帖子 Roots » 2007-01-30 21:21

我知道你的意思,我是问难道在主目录下随变建一个文件,把他粘进去就可以了吗,:-)
头像
5luoya
帖子: 146
注册时间: 2006-10-31 14:41

#6

帖子 5luoya » 2007-01-30 21:27

建一个 .conkyrc 空文本文件,然后再粘进去
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#7

帖子 BigSnake.NET » 2007-01-30 21:28

看软件的README
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#8

帖子 Roots » 2007-01-30 21:31

ok,谢谢,这不是软件包,人家写的程序,呵呵,试试看!
头像
5luoya
帖子: 146
注册时间: 2006-10-31 14:41

#9

帖子 5luoya » 2007-01-30 21:34

BigSnake.NET 写了:看软件的README
哈,还是斑竹比较实在:-)
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#10

帖子 yohu » 2007-01-30 21:38

conky的配置文件,安装conky,再保存为.conkyrc。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#11

帖子 Roots » 2007-01-30 21:44

最主要是没有readme啊,刚才按6楼的试了一下,发现没有,不过还是谢谢,继续求助!
头像
5luoya
帖子: 146
注册时间: 2006-10-31 14:41

#12

帖子 5luoya » 2007-01-30 21:51

Roots 写了:最主要是没有readme啊,刚才按6楼的试了一下,发现没有,不过还是谢谢,继续求助!
别忘了添加启动项才能成功哦
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#13

帖子 Roots » 2007-01-30 22:07

yohu 写了:conky的配置文件,安装conky,再保存为.conkyrc。
已经按照此法安装,但是还不行,有没有什么命令不用重启直接让他启动的
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#14

帖子 yohu » 2007-01-30 22:09

晕,conky -d,直接运行conky也可以啊,你装完不运行它就算重启也是不运行啊。
拥有超级牛力的搜索引擎:
http://www.google.com/linux
http://www.google.com/
头像
Roots
帖子: 662
注册时间: 2005-08-17 19:20

#15

帖子 Roots » 2007-01-30 22:17

ok,谢谢各位,搞定了,
因为conky 默认并不会创建配置文件.所以建立文件 ~/.conkyrc
另外/usr/share/doc/conky/examples/conkyrc.sample.gz 有其默认文件
运行用命令:conky
如果想要自启动,应加入启动项中,命令仍是:conky
上次由 Roots 在 2007-01-30 22:58,总共编辑 1 次。
回复