How to pop up the default message window on ubuntu

I want to implement a function which can pop up the default message window on ubuntu(gnome is used). It is just like the Rhythmbox dose when a new song is played and pop this window. How can I do this?

Answers


Ubuntu 9.04 and later use a new notification server NotifyOSD. Checkout the NotifyOSD Development Guidelines. Here's also a simple example in python.


Need Your Help

How to figure out which repository to call for different implementations of an interface?

c# domain-driven-design ddd-repositories

I am just starting in DDD and have a question regarding interfaces of objects and repositories. Suppose I have the following objects

Pure virtual and override function (c++)

c++ inheritance overriding virtual

I looked over the internet for an answer to my questions but couldn't find any, so here I am.