Package: python-time-track
Track - automatic time tracker for computer workTrack logs the time you're actively working on your desktop computer as well as
the applications you're using in order to create a time chart of your
working day.Track doesnotconnectanywhereand shares your information with nobody!Actually this is why I started this project in the first place..However at the current development stage Track stores all data unencrypted,
so please ensure nobody has access to your Track directory (usually~/.track).UnlikeKTimeTrackerorHamsterTrack aims at zero
user interaction. Once configured you just (auto)start it and Track runs on
it's own.This is an early screenshot to give an idea of how Track works:What it does:logs times when your computer is active and which applications are in focushandles a list of regex-rules which assign certain activities to private workWhat it does not:manage an abstract task list you would have to maintainsend any information to someoneWhen you should use Track:in case you're working mainly on a computer like software developersif you want to know how long you've been at work todayif you want to know how much of your private time you spent on the computerif you want to waste your time with another self profiling toolThe currentproject stateis (still! damn!) very early (see theschedule).Very basic features are still missing so it might be wise to come back in a
week or so.
However it's totally save to use the tool and it's providing some interesting
information already.Categories and RulesIn order to get an idea how much of the day you spend for work and how much
for private stuff (or how much you spend on project A or project B) track allows
you to define specialruleswhich assign each running program to a category.Right now categories are just numbers (2 for work, 3 for private stuff, 4 for break,
0 for idle and 1 for unassigned programs). In the future I plan to allow arbitrary
categories (or category trees), e.g.:workproject Aproject Bbrowsing on github.comprivate stuffproject Cprocrastinatingbrowsing on reddit.comThe technical approach is very simple: you define standard Pythonregexrules
which are matched against thetitleof the active window.For example - in a very simple world - it might be enough to define that browsing
the internet using "Firefox" is private stuff (category 3) and everything else
is work (category 2). In this case you would just define one rule:regex = `r".*-Mozilla Firefox.*"` -> category = `3`This way every program whose title does not match.*-Mozilla Firefox.*would
be assigned to the default category 0 and allFirefoxbrowser windows would
result in category 1 (which you might beprivatein your eyes).RequirementsBasically you Python3 withPyQt5,psutilandzmqinstalled. Some PyQt5 versions do not
behave well and you will need build-essentials etc to make it work.
For me installing the following packages worked:Linux with X11 (Wayland had some problems when I last checked it)or Windows - it once worked but currently I have no way to check itPython 3+python3-develor equivalent viaapt,dnf, etc.PyQt5via pip (v5.14 worked for me)zmqvia pippsutilvia pipTry this pip command:pip3 install --user --upgrade psutil zmq PyQt5==5.14How to runClone the repo:git clone https://github.com/frans-fuerst/trackRuntrackto start Track client and server. The server will keep running in background if UI
gets closed.To list starting / endings times of recorded days runtrack-cli listKnow limitations / ShortcomingsCurrently Track seems to not work well with Wayland, which might be an issue of both Track and
Wayland. When your're on Linux consider using X11.I started this project 5 years ago when my Python skills were still very weak. Please do either
not look at the code or help me improve it.Trackrecordsdata but still does not evaluate it.track-clidoes some steps in that
direction.No check for plausibility: if - for example - your computer wakes up at 3:12 for just a second
this incident will be recorded and currently there is no way to remove this stray event and
your day will officially start at 3:12Setup / autostart worked once upon a time but doesn't now. But as a Linux Pro you know what to do.Daily note does'nt get cleared on midnight (but you can simply overwrite it)Break (cat 4) cannot be selected in timechartBug: Gnome Icon not workingCategories limited to 0-4Categories as intsTestsHere is how I currently "test" track. It's actually more try and look for crashes :)Delete~/.track/, Try to starttrackOpen all spoilersDelete all rules by pressing deleteadd rulesedit noterestartrules still exist?note still exists?