How to script desktop notifications?
Israel
israeldahl at gmail.com
Sat Dec 20 01:44:18 UTC 2014
On 12/19/2014 08:14 AM, Jörn wrote:
> notify-send is perfectly okay for bash scripts.
>
> Jörn
>
> Am 19. Dezember 2014 01:36:52 MEZ, schrieb John Hupp
> <lubuntu at prpcompany.com>:
>
> I see that xfce4-notifyd is installed. Does that run by default? Is
> there ready-made provision for sending messages to that from a script?
>
> (Several releases back, I had to install libnotify-bin and then use
> notify-send in a script to actually publish the notices, but maybe there
> is a better way now.)
>
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
>
>
+1
You can also make interactive notification dialogs with zenity or
gxmessage, in case you want to make the user input something, or click
OK/Cancel, etc...
Happy scripting :)
--
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20141219/6a651282/attachment.html>
More information about the Lubuntu-users
mailing list