conky配置错误Conky: Unable to load image '-s'

桌面秀,不同桌面、不同风格。
回复
bsx1990
帖子: 137
注册时间: 2010-02-03 12:00
送出感谢: 3 次
接收感谢: 0

conky配置错误Conky: Unable to load image '-s'

#1

帖子 bsx1990 » 2010-12-14 15:48

配置文件代码

代码: 全选

use_xft yes
xftfont Liberation Sans:size=11

update_interval 1
total_run_times 0
double_buffer yes
text_buffer_size 2048

own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 1440 80


default_color 171717
draw_shades no

color0 white
color1 white
color2 919FB8

alignment bottom_left
gap_x 0
gap_y -150

no_buffers no
net_avg_samples 2

override_utf8_locale yes

no_buffers yes

imlib_cache_size 0

TEXT
${image ./pix/cwb.png  -s 1440x70 -p -0,15}${image ./pix/cbg.png  -s 64x64 -p 1133,18}${voffset 15}${execpi 10800 ~/.tonky/sh/conkyForecast.py -w -t ~/.tonky/conkyForecast.template} ${image ./pix/System/Task_Manager.png  -s 64x64 -p 270,18}${image ./pix/System/Memory.png  -s 64x64 -p 470,18}${image ./pix/System/Clock2.png  -s 64x64 -p 670,18}${image ./pix/System//wlan100.png -s 70x70 -p 870,10}
${goto 350}${voffset -78}Cpu1:${goto 420}${cpu cpu1}%${goto 551}Hd:${goto 620}${fs_used_perc /}%${goto 750}${time %H:%M}   +${goto 960}Signal:${goto 1020}${wireless_link_qual wlan0}%
${goto 350}Cpu2:${goto 420}${cpu cpu2}%${goto 550}Ram:${goto 620}${memperc}%${goto 750}${time %A} ${goto 960}Bitrate:${goto 1020}${wireless_bitrate wlan0}
${goto 350}Step:${goto 420}${freq_g}${goto 550}Swap:${goto 627}${swapperc}%${goto 750}${time %d. %B}${goto 960}Local:${goto 1020}${addr wlan0}
${goto 686}${voffset -44}${font aClock:style=_Hour:size=30}${color2}${execi 120 python ~/.tonky/sh/conkyClock_h.py}${color}${font}
${goto 686}${voffset -36}${font aClock:style=_Min:size=30}${color2}${execi 60 python ~/.tonky/sh/conkyClock_m.py}${color}${font}
${execpi 10 ~/.tonky/sh/conkyExaile.py --template=~/.tonky/.conkyExaile.template --nounknownoutput}
运行时的错误

代码: 全选

user@user-laptop:~/.tonky$ ./tonky
rm: 无法删除 “/home/rza/.tonky/notify/oncal”: 没有那个文件或目录
rm: 无法删除 “/home/rza/.tonky/notify/oncpu”: 没有那个文件或目录
rm: 无法删除 “/home/rza/.tonky/notify/onmem”: 没有那个文件或目录
rm: 无法删除 “/home/rza/.tonky/notify/onwet”: 没有那个文件或目录
rm: 无法删除 “/home/rza/.tonky/notify/onwifi”: 没有那个文件或目录
Conky: desktop window (12000b7) is subwindow of root window (15a)
Conky: window type - override
Conky: drawing to created window (0x6600001)
Conky: drawing to double buffer
ERROR: Config data file /home/user/.conkyForecast.config not found, using defaults (Registration info is needed though)
Traceback (most recent call last):
  File "/home/user/.tonky/sh/conkyForecast.py", line 1553, in <module>
    main()
  File "/home/user/.tonky/sh/conkyForecast.py", line 1549, in main
    forecastinfo = ForecastInfo(options)
  File "/home/user/.tonky/sh/conkyForecast.py", line 635, in __init__
    socket.setdefaulttimeout(self.config.CONNECTION_TIMEOUT)
AttributeError: 'NoneType' object has no attribute 'CONNECTION_TIMEOUT'
Conky: Unable to load image '-s'
Conky: Unable to load image '-s'
Conky: Unable to load image '-s'
Conky: Unable to load image '-s'
Conky: Unable to load image '-s'
Conky: Unable to load image '-s'
^CConky: received SIGINT or SIGTERM to terminate. bye!
请问这个问题该怎么修改阿
头像
quanru
帖子: 336
注册时间: 2009-11-25 11:24
送出感谢: 1 次
接收感谢: 1 次

Re: conky配置错误Conky: Unable to load image '-s'

#2

帖子 quanru » 2011-04-04 13:12

楼主你解决了没有啊 我也遇到这个问题
望青年不怨天尤人不贪图安逸
回复

回到 “屏幕抓图”