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?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ubuntu 9.04 and later use a new notification server NotifyOSD. Checkout the NotifyOSD Development Guidelines. Here’s also a simple example in python.