PDA

View Full Version : Script, pop-up message, Gnome


DrSkalpell
May 23rd, 2006, 08:17 AM
Hi,

If I have made a script that runs every day (cron) and I want to get a popup-message in gnome every time it runs, what do I have to program to make it so?

In other words, is there a Gnome API which I can access and find commands to do such things?

Kvark
May 23rd, 2006, 08:36 AM
zenity is a program that can display all kinds of popup dialogs. For example to display a text message do:
zenity --info --text "message here"

tkjacobsen
May 23rd, 2006, 08:36 AM
maybe you can use zenity - installed in gnome by default. see man zenity

DrSkalpell
May 23rd, 2006, 08:52 AM
That worked excellent. Thanks!