LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-15-2011, 07:46 PM   #1
stryker_oz
LQ Newbie
 
Registered: Mar 2005
Location: Brisvegas, Australia
Distribution: Fedora 15 & 17, Raspbian & openELEC
Posts: 26

Rep: Reputation: 15
Question 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
 
Old 12-15-2011, 07:52 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,564
Blog Entries: 1

Rep: Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024Reputation: 1024
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.
 
  


Reply

Tags
cron, display, gui, message, shutdown


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to run a program for a specific amount of time starting at a specific time? thiemster Linux - Newbie 12 05-18-2010 09:04 AM
IsThere a fridge, that we can program at specific date/time to unfreeze specific food frenchn00b General 3 07-21-2009 11:26 PM
bash: time difference and calculate the mid day of the day? frenchn00b Programming 3 05-03-2009 02:03 PM
Using iptables for something very specific - bandwidth based on user/day/time koobi Linux - Networking 3 10-05-2007 02:29 AM
Bouncing specific domain with specific message dlublink Linux - Software 1 08-21-2006 02:29 PM


All times are GMT -5. The time now is 05:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration