libnotify not working in GNOME (11.4)

libnotify doesn’t display anything, even when I test it with notify-send in the terminal. I recently installed KDE and XFCE to test them out, but uninstalled them later, and I think that may have caused something to break.

Any ideas?

On Tue, 2011-03-29 at 22:06 +0000, kog13 wrote:
> libnotify doesn’t display anything, even when I test it with notify-send
> in the terminal. I recently installed KDE and XFCE to test them out, but
> uninstalled them later, and I think that may have caused something to
> break.
>
> Any ideas?
>
>
Hi
Try using strace;


strace notify-send TEST

This should give a pointer as to what may be the issue.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
up 8 days 23:40, 2 users, load average: 0.14, 0.27, 0.24
GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26

Here’s the result.

No suggestions? I’d rather not have to re-install my system. =/

Sorry about so many posts in a row, but I think I came closer to the problem. If I run ‘notification-properties’ and click Preview, I get an error message saying “Unable to display notification: unable to connect to server.” So it would appear that the daemon isn’t running.

Any ideas on how to start it?

Hi
Sorry I missed your post on the output, which looks normal. So you can’t run notification-properties is there any out put from;


ps -ef |grep dbus

Also try running the strace command on notification-properties, also try running the gconf-editor and browse to /apps/notification-daemon, can you change settings here?

Well, I found the problem. I guess the notification-daemon package became broken, so I re-installed that and logged out, and it works now. I had already done that with the libnotify1 package, but hadn’t realized the daemon was a separate one.

Thanks for the help anyway. =)