General :: Shell Script - Countdown Timer
Feb 16, 2010
I'm looking to write a shell script that is a count down counter for my brothers birthday, hopfully something that when the big day comes it pops up and says " happy birthday"
something that wont get screwed up if the computer is restarted...
View 6 Replies
ADVERTISEMENT
Jul 17, 2010
I'm looking for an app that will provide a large (full screen and clear) display countdown clock, basically so I can use my laptop in public to show how much time remains in a basketball quarter. I'm the official timer.If it counts up like in soccer rather than down, that's fine too. If the app can also show the score, that would be great, but it is not a requirement. We don't use a shot clock, so that is not required either.
View 8 Replies
View Related
Apr 10, 2011
I am going to allow myself a few cheeky ones next weekend. So I though it would be nice to have a clock on my desktop reminding me of how long to go. Is there a countdown clock I can add to my Gnome desktop? I am using Centos5 & F14.
View 2 Replies
View Related
Dec 20, 2010
Is there good Pomodoro desktop timer for Linux without a lot of dependencies.I know about pomodairo, but it's made with Adobe Air, which I don't want on my Linux (even if it exists for Linux).
View 3 Replies
View Related
May 19, 2010
I have been trying to configure a cyber cafe timer and I have so far tried Mkahawa and CCL. However the problem is following the instructions since most of them require you to be conversant with the Gnome commands..
View 1 Replies
View Related
Oct 27, 2010
I am trying to figure out how to mask local timer interrupts on a specific core of a multicore system from within user space. The interrupts are causing latency spikes of 3-10u that we would like to remove. We are only running 1 thread on the core h everything shielded except for these timer interrupts. This thread makes no system calls and thus is never getting context switched out. I am not looking to turn them off entirely but rather turn them off, run my code, turn them on in a continuous loop. The thread runs in user space which we are hoping to maintain. We also have no desire to modify the kernel if possible. I've read about using spinlock_irqsave() but it appears (not positive) that it must be used within kernel space.
View 3 Replies
View Related
Mar 7, 2010
My fedora does not autoboot. I get stuck at the grub selection green. I have the choice of one kernel and I have to press enter before I can continue to boot into the OS. Is there a way to fix this? /etc/grub.conf, menu.lst and /boot/grub/grub.conf are all identical. I have tried different timeout # as well as default=saved. Still nothing works and fedora does not count down.
View 3 Replies
View Related
Jul 22, 2011
Since earlier today, I am stuck at startup on the grub page, I have no countdown and I have to press a key to keep going. I only have Ubuntu on my PC and didn't use to view grub.I am obviously running update-grub in between each of the modification and trying to restart...
here is my /etc/default/grub file:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
[code]....
Still no chances, any insight why my grub.cfg doesn't not seem to change and be configured correctly during update-grub.
View 1 Replies
View Related
Feb 15, 2010
How would i go about to changing that to 30? I have two testing servers using the same monitor and mouse, so i have to log onto those first, if i want to have access to my files. On the server at startup. (I have set up a basic samba server)
View 2 Replies
View Related
Apr 19, 2010
Previously I could don "sudo nano /boot/grub/menu.lst" to edit in grub the countdown timer from 9 to eg: 2 seconds. I don't know how to do that with 10.4, as there is no file /boot/grub/menu.lst anymore.
View 4 Replies
View Related
Jun 5, 2010
I found a script that counts down to a date and time and after modifying my .conkyrc file I want things to line up nicely, so, now I need leading zeroes on the output, like one timer I have says "4m +2w 5d 20:0:0" and I want it to say "04m 02w 05d 20:00:00" and on a slightly separate issue, it doesn't seem to be counting the minutes and seconds correctly, but that can be dealt with later, the current script is
Code:
#!/usr/bin/perl
#Script Name: howLong.pl
#Author: Nathan Handler <nhandler @ubuntu.com>
[code]...
View 9 Replies
View Related
Dec 14, 2010
I installed Ubuntu 10.4 using wubi from XP. For some reason wubi didnt increase the countdown time on the windows os selector. My P.C. came with a recovery partition, so the os selector has always poped up on startup, but the timer was set to 5sec.(probably to avoid annoyance). Is there a way to edit this so I can have more time to select my option? This is the windows os selector and Ubuntu is on a separate(second) hard drive.Ubuntu version: 10.04 LTS- the Lucid LynxWindows version: Xp servicepack 2Machine: Hp Pavilion a1677c
View 4 Replies
View Related
Apr 14, 2011
I cd to the directory, Run Python setup.py install.
[mitch@mitch ~]$ cd LostCountdown
[mitch@mitch LostCountdown]$ python setup.py install
python: can't open file 'setup.py': [Errno 2] No such file or directory
[mitch@mitch LostCountdown]$ ls
icon.png LostCountdownScreenlet.py Screenlet.package sounds themes
[mitch@mitch LostCountdown]$
View 1 Replies
View Related
Jun 15, 2010
I created a Fedora 13 x86 live image on USB using [URL] I've set it to boot using the USB and when it does I see the 10 sec countdown (or the options if I press a key), I tried all the options to boot the image but the screen just turns black for a few seconds and then the the monitor goes into "power saving mode" and nothing happens (I waited like 10 minutes). What's going on? I am trying to install fedora into an empty (secondary) HD, in the main HD I only have a win XP, and I don't want to burn a cd/dvd that's why I am trying to boot the USB.
View 2 Replies
View Related
May 23, 2010
When I click logout or shut down I get a countdown saying I will be logged out or shut down in 60 seconds, then it counts down. I can click the "shut down now" button, but I find this behavior incredibly irritating. When I click logout I would like to logout NOW.
View 6 Replies
View Related
Jun 15, 2011
MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.
View 2 Replies
View Related
Apr 27, 2011
I would like know when it is necessary or advisable to write a shell script instead of shell function ?
View 3 Replies
View Related
Jan 18, 2011
I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?
View 3 Replies
View Related
Mar 3, 2011
Why is the timer not executing?
Code: #include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <pthread.h>
void func(union sigval sv)
[Code]....
View 1 Replies
View Related
Jul 22, 2009
This is my first time of trying this software even though i have not started using it i would like to have an incite on issues like initial setup, running programs and even solutions to problems with driver to run others had ware that if any at all just a guid before i install it and start using.
View 3 Replies
View Related
Mar 10, 2009
F10 logs off a user when idling after a certain time. I cannot find the place where to set the time and other things (like to disconnect from network at logoff etc). where to set this? I didn't find it in neither 'power management' or 'users + groups'.
View 3 Replies
View Related
May 7, 2010
I may be wrong but I remember when I would go to restart my computer, a window would appear with a coundown clock starting at I think 60 seconds. I don't see this in Ubuntu 10.04. How can I get this back? Is there a setting in the Configuration editor or something similar?
View 8 Replies
View Related
Jul 7, 2010
I've installed Linux Ubuntu 10.04 LTS on my computer, and the Dual-booting shows after starting the computer
But what I need to know is how do you set the timer so that if I don't press "Enter"...that it choses my preferred operating system in a certain period of time (seconds or minutes...etc) by itself?
View 1 Replies
View Related
Jul 14, 2010
How do I set the user inactivity timer to a different value in 10.04? It seems to be set by default to a very short time.
View 1 Replies
View Related
Apr 29, 2011
Anyone know of a possible replacement for the Gnome timer applet?
View 8 Replies
View Related
Jun 8, 2011
I've recently started coding in bash and I'm making a diagnostic check CD for rackmounted computers to print out to an LCD screen. So far it works but what i want it to do is, when it checks what ethernet ports are unplugged, it stays there for 30 minutes or so and proceeds through the script. I've looked up cron and that seems to be useful for making timers on permanent systems but I just want the cd to boot, do the check and then eject it and let the real OS take over and I've also tried using:
while [ `sleep 30m` ];
do
<script>
with no luck. Is there any command I can use to do this? I've noticed a few examples where people have captured the time and then used a while less than/greater than statement but I'm not sure how to do this. Is it possible to do a concept like:
while [ %current time -lt %current time+30 min ];
do
<script>
View 8 Replies
View Related
Sep 5, 2010
On the following link Following code is given
Code:
loopbit = loops_per_jiffy;
/* Gradually work on the lower-order bits */
while (lps_precision-- && (loopbit >>= 1)) {
loops_per_jiffy |= loopbit;
ticks = jiffies;
while (ticks == jiffies); /* Wait until the start
[Code]...
View 2 Replies
View Related
Jul 23, 2010
I'm trying to understand how interrupts work. Is there a way to generate timer interrupts in C. Also can we enter into the protected mode of the CPU. Does OS (specifically, linux) place any restrictions on user programs entering protected mode. If it does not, do we just have an assembly language program which changed the mode, followed by the C code... I'm just trying to understand how things work at the lowest level. So I'm trying to write few snippets to test my understanding.
View 3 Replies
View Related
Mar 20, 2009
I converted a PXE boot environment to CentOS 5.2 (64 bit). It is used to install various flavors of Linux. The default timer within the menu is configured for 10 seconds. Can anyone recommend a version of syslinux that is compatible with CentOS 5.2 (x86_64) in which the menu timer issue has been resolved?
View 8 Replies
View Related
Jan 13, 2010
I've been working in a program in BASH and would like to measure its efficiency in different machines. Of course I am able to display the date at the beginning and at the end of its execution, but I'd rather use some sort of timer function to measure in seconds its speed. Is there any timer function available through command line?
View 6 Replies
View Related