Sign inSign up

dim13/gone

By dim13

•Updated almost 10 years ago

Where has my time gone? X11 automatic work activity tracker in pure Go.

Image
0

347

dim13/gone repository overview

⁠Gone Time Tracker

Where has my time gone? X11 automatic work activity tracker in pure Go.

Disclaimer: may contain traces of bugs or be sometimes fubar. :) Gone is work in progress. Be patient, update often, file bugs and send pull-requests. After all, I'm just a hobbyist gopher.

⁠Synopsis

Gone performs automatic time accounting on EWMH capable Window Managers by looking at _NET_ACTIVE_WINDOW and storing time spent on a particular application.

Gone is aware of ScreenSaver and suspends accounting if ScreenSaver triggers.

As fallback (see caveats) gone also stops at user inactivity. The inactive time is counted separated.

Results are presented at http://localhost:8001/⁠

⁠Installation

go get github.com/dim13/gone

⁠Caveats

  • For xmonad Window Manager EwmhDesktop extension is required.

  • xscreensaver seems to ignore MIT-SCREEN-SAVER extension. Use xidle/xlock instead and/or activate X11 ScreenSaver:

    xset s default

⁠Alternatives

http://arbtt.nomeata.de/⁠ - automatic, rule-based time tracker

⁠Dockerize

docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix dim13/gone

Tag summary

Content type

Image

Digest

Size

247.1 MB

Last updated

almost 10 years ago

docker pull dim13/gone