一个简单Conky的配置步骤,可显示天气和Gmail邮箱

仅供存放个人的配置文件,不要在本版发问。
回复
wbcfan
帖子: 51
注册时间: 2009-05-03 22:57
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#61

帖子 wbcfan » 2009-11-07 18:41

勉强明白了
头像
yus253
帖子: 389
注册时间: 2009-05-31 20:52
送出感谢: 0
接收感谢: 1 次
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#62

帖子 yus253 » 2009-11-08 1:41

没有天气呀?!
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
送出感谢: 0
接收感谢: 1 次
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#63

帖子 yus253 » 2009-11-08 1:42

drvicar 写了:conkyForecast.py 这个是不是有问题了。我的运行结果提示这个,结果就是天气不显示了。
还有就是,我的屏幕太小了,超出屏幕范围了。呵呵

Conky: desktop window (18000b0) is subwindow of root window (13c)
Conky: window type - override
Conky: drawing to created window (0x3200001)
Conky: drawing to double buffer
Traceback (most recent call last):
File "/home/vicar/conkyrc/conkyForecast.py", line 1292, in <module>
weather.outputData()
File "/home/vicar/conkyrc/conkyForecast.py", line 1265, in outputData
output = self.getOutputText(self.options.datatype,self.options.startday,self.options.endday,self.options.night,self.options.shortweekday,self.options.imperial,self.options.hideunits,self.options.spaces)
File "/home/vicar/conkyrc/conkyForecast.py", line 715, in getOutputText
output = self.current_conditions[0].city
IndexError: list index out of range




555555555555原来是这样!!!我也是超出范围了!!!
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
送出感谢: 0
接收感谢: 1 次
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#64

帖子 yus253 » 2009-11-08 1:43

[email protected]:~/conkyrc$ sudo cp Weather.ttf Arrows.ttf /usr/share/fonts/truetype
[email protected]:~/conkyrc$ CONKY
CONKY: command not found
[email protected]:~/conkyrc$ conky
Conky: border_margin is deprecated, please use window.border_inner_margin instead
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 (26000aa) is subwindow of root window (1a7)
Conky: window type - override
Conky: drawing to created window (0x6200001)
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
^CConky: received SIGINT or SIGTERM to terminate. bye!
[email protected]:~/conkyrc$ conky
Conky: border_margin is deprecated, please use window.border_inner_margin instead
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 (26000aa) is subwindow of root window (1a7)
Conky: window type - override
Conky: drawing to created window (0x6200001)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
附件
Screenshot-2.png
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
送出感谢: 0
接收感谢: 1 次
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#65

帖子 yus253 » 2009-11-08 1:44

不是很满意~
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.
seedayu
帖子: 5
注册时间: 2009-11-16 21:39
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#66

帖子 seedayu » 2009-11-18 1:22

mark~
dongluliang
帖子: 164
注册时间: 2008-04-07 21:58
来自: 河北石家庄
送出感谢: 0
接收感谢: 0
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#67

帖子 dongluliang » 2009-11-19 22:30

我搜索天气了,但地址栏上却没有那个代码,真是郁闷了.
http://www.donglimao.net
乌邦土(Ubuntu)者,电脑作业系统也,其名意曰仁矣。所需之物咸全,简捷尤甚。半年一新,非习用者不察耳。盖其所助,计有年半,偶或有三年者。
Kubuntu、Xubuntu,悉其别种也。
头像
y.z.h
帖子: 1750
注册时间: 2008-11-13 11:39
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#68

帖子 y.z.h » 2009-11-19 22:36

seedayu 写了:mark~
头像
pityonline
帖子: 3864
注册时间: 2008-12-09 12:44
来自: 北京
送出感谢: 0
接收感谢: 2 次
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#69

帖子 pityonline » 2009-11-19 23:20

dongluliang 写了:我搜索天气了,但地址栏上却没有那个代码,真是郁闷了.
以用firefox查询北京的代码为例:打开http://weather.yahoo.com,在Enter city or zip code:处输入beijing,回车,ctrl+u打开源代码,按下/键,输入CHXX,你就可以看到CHXX0008被高亮显示了……
Pity is the bomp!
活着就是折腾!生命不息,折腾不止!
看这帮家伙在干什么?@pityonline/u
Dropbox+Vps+PC 跑起来了!这是邀请链接
dongluliang
帖子: 164
注册时间: 2008-04-07 21:58
来自: 河北石家庄
送出感谢: 0
接收感谢: 0
联系:

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#70

帖子 dongluliang » 2009-11-20 17:46

pityonline 写了:
dongluliang 写了:我搜索天气了,但地址栏上却没有那个代码,真是郁闷了.
以用firefox查询北京的代码为例:打开http://weather.yahoo.com,在Enter city or zip code:处输入beijing,回车,ctrl+u打开源代码,按下/键,输入CHXX,你就可以看到CHXX0008被高亮显示了……
原来如此,研究研究!
http://www.donglimao.net
乌邦土(Ubuntu)者,电脑作业系统也,其名意曰仁矣。所需之物咸全,简捷尤甚。半年一新,非习用者不察耳。盖其所助,计有年半,偶或有三年者。
Kubuntu、Xubuntu,悉其别种也。
头像
nmsfan
帖子: 18958
注册时间: 2009-10-16 22:46
来自: finland
送出感谢: 16 次
接收感谢: 37 次

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#71

帖子 nmsfan » 2009-11-24 12:16

开机不能自动加载的可以试试终端输入
sudo chmod 777 ~/conky.sh
具体路径看你conky.sh的存放位置,我放在了/home/usrname/下面,路径自己修改 :em09
>>>>推Ubuntu 桌面培训~~<<<<
>>>>想加入/了解gimp汉化吗,点我吧~<<<<
——————————————————————
不推荐wubi,也不推荐你给别人推荐wubi…………
随心而为的感觉真好……
强推mayhem!!
强推ensiferum
头像
shengzhaono1
帖子: 7
注册时间: 2009-09-08 10:42
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#72

帖子 shengzhaono1 » 2009-11-30 13:49

nmsfan 写了:开机不能自动加载的可以试试终端输入
sudo chmod 777 ~/conky.sh
具体路径看你conky.sh的存放位置,我放在了/home/usrname/下面,路径自己修改 :em09

非常感谢!现在能开机启动啦,就是字体的问题没有解决,天气图标都是英文字母。
Ubuntu Karmic/Windows 7
acer 4930G CPU P7450 RAM:2GB
HDD:160GB NVIDIA 9600M GS
头像
szl1997
帖子: 292
注册时间: 2009-11-24 14:12
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#73

帖子 szl1997 » 2009-12-05 13:34

太好了,我终于能显示天气了。 :em05
如果再能显示最低气温就好了!
男儿心比铁,纵死亦千钧!
头像
szl1997
帖子: 292
注册时间: 2009-11-24 14:12
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#74

帖子 szl1997 » 2009-12-05 13:35

请问楼主,如果要显示最低气温的话脚本要怎么改?
男儿心比铁,纵死亦千钧!
头像
suckmyball
帖子: 315
注册时间: 2009-10-17 22:05
送出感谢: 0
接收感谢: 0

Re: 一个简单Conky的配置步骤,可显示天气和Gmail邮箱

#75

帖子 suckmyball » 2009-12-08 20:16

szl1997 写了:请问楼主,如果要显示最低气温的话脚本要怎么改?
同问
附件
Screenshot.png
回复

回到 “个人配置文件存放点”