Whenever something happen which require notification (connecting to a wireless network or low battery status) Ubuntu (unity) gives a nice floating message which (usually) vanishes after several seconds. Is there a way to produce my own floating notification?
Have you checked out the ubuntu wiki yet?
There's a few examples here https://wiki.ubuntu.com/NotificationDevelopmentGuidelines
More general info about it here https://wiki.ubuntu.com/NotifyOSD
Caveat! If using the
man notify-send is contradicted by Non-expiring notifications
For details see reference: https://askubuntu.com/a/189173/89468
The use of
notify-send is desktop conditioned, depending on whether it is:
- Unity's notify-OSD or
- Gnome's notification-daemon
that displays the notification.
... takes the place of
notification-daemon, and its presentation of notification bubbles differs in several ways ...