I have a cron entry that runs a script at a certain time each day. The script sets the DISPLAY
to :0
and launches a program for the user to run (this is a single-user desktop). I want to change this so that the user first sees a dialog box so he can indicate whether he wants to run the program.
I'm using Ubuntu with Gnome. Is there some kind of dialog box command that can return whether OK or Cancel was clicked? Or is there some other way to get this effect?