Include a bash sleep timer?

Asked by jmbarnes

Thanks for the project. I've written a simple script the replicates a sleep timer of a tv etc. It gives a countdown, and then takes the selected action. By default these include suspend, hibernate, lock screen, shutdown and play an alarm. I don't have experience with launchpad projects, but thought this might be useful. You can pull down the script from http://www.tc.umn.edu/~barne478/bashtimer.sh or if you prefer a gui-based solution (using zenity) at http://www.tc.umn.edu/~barne478/sleeptimer.sh

G'luck.

Question information

Language:
English Edit question
Status:
Solved
For:
Code Monkey Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tom Swartz (tom-swartz07) said :
#1

Thank you for the interest in this project!

The script seems very robust, Ill take a better look at it and be sure to include it in the next update to the project.

If you wish, you are more than welcome to join the Dev team to help debug, answer questions, or even beef up the code!
It seems you are well versed with GUI coding, and we were very much interested in taking these scripts up a step to add a GUI to many of them; your help would be greatly appreciated!

Revision history for this message
Tom Swartz (tom-swartz07) said :
#2

If you have no other questions, this question is marked as [solved]

Revision history for this message
jmbarnes (barneyj) said :
#3

Glad it helped. I'll look into getting into the development. I'm nowhere near experienced in GUI work except for using zenity called out from bash scripts.

Revision history for this message
Tom Swartz (tom-swartz07) said :
#4

Tom Swartz suggests this article as an answer to your question:
FAQ #1166: “How can I help the Code Monkey Project?”.