5

Basically it should provide a report:

  • with the total time spent in program X
  • with a graph of how much time was spent in program X at what time of day (something like Github graph of activity) or something like graph in WhatPulse (see image below). It would be also OK to not produce any graphs whatsoever but allow export of data in some processable format
  • that works on Ubuntu
  • entire processing of data is done locally, no data is submitted anywhere

Bonus:

  • Open Source
  • Gratis

Note - I am aware about question A program to log how much time you spend in what program but all replies are about software that is not working on Linux (question is about Windows software) or is a spyware that hopefully is not sharing my private data (either intentionally or unintentionally).

enter image description here

2

As apparently there is no program like this so I made my own. It is a simple Ruby script collecting data and producing extremely simple statistics - https://github.com/matkoniecz/Beholder

An example of output:

Unique entries:
120 (0%) - Saudi Arabia's War on Witchcraft — The Atlantic - Mozilla Firefox
150 (0%) - Stormscapes 2 on Vimeo - Mozilla Firefox
348 (1%) - Mnemosyne - pronunciation
386 (1%) - OpenStreetMap - Mozilla Firefox
400 (1%) - New Tab - Mozilla Firefox
467 (2%) - Mozilla Firefox
561 (2%) - Mnemosyne - +
594 (2%) - CartoCSSHelper - [~/Documents/OSM/tilemill/CartoCSSHelper] - .../test.rb - RubyMine 7.0.4
2351 (11%) - why_are_you_reading_this_fictional_output?.ods - LibreOffice Calc

Common words:
1332 (6%) - OpenStreetMap
1356 (6%) - 7.0.4
1362 (6%) - RubyMine
1563 (7%) - supercell
1593 (7%) - Gmail
2351 (11%) - .ods
2479 (12%) - Calc
2582 (12%) - LibreOffice
11528 (56%) - Mozilla
11528 (56%) - Firefox

Some problems are immediately obvious - for start it is a command line, Mozilla Firefox and other programs appear multiple times in list of common words as names are containing more than one word, lack of fancy graphs etc.

It is iterative Pareto principle - 20% work resulting in 80% of effects sounds nice. What about 20% of 20% of 20% resulting in 80% of 80% of 80% effect? Or, in more readable form: 0,8% of work resulting in 50% of effect.

  • I accepted my own answer, but I will happily change it in case of answer with program doing more than it can be achieved with three simple loops. – Mateusz Konieczny Mar 14 '15 at 13:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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