Semirelated but I run timesnapper, which is a private tracking software running only on my PC so I can check if I've forgotten to save a doc and wanted to see what it looked like 2 hours ago.
Interesting! Link: http://timesnapper.com/ What would be the *nix alternative?
https://alternativeto.net/software/timesnapper/
I haven't tried any personally, but digging through the alternatives I actually didn't see any resembling it. All the other alternatives were designed to manage employees & their time. None of them seemed to offer video playbacks like timesnapper, only screenshots. And they worked online which is a giant red flag for me.
The closest one I could find though for linux and macOS is this one called productivity-peach https://www.etopian.com/software/automatic-screenshots-windo... . I strictly wanted to avoid "remote monitoring" or "employee-tracking" type software
I did pay $30 for timesnapper (one license works on more than 1 PC). Timesnapper is nice, you can playback your entire day and see everything that was done. Super useful if you do sysadmin stuff as well, sometimes you might change a setting on AWS/cpanel/etc and it screws up everything. Now you can go back and see what you changed. You can add a password too which I do as well, your video playbacks are encrypted