Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-10-2010, 08:10 PM   #1
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 79

Rep: Reputation: 0
How do i create a calendar/remind program that outputs "xmessage" or similar??

Am I going to have to hack my own program to let me have xmessage output a string at time == T? I'd rather not, but i can't figure out how to script what I want to do.

Let's say that on Mondays, Wednesdays, and Fridays I would want some calendar program to remind me to quit working by 22:00 and on Tuesdays and Thursdays be reminded to quit at midnight. Something like '% xmessage "Okay, time to turn in"' would be an acceptable string in a popup or dialog. I want the string in a graphic to hold the string.

So far I haven't been able to decypher the remind samples to put in my ~/.reminders. remind '-kxmessage %s &' fails ... along with everything else I've played around with.

thanks for any ideas.
Old 08-10-2010, 08:15 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Why not use any of the (I'm sure) zillion reminder/todo list/calendar programs and applets I'm sure you have readily available for your desktop.

You didn't specify your distro, or whether you use KDE, Gnome or "Something Else" - but I'm sure there are lots of options.

For example, "gTodo" (a Gnome applet).

1 members found this post helpful.
Old 08-10-2010, 11:48 PM   #3
Registered: Sep 2003
Location: Fort worth, TX
Distribution: Debian testing 64bit at home, EL5 32/64bit at work.
Posts: 193

Rep: Reputation: 30
Alarm clock

Try this one out ... you may like it: alarm-clock

If you use debian just do this:

su - 
apt-get install alarm-clock
When I first used it ... it took forever for me to figure out how to turn the danged alarm OFF! There is a small icon you click to shut the bloody thing up that appears to the left of the 'missed alarms' button.

Good luck!
Old 08-11-2010, 06:20 PM   #4
Registered: Aug 2008
Location: Seattle
Distribution: Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 0
I don't find ``alarm-clock'' on my ubuntu 8.04; but the ``gtodo'' almost works. i finally waded thru the man page of ``remind'' and saw that i had entirely missed RUN. I was scanning the examples for EXEC or similar. So, thanks for the suggestions, guys, but after I have figured out all the tricks and gotcha of remind, that ought to do what i want.

---I had no idea there were so many of these things! glad there are... .



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
Is there a program similar to that used in a web browser that will "auto fill" text?? UbrInKid Linux - Newbie 2 11-28-2009 12:39 AM
New Newbie looking to create or find Linux based "Ghosting" program sbhoffmaster Linux - Software 5 06-29-2007 06:04 PM
C/C++ functions similar to BASH's "cp", "mv", "mkdir", etc? kornerr Programming 10 04-23-2006 10:48 AM
ping outputs TX to "loopback" instead of "eth1" Jojo1 Linux - Networking 0 04-12-2006 06:10 AM
C program that takes input "FName|LName" and outputs to std out its_godzilla Programming 2 01-18-2005 11:26 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:10 AM.

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