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'm searching for a tiny application to register my working hours so when I come to work and power on my pc it register my entrance and as a power off my pc it register me left.

I know it's as simple as adding a note in gedit but I want it automated, phproject has a timer application as you start a task you push start and as you finish calculate time to register fot task , I'm searching for such small timer.

thanks

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

hamster-applet Install hamster-applet

is an applet for Gnome panel That lets you keep track and monitor your Activities, with the Ability to display a graphical daily, weekly or monthly.

sudo apt-get install hamster-applet

enter image description here

After you right click on an empty area of the panel, select the option "Add to Panel ..." and looking hamster-applet from the list of applets Have you installed.

share|improve this answer
    
I've added a screenshot. You may want to explain in more detail why the questioner wants to choose this app :) (I think it's great) –  Stefano Palazzo Feb 1 '11 at 12:20
1  
I've added a detail description of this applications and how to install –  hhlp Feb 1 '11 at 12:45
    
dear hhlp thanks but i'm not newbie to linux and know to install and use it. and dear axl thanks to introduce me hamster i'll try it as soon as next morning –  amin Feb 1 '11 at 15:17
add comment

Okay, now you've asked for a tiny app, and as any tiny app, this is missing features. But anyway. I've written one, very simple, that may do what you want.

screenshot

You can Download it here, save this file somewhere, right click it, go to PropertiesPermissions and make it Executable, then double click to run it. You can also create a launcher for it and add it to your Applications menu.

  • Please note: I can't promise you to support this, like a paid developer would do for you, but I hope it's helpful none the less. But if you want me to do some little adjustments, just post a comment.

Technical notes: This will store all of the data in a file called task_timer.json, in the same directory the file is run from (probably your home directory). You can change this directory at the top of the file. If the app crashes or doesn't start properly, run it from the Terminal (use cd path/to/file and ./filename to run it) and provide the output, so that I know what's wrong)

share|improve this answer
    
I had fun doing this, but I think Hamster Applet is better. :P –  Stefano Palazzo Feb 1 '11 at 12:43
    
dear stefano thanks for your pretty python program,i love python but no exprience with json i'll try it as soon as possible, thanks for your assist –  amin Feb 1 '11 at 15:25
add comment

You could do something really simple like run a script on login/logout that did something like this:

echo `date +%Y%m%d_%H%M%S` - login >> ~/time.log

This would accumulate the list of timestamps into the text file 'time.log' in your home directory. If you just copy and paste that into a command prompt and press enter, it will create the file and add a timestamp to it.

You could make this more elaborate if you wanted, for example, by having the script poke a record into a database, or something.

share|improve this answer
    
thanks i were searching for a more friendly app so i can manage each month hours and etc but as an on hand solution it's a good idea to write my own script using what you said and add extra info to make it more friendly, thanks i try one and still wait if any one know about some friendly tiny app –  amin Feb 1 '11 at 11:12
add comment

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.