Red Hat Bugzilla – Bug 690242
Notfications not working
Last modified: 2013-03-05 23:06:42 EST
Description of problem:
Notifications are not functional in F-15 anymore if there is no notification daemon running. Only in GNOME and KDE the notifications are shown. For all other environments there is no notification at all. Using pynotify results in a traceback if show() is called.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start XFCW or a Window Manager
2. notify-send Hello
A notification saying "Hello".
Here is a python snipplet:
n = pynotify.Notification("foo", "Hello")
First of all you filed this against libnotify and libnotify is just a library to speaking to a notification daemon. So I'm reassigning to notification-daemon.
Second of all I'm closing this bug as NOTABUG, as it is simply not notification-daemon's job to start itself - that job belongs to whatever environment you are logged into. Specifically, the environment you log into may decide to implement the org.freedesktop.Notifications itself and not use notification-daemon at all. GNOME 3 is one example where notification-daemon is started only in fallback mode.
So if this doesn't work in XFCE or any other DE and you think it should, suggest to file bugs against those desktops.
Btw, one change from f14 is that notification-daemon doesn't ship a D-Bus .service for activation - this was removed because it causes race conditions between different implementations. That, and because it's bad style for one implementation to position itself like that.
So that's why the non-GNOME,KDE desktops suddenly stopped "working" in f15. As explained in comment 1, the fix is simply to start notification-daemon (or any other program taking the org.freedesktop.Notificaions name and implementing the required interfaces) for the desktop in question.