Skip to content

Latest commit

 

History

History
86 lines (61 loc) · 2.57 KB

memacs_arbtt.org

File metadata and controls

86 lines (61 loc) · 2.57 KB

## Time-stamp: [2017-02-07 Wed 19:25] manu ## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/

memacs-arbtt

arbtt is a cross-platform, completely automatic time tracker.

Current status

Works for me on Archlinux and Xubuntu 16.04 with arbtt v0.9. Please report any problems you find opening a new issue or writing an email to [email protected].

Using arbtt-stats to dump intervals of tags or categories.

Installation

Make sure you’ve at least arbtt v0.9 installed and configured properly.

Archlinux

You need to use cabal-install:

cabal install arbtt

Ubuntu

sudo apt-get install arbtt

Options

  • --logfile, use this file instead of $HOME/.arbtt/capture.log
  • --categorizefile, use this file instead of $HOME/.arbtt/categorize.cfg
  • --also-inactive, include inactive samples
  • --intervals, list intervals of tag or category (the latter has to end with a colon)

Example Invocation

Depending on your arbtt tags and categories you can also use multiple --intervals (at least one is required) and set the --logfile and --categorizefile paths manually. --also-inactive will include idle times as well. Use --csv to import an already existing stats file.

memacs_arbtt.py --intervals web -o /path/to/arbtt.org_archive

memacs_arbtt.py --intervals Program: -o /path/to/arbtt.org_archive

memacs_arbtt.py --intervals Desktop: --also-inactive -o /path/to/arbtt.org_archive

Example Orgmode entries

* Memacs for arbtt                                          :Memacs:arbtt:
** <2017-02-05 Sun 20:00:00>--<2017-02-05 Sun 20:15:00> Web	:web:
   :PROPERTIES:
   :DURATION:   900
   :ID:         6c5bf1a0332016ada4b02854dc3047f46eb9a3cf
   :END:
** <2017-01-05 Thu 02:05:39>--<2017-01-05 Thu 02:06:44> Program	:Program:xfce4-terminal:
   :PROPERTIES:
   :DURATION:   65
   :ID:         4ea74246bc56d260e9877c244c16b00c16fbe883
   :END:
** <2017-01-05 Thu 02:28:58>--<2017-01-05 Thu 02:31:22> Program	:Program:pcmanfm:
   :PROPERTIES:
   :DURATION:   144
   :ID:         c6e48aaeb8dffcbe9e3f6cbfc206fdcb544a3c42
   :END:
** <2017-01-05 Thu 02:28:58>--<2017-01-05 Thu 03:07:04> Desktop	:Desktop:2:
   :PROPERTIES:
   :DURATION:   2286
   :ID:         daecc9cc9d4a233d49c6bd9d66cd075f4026a3a9
   :END: