LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux Timer for School (https://www.linuxquestions.org/questions/linux-software-2/linux-timer-for-school-4175475901/)

Kogami 09-04-2013 01:06 PM

Linux Timer for School
 
Hi everyone.

I am attending a high school, and I was wondering if there was a piece of software that could constantly countdown until the end of each class, i.e. a timer that starts 1 hour at the beginning of class, and then resets after every passing period.

Thanks for everything,
Kogami

haertig 09-04-2013 01:18 PM

Classes are that tedious, huh? It's been such a long time since I was in high school that I must have forgotten!

Most smartphones and digital watches have that capabilty these days, and that would be more convenient than lugging your computer into class just to watch it count down the seconds until the dreaded event is over.

If you really want an application to do this, I would search around for "clock" apps. Since a basic clock is kind of boring, many developers add bells and whistles to make them seem like they are doing something extraordinary. Countdown timers, elapsed time timers, split timers, sunrise/sunset calculations, moon phase calculations, alternate timezones, alarms, digital display, analog display, etc. What you want is a simple countdown timer with auto-reset/auto-restart.

Habitual 09-04-2013 04:56 PM

Code:

MIN=60 && for i in $(seq $(($MIN*60)) -1 1); do echo -n "$i, "; sleep 1; done; clear;  echo -e "Dismissed!"
but for fancy pants stuff... use an app. Check your software center for clocks or timers as has been suggested.

TobiSGD 09-04-2013 05:54 PM

From a different point of view, since you are interested in Linux you may also be interested in scripting and/or programming.
Simple functions as these usually make great first projects for the learning programmer, maybe you try to create such a software yourself.

Kogami 09-04-2013 05:59 PM

Yeah, if I can't find a clock program, I may go about programming it myself!

Habitual 09-04-2013 06:42 PM

sudo apt-get install gnome-schedule


All times are GMT -5. The time now is 09:37 AM.