Ubuntu – Notify-osd and libnotify: how do they cooperate

notify-osd

I want to help out with some Ubuntu dev and I have chosen a "papercut" that affects the notify-osd project.

However, I am confused as I am not sure what installing notify-osd does as the actual daemon (notify-send) is installed from the libnotify package.

Can someone shed some light on how these fit together?

Thanks

Best Answer

notify-osd (like the standard notification-daemon and GNOME Shell) implements the Desktop Notifications Specification, which specifies a DBus interface for applications to talk to.

libnotify is a C library providing an API for applications to create and manage notifications; it uses DBus internally to talk to the notification daemon.

notify-send is a tiny commandline application which uses libnotify to show notifications.