Sentried

Sentried is an Ubuntu panel indicator that logs the currently active window and how long it's been open.

It helps to train to be more disciplined by keeping track of what you're spending your time on.

It is also very helpful for when making invoices for clients because of the

projects_setup.json

Goals

How does it work?

It checks the currently active window every half a second, and checks if the window has changed. If it has, the start and end times of the window are logged. Simple.

Source is here.

Sample generated log

Download

Installing

Well, installing is totally manual.

  1. sudo apt-get install python3-gi gir1.2-wnck-3.0 gir1.2-appindicator3-0.1
  2. git clone ssh://github.com/regoje/sentried
  3. cd sentried && nano sentried.py
    and change the constants at the top
  4. nano sentried.desktop
    and set the correct path to the script
  5. chmod a+x sentried.py
  6. mv sentried.desktop ~/.config/autostart
  7. nano projects_setup.json
    and set up project (it's additional column)
Now, it'll start on boot and watch all you do!

Combining files

for file in sentried-2019-04-*; do cat $file >> sentried-2019-04.csv; done
– would combine all April 2019 files.

Analysis

In your favorite spreadsheet program.

Eye icon from FontAwesome under this licence.