I was wondering how exactly one makes a desktop notification come up on Ubuntu GNOME 15.10 with GNOME 3.18? What I mean is how do I get one of these desktop notifications to come up with text that I have specified?:
It would be useful if I could execute a command or script that could do this so that I would be able to get notified about things in my system.
Best Answer
In the same way as also in GNOME 3.16 and in other desktop environments. The notifications can be sent via a notification daemon from the command line.
The command is part of the package
libnotify-bin
and is installed by the*-desktop
meta-packages.The dependencies are
libc6
,libglib2.0-0
,libnotify4
. Runstrace
to see the way of your notification:To send your own notification
From
man notify-send
: