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



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



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://
  3. cd sentried && nano
    and change the constants at the top
  4. nano sentried.desktop
    and set the correct path to the script
  5. chmod a+x
  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.


In your favorite spreadsheet program.

Eye icon from FontAwesome under this licence.