LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   What can I use to display a GUI message at a specific time every day? (http://www.linuxquestions.org/questions/linux-desktop-74/what-can-i-use-to-display-a-gui-message-at-a-specific-time-every-day-918974/)

stryker_oz 12-15-2011 08:46 PM

What can I use to display a GUI message at a specific time every day?
 
Hi

The scenario is we've set-up a Fedora box for the kids to use and it's frequently being left on overnight. I am thinking of putting a "shutdown 19:35" in the startup for their logins but would like to present a message on their screen about 15mins prior telling them it's time to save their work or game and brush their teeth.

The wall message from the shutdown isn't shown on the GUI.

Any advice for what will do this nicely, and even come up over the top of full-screen games?

Thanks

sycamorex 12-15-2011 08:52 PM

Try the following:

Code:

notify-send "Dear Billy" "We're running low on the internet so unfortunately we'll have to swith the computer off in 15 minutes. Please finish your games, save your documents and brush your teeth. Love, Daddy"
It's included in libnotify.


All times are GMT -5. The time now is 12:24 PM.