You are not logged in.
And I do have notification-daemon and python-notify installed. Not sure what the problem could be. Any ideas?
EDIT: Here's the terminal output.
cat: /etc/screenlets/prefix: No such file or directory
** (screenlets-manager.py:1053): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (screenlets-manager.py:1053): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (screenlets-manager.py:1053): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
False
Starter already exists.
DAEMON FOUND!
False
Logging output goes to: /home/chris/.config/screenlets/FreemeteoWeatherScreenlet.log
REGISTER screenlet: FreemeteoWeatherScreenlet
False
Traceback (most recent call last):
File "/usr/share/screenlets/screenlets-pack-basic/FreemeteoWeather/FreemeteoWeatherScreenlet.py", line 936, in <module>
screenlets.session.create_session(FreemeteoWeatherScreenlet, threading=True)
File "/usr/lib/python2.7/site-packages/screenlets/session.py", line 480, in create_session
session.start()
File "/usr/lib/python2.7/site-packages/screenlets/session.py", line 254, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/usr/share/screenlets/screenlets-pack-basic/FreemeteoWeather/FreemeteoWeatherScreenlet.py", line 484, in __init__
self.__notifier = screenlets.utils.Notifier(self)
File "/usr/lib/python2.7/site-packages/screenlets/utils.py", line 843, in __init__
'/org/freedesktop/Notifications'), 'org.freedesktop.Notifications')
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 246, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service filesLast edited by YAOMTC (2012-04-05 05:28:43)
Offline
Try running screenlets from the command line and shows us the output.
Offline
Done.
Offline
Freemeteo Weather Screenlet requires a notification server[1]. If you're using a desktop environment other than GNOME or KDE, you need to configure your session manager to launch "/usr/lib/notification-daemon-1.0/notification-daemon" on login[2], or install xfce4-notifyd or notify-osd.
[1] https://wiki.archlinux.org/index.php/Libnotify
[2] https://wiki.archlinux.org/index.php/Autostarting
Offline
Oh, that works. Thanks! What I'm confused about though is how I can autostart that daemon -- I tried putting it in DAEMONS, tried a .desktop file in autostart, but neither worked.
Offline
Hi,
Found a workaround here for the Notifications service : http://aur.archlinux.org/packages.php?ID=53637
Create the file
/usr/share/dbus-1/services/org.freedesktop.Notifications.servicewith the following content
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/bin/sh -c 'if [ ! -x /usr/lib/notification-daemon-1.0/notification-daemon ] || [ "$GDMSESSION" = guest-restricted ] || [ "$GDMSESSION" = gnome-classic-guest-restricted ] [ "$GDMSESSION" = default -a "$(basename `readlink /etc/alternatives/x-session-manager`)" = gnome-session ] || [ "$GDMSESSION" = ubuntu ] || [ "$GDMSESSION" = ubuntu-2d ]; then exec /usr/lib/notify-osd/notify-osd; else exec /usr/lib/notification-daemon-1.0/notification-daemon; fi'It works for me for the music player Listen.
Offline