Install arbtt by entering the following commands in the terminal:
sudo apt update sudo apt install arbtt
Description:
Automatic Rule-Based Time Tracker
The program arbtt, the automatic rule-based time tracker, allows you to investigate how you spend your time, without having to manually specify what you are doing. arbtt records what windows are open and active, and provides you with a powerful rule-based language to afterwards categorize your work.
Homepage: http://hackage.haskell.org/package/arbtt
Version: 0.9.0.13-1
Section: universe/haskell