View Full Version : Ubuntu notifications
SigmaSanti
September 21st, 2009, 11:31 PM
Hi, I was wondering how to make my program use the built in notifications of Ubuntu, notify-OSD, like other programs such as rhythmbox. If someone could post a link to a description of how to do this, or the syntax of the command that would be great.
Even better, if you have example code in C++ or similar language, I would really appreciate it.
Thanks.
j7%<RmUg
September 22nd, 2009, 06:49 AM
Check this out:
http://pkpatel88.wordpress.com/2009/03/25/using-bashpodder-with-notify-osd/
Basically you write a bash script to make a call to notify-osd and ask it to display a message specified by you.
Also, thanks for bringing this up, i might use this in some of my projects.
fct
September 22nd, 2009, 07:56 AM
Check this out:
http://pkpatel88.wordpress.com/2009/03/25/using-bashpodder-with-notify-osd/
Basically you write a bash script to make a call to notify-osd and ask it to display a message specified by you.
Also, thanks for bringing this up, i might use this in some of my projects.
You write a bash script if you want to use it from scripts.
For C/C++ it should work using libnotify:
http://manishtech.wordpress.com/2009/03/29/working-with-libnotify/
SigmaSanti
September 22nd, 2009, 11:16 AM
Nice!, thanks a lot this is exactly what I was looking for.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.