由 frid » 週三 5月 19, 2004 4:57 pm
hi !..大家好!!
我照benny 的方式..將gdesklets 裝好了
portage 中的 desklet-* 幾乎都可以使用
感謝Benny
但如果我要使用starterbar
我輸入
1. gdesklets &
2. gdesklets /usr/share/gdesklets/Displays/StarterBar/starterbar.display
會出現error
[Error Msg]
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 51, in create_sensor
module = __import__(name)
File "./StarterBar/__init__.py", line 2, in ?
from IconSet import IconSet
File "./StarterBar/IconSet.py", line 1, in ?
from Icon import Icon
File "./StarterBar/Icon.py", line 1, in ?
from xdg.DesktopEntry import DesktopEntry
ImportError: No module named xdg.DesktopEntry
No module named xdg.DesktopEntry
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
'module' object has no attribute 'new_sensor'
Could not load sensor StarterBar
closing 10849856202600117877990108
collected garbage: 14 uncollectable: 0
purging 10849856202600117877990108
[Error Msg]
重點應該是...
在"/usr/share/gdesklets/factory/SensorFactory.py", line 7
的AttributeError: 'module' object has no attribute 'new_sensor'
所以Could not load sensor StarterBar
請問友人遇過這問題嗎?@@..
還是starterbar 需要用另一種方式啟動呢?
謝謝大家!~