Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to add an applet to my panel, which would count down time for one event in the near future - ~12 days from today. Standard timer-applet does not work - it is not possible to set timer to more than 48 hours.

Is there a ready applet for this?

Or if there is no such applet, is it hard to write one?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You could modify the existing applet.

Open a terminal type :

sudo gedit /usr/share/pyshared/timerapplet/ui/DurationChooser.py

change the line MAX_HOURS = 48 to MAX_HOURS = 336(for a maximum of 14 days) restart the applet and you won't be limited by 48h any more.

share|improve this answer
    
Wow! Thanks a lot, that is exactly what I needed! –  Rogach Aug 21 '11 at 16:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.