Table of Contents
Abstract
arbtt is a background daemon that stores which windows are open, which one has the focus and how long since your last action (and possibly more sources later), and stores this. It is also a program that will, based on expressive rules you specify, derive what you were doing, and what for.
The log file might contain very sensitive private data. Make sure you understand the consequences of a full-time logger and be careful with this data.
arbtt comes in the form of a Cabalized[1] package, and is available from hackage. The easiest way of obtaining and installing arbtt is via cabal-install. If you have cabal-install available, just run
$ cabal install arbtt
to download, build and install arbtt.
You can fetch the latest arbtt source tarball from hackage, at http://hackage.haskell.org/package/arbtt. Extract the tarball and run the following commands to build and install the arbtt binaries:
$ runhaskell Setup.hs configure $ runhaskell Setup.hs build $ runhaskell Setup.hs install
To have arbtt gather useful data, you need to make sure that
arbtt-capture is started with your X session. If you use
GNOME or KDE, you can copy the file
arbtt-capture.desktop
to
~/.config/autostart/
. You might need to put the full
path to arbtt-capture in the Exec line there, if you did
not do a system wide installation.
By default, arbtt-capture will save one data sample per
minute. If you want to change that, you can pass --sample-rate
to arbtt-capture, where
RATE
RATE
specifies the sample rate in seconds.
Obviously, you can already read the documentation. If you still want to
build it yourself, enter the directory doc/
and run
make for the documentation in HTML and PDF format.
If you want to try the latest unreleased state of the code, or want to contribute to arbtt, you can fetch the code with
darcs get http://darcs.nomeata.de/arbtt
[1] Cabal is the common software packaging for Haskell programs and libraries, see http://www.haskell.org/cabal/.