Dopo aver installato la nuova versione della distribuzione Kubuntu 8.04 ho installato i driver per la scheda video (NVIDIA) del mio Toshiba, abilitato compiz, e tentato di abilitare le screenlet, ma non riuscivo ad avviare lo screenlet manager.
Provando ad avviare da console sono riuscito a leggere le motivazioni di tale problema.
Sembra essere in esecuzione kde
True
Unable to load 'MainMenu' from /usr/share/screenlets/MainMenu: No module named gmenu
Error while loading screenlets metadata for "MainMenu".
Orca is required to use this Screenlet
You need Gtkmozembed to run this Screenlet , please install it
Avvio automatico già esistente.
Traceback (most recent call last):
File "/usr/share/screenlets-manager/screenlets-manager.py", line 1661, in
app = ScreenletsManager()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 324, in __init__
self.lookup_daemon()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 370, in lookup_daemon
self.daemon_iface = self.get_daemon_iface()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 405, in get_daemon_iface
bus = dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute dbus-launch to autolaunch D-Bus session
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 78, in apport_excepthook
report_file = open(pr_filename, 'wt')
IOError: [Errno 13] Permesso negato: '/var/crash/_usr_share_screenlets-manager_screenlets-manager.py.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/share/screenlets-manager/screenlets-manager.py", line 1661, in
app = ScreenletsManager()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 324, in __init__
self.lookup_daemon()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 370, in lookup_daemon
self.daemon_iface = self.get_daemon_iface()
File "/usr/share/screenlets-manager/screenlets-manager.py", line 405, in get_daemon_iface
bus = dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute dbus-launch to autolaunch D-Bus session
Il problema è dunque dato dalla mancanza di dbus-launch, ma fortunatamente tale problema può essere facilmente risolto tramite
sudo aptitude install dbus-x11Fatto ciò lo Screenlets Manager è tornato a fare il suo lavoro.
A presto.
2 commenti:
ottimo, funziona grazie
oltre a compiz, che pacchetto hai installato per avere gli screenlets? il dbus-x11 risulta già tra i pacchetti instalalti, quindi se installo gli screenlets non dovrei avere problemi...
Posta un commento