到底哪里错了?

为当前最终发行版之前的所有版本提供支持
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

到底哪里错了?

#1

帖子 bg4ban » 2010-10-26 22:45

我重装的系统,安装好补丁。 就直接照http://forum.ubuntu.org.cn/viewtopic.php?f=24&t=185454
这里做了,在第一步在/usr/share/doc/conky下面没有examples这个文件夹更不要说有个个文件,下面只有changelog.Debian.gz changelog.gz copyright NEWS.Debian.gz这几个文件,搞了我很多天了还是错误!!超级郁闷@
windows7@ubuntu:~$ sudo apt-get install conky
[sudo] password for windows7:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会安装下列额外的软件包:
conky-all libgif4 libid3tag0 libimlib2
建议安装的软件包:
apcupsd moc mpd
下列【新】软件包将被安装:
conky conky-all libgif4 libid3tag0 libimlib2
升级了 0 个软件包,新安装了 5 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 706kB 的软件包。
解压缩后会消耗掉 2,195kB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ maverick/main libgif4 i386 4.1.6-9 [40.0kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ maverick/main libid3tag0 i386 0.15.1b-10build2 [35.5kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu/ maverick/main libimlib2 i386 1.4.2-8 [207kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu/ maverick/universe conky-all i386 1.8.0-1ubuntu1 [390kB]
获取:5 http://cn.archive.ubuntu.com/ubuntu/ maverick/universe conky all 1.8.0-1ubuntu1 [32.5kB]
下载 706kB,耗时 3秒 (181kB/s)
选中了曾被取消选择的软件包 libgif4。
(正在读取数据库 ... 系统当前共安装有 118783 个文件和目录。)
正在解压缩 libgif4 (从 .../libgif4_4.1.6-9_i386.deb) ...
选中了曾被取消选择的软件包 libid3tag0。
正在解压缩 libid3tag0 (从 .../libid3tag0_0.15.1b-10build2_i386.deb) ...
选中了曾被取消选择的软件包 libimlib2。
正在解压缩 libimlib2 (从 .../libimlib2_1.4.2-8_i386.deb) ...
选中了曾被取消选择的软件包 conky-all。
正在解压缩 conky-all (从 .../conky-all_1.8.0-1ubuntu1_i386.deb) ...
选中了曾被取消选择的软件包 conky。
正在解压缩 conky (从 .../conky_1.8.0-1ubuntu1_all.deb) ...
正在处理用于 man-db 的触发器...
正在设置 libgif4 (4.1.6-9) ...
正在设置 libid3tag0 (0.15.1b-10build2) ...
正在设置 libimlib2 (1.4.2-8) ...
正在设置 conky-all (1.8.0-1ubuntu1) ...
正在设置 conky (1.8.0-1ubuntu1) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
windows7@ubuntu:~$ zcat /usr/share/doc/conky/examples/conky.conf.gz > ~/.conkyrc
gzip: /usr/share/doc/conky/examples/conky.conf.gz: No such file or directory
windows7@ubuntu:~$ cd /home/windows7/conkyrc
windows7@ubuntu:~/conkyrc$ chmod +x conkyForecast.py check_gmail.sh
windows7@ubuntu:~/conkyrc$ cd /home/windows7/桌面/fonts_weather
windows7@ubuntu:~/桌面/fonts_weather$ sudo cp Weather.ttf Arrows.ttf /usr/share/fonts/truetype
windows7@ubuntu:~/桌面/fonts_weather$ sudo chmod 755 /usr/share/fonts/truetype/*.ttf
windows7@ubuntu:~/桌面/fonts_weather$ sudo fc-cache -f -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 9 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 3 fonts, 15 dirs
/usr/share/fonts/truetype/arphic: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/takao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, new cache contents: 54 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, new cache contents: 17 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-kacst-one: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-liberation: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-punjabi-fonts: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu-font-family: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/wqy: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/type1/mathml: caching, new cache contents: 1 fonts, 0 dirs
/usr/X11R6/lib/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/windows7/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/home/windows7/.fontconfig: cleaning cache directory
fc-cache: succeeded
windows7@ubuntu:~/桌面/fonts_weather$ cd /
windows7@ubuntu:/$ conky
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_context_free();

With the parameter:

context

being NULL. Please fix your program.
windows7@ubuntu:/$
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中
送出感谢: 9 次
接收感谢: 61 次

Re: 到底哪里错了?

#2

帖子 luojie-dune » 2010-10-26 22:54

...长,看不出来你的配置文件的来源。
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
pocoyo
论坛版主
帖子: 25878
注册时间: 2008-03-25 15:49
来自: 谁知道?
送出感谢: 5 次
接收感谢: 9 次
联系:

Re: 到底哪里错了?

#3

帖子 pocoyo » 2010-10-26 22:55

Conky: missing text block in configuration; exiting
~/.conkyrc 没有生成。 粘一个过去。
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#4

帖子 bg4ban » 2010-10-26 23:01

Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_context_free();

With the parameter:

context
说什么缺少配置文件??? Imlib2

我在新立德搜索看到有 Imlib2字样的都安装上去看看?
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#5

帖子 bg4ban » 2010-10-26 23:03

还是错误郁闷
windows7@ubuntu:/$ conky
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_context_free();

With the parameter:

context

being NULL. Please fix your program
装context这个再看看
otaku.baili
帖子: 243
注册时间: 2010-09-30 21:54
送出感谢: 0
接收感谢: 1 次

Re: 到底哪里错了?

#6

帖子 otaku.baili » 2010-10-26 23:09

windows7@ubuntu:/$ conky
Conky: missing text block in configuration; exiting
这才是重点啊,同学。
搞个conkyrc文件扔到老家,然后conky -c ~/conkyrc
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#7

帖子 bg4ban » 2010-10-26 23:13

windows7下面有这文件啊?.conkyrc
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#8

帖子 bg4ban » 2010-10-26 23:17

好了又复制代码进去,现在是
windows7@ubuntu:~$ conky
Conky: /home/windows7/.conkyrc: 63: no such configuration: 'border_margin'
Conky: unknown variable freq_dyn
Conky: statfs '/media/SYSTEM': No such file or directory
Conky: statfs '/media/BACKUP': No such file or directory
Conky: statfs '/media/RESEARCH': No such file or directory
Conky: statfs '/media/AMUSEMENT': No such file or directory
Conky: desktop window (1c000a7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x4800001)
Conky: drawing to double buffer
Conky: statfs '/media/AMUSEMENT': No such file or directory
Conky: statfs '/media/RESEARCH': No such file or directory
Conky: statfs '/media/BACKUP': No such file or directory
Conky: statfs '/media/SYSTEM': No such file or directory
的错误
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#9

帖子 bg4ban » 2010-10-26 23:18

删除
SYSTEM: ${alignr}${fs_free /media/SYSTEM} / ${fs_size /media/SYSTEM}
${fs_bar 4 /media/SYSTEM}
BACKUP: ${alignr}${fs_free /media/BACKUP} / ${fs_size /media/BACKUP}
${fs_bar 4 /media/BACKUP}
RESEARCH: ${alignr}${fs_free /media/RESEARCH} / ${fs_size /media/RESEARCH}
${fs_bar 4 /media/RESEARCH}
AMUSEMENT: ${alignr}${fs_free /media/AMUSEMENT} / ${fs_size /media/AMUSEMENT}
${fs_bar 4 /media/AMUSEMENT}
再试
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#10

帖子 bg4ban » 2010-10-26 23:19

又是错误,救命
windows7@ubuntu:~$ conky
Conky: /home/windows7/.conkyrc: 63: no such configuration: 'border_margin'
Conky: unknown variable freq_dyn
Conky: desktop window (1c000a7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x5000001)
Conky: drawing to double buffer
otaku.baili
帖子: 243
注册时间: 2010-09-30 21:54
送出感谢: 0
接收感谢: 1 次

Re: 到底哪里错了?

#11

帖子 otaku.baili » 2010-10-26 23:20

别人配置文件里面有他挂载的磁盘分区,你硬盘上没有,所以报错了
不过不管也没啥关系,看着不顺眼的话,去conkyrc里面把相关的代码删掉就行了
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#12

帖子 bg4ban » 2010-10-26 23:25

又是错误,救命
windows7@ubuntu:~$ conky
Conky: /home/windows7/.conkyrc: 63: no such configuration: 'border_margin'
Conky: unknown variable freq_dyn
Conky: desktop window (1c000a7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x5000001)
Conky: drawing to double buffer
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#13

帖子 bg4ban » 2010-10-26 23:31

这个我删除了
删除
SYSTEM: ${alignr}${fs_free /media/SYSTEM} / ${fs_size /media/SYSTEM}
${fs_bar 4 /media/SYSTEM}
BACKUP: ${alignr}${fs_free /media/BACKUP} / ${fs_size /media/BACKUP}
${fs_bar 4 /media/BACKUP}
RESEARCH: ${alignr}${fs_free /media/RESEARCH} / ${fs_size /media/RESEARCH}
${fs_bar 4 /media/RESEARCH}
AMUSEMENT: ${alignr}${fs_free /media/AMUSEMENT} / ${fs_size /media/AMUSEMENT}
${fs_bar 4 /media/AMUSEMENT}
再试
bg4ban
帖子: 37
注册时间: 2009-05-15 21:23
送出感谢: 0
接收感谢: 0

Re: 到底哪里错了?

#14

帖子 bg4ban » 2010-10-26 23:35

又是错误,救命
windows7@ubuntu:~$ conky
Conky: /home/windows7/.conkyrc: 63: no such configuration: 'border_margin'
Conky: unknown variable freq_dyn
Conky: desktop window (1c000a7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x5000001)
Conky: drawing to double buffer
otaku.baili
帖子: 243
注册时间: 2010-09-30 21:54
送出感谢: 0
接收感谢: 1 次

Re: 到底哪里错了?

#15

帖子 otaku.baili » 2010-10-26 23:38

Conky: /home/windows7/.conkyrc: 63: no such configuration: 'border_margin'
Conky: unknown variable freq_dyn
貌似共享配置的那位有啥特殊脚本神码的,你估计没放到正确的地方。
回复

回到 “老旧版本支持”