4

I'm searching for a tiny application to register my working hours so when I come to work and power on my PC it registers my entrance and as I power off my PC it registers that I've left.

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

Zanna
  • 72,312
amin
  • 449

3 Answers3

6

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)

6

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 them in daily, weekly or monthly views.

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 look for hamster-applet from the list of applets installed.

Axl
  • 76
2

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.