How do I sent a notification to notify-osd?
I searched on the internet on how to use the new notify-osd notification system in a C/GTK+ app, but I found nothing useful.
I just want to send a notification with an icon, title and description.
Am I supposed to do something via dbus? I am really stuck here.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Notify OSD Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ruben Verweij
- Solved:
- 2009-04-04
- Last query:
- 2009-04-04
- Last reply:
Ruben Verweij (ruben-verweij) said : | #1 |
I already found the solution, I'm posting it on my blog for people who are interested.
See http://
David Barth (dbarth) said : | #2 |
You can also simply use notify-send from the command line. It is part of the libnotify-bin package.
A few applications are using this method, exec'ing notify-send with appropriate parameters to send notifications without the need to setup a dbus link and talk the notification protocol.