Back

Time Boxing Timer.

#1
I was looking for a simple timer for Linux so that I could make myself concentrate more and lose less time to procrastination (like this forum). I couldn't find one that was simple enough for me so I wrote a simple on in python.

[Image: screenyb.th.png]

It simply counts up to a set time and when it reaches it, it plays a sound to let you know and it resets. You can press space to pause it and press delete to reset it. To change the the time it counts to, edit the config.txt (e.g. 2.5 for 2 and a half minutes). Also you can replace sound.ogg, and font.ttf to whatever you want. To run it you'll need python (I used 2.6.X) and pygame.

You can download it here:
http://www.megaupload.com/?d=DQSABLXV

I made this for myself, but I thought some people might find it useful.
Reply
#2
Oh, wow. Nice. I was just thinking about reinstalling Linux too.

On another note, timeleft.info has a good app for windows.
Reply
#3
ryuudou Wrote:On another note, timeleft.info has a good app for windows.
Ah! I've been looking for this, thanks.
Reply
May 16 - 30 : Pretty Big Deal: Save 31% on all Premium Subscriptions! - Sign up here
JapanesePod101
#4
Good job. I especially like the keyboard shortcuts.
Currently (on Ubuntu) I'm using timer-applet (I think that's the name) from the repos. It sits in your system bar and is extremely simple, I like it.
Reply
#5
Since it's python, bombpersons app works perfectly fine on Windows and OS X, for anyone wondering. On OS X, you might have some troubles though since pygame wants a newer version of Python than the one supplied by the OS.
Reply
#6
Ah, I didn't know about timer-applet! I can't get it to appear in the add panel options though =(
Reply
#7
I've been using my mobile as a timer. I just set my alarm in 30 min increments.
Reply
#8
In Linux, you could also try
Code:
sleep 5m && aplay sound.wav
or similar in a terminal (supplying your own sound file and changing the time as desired). Or changing the second half to whatever sort of alert you like.

Should work in OSX (I'd assume they'd have sleep), and you could use the 'say' command for the sound, which could lend itself to fun.
Reply
#9
bombpersons Wrote:Ah, I didn't know about timer-applet! I can't get it to appear in the add panel options though =(
That's weird, I just install timer-applet and it appears in the list:
[Image: timer.th.png]
Reply
#10
Ah, it shows up now! I guess I just needed a restart.
Reply
#11
Timeleft rocks! It's cut down my procrastination majorly and increased productivity whilst maximizing time for fun Big Grin
Reply