Install GTimeLog time tracker on Fedora GNU/Linux

GTimeLog is a simple and effective time tracking application for GNU/Linux. It is the preferred tool of top FSFE staff. It is not currently available in official Fedora repositories however, so in order to use it you must manually install it using Python. Fortunately this is simple to do. These instructions were originally written for Fedora 16, but should also work on 17.

Download GTimeLog from the official website:

http://pypi.python.org/pypi/gtimelog#downloads

Extract the downloaded file from the command line:

tar -xzf gtimelog-0.7.1.tar.gz

Enter the newly extracted directory from the command line:

cd gtimelog-0.7.1

Install dependencies from the command line:

sudo yum install python2 pygtk2

Install GTimeLog from the command line:

sudo python setup.py install

GTimeLog should now be installed. You can run it by pressing Alt+F2 and typing gtimelog [enter] in Gnome and KDE.

UPDATE

By default GTimeLog is unable to generate reports of weekly and monthly statistics etc. due to a dependency on the command line mail client Mutt. Mutt isn’t for everybody, and most likely it won’t be installed on your system either. To access generated reports in Gedit text editor, edit the GTimeLog config file using nano:

nano ~/.gtimelog/gtimelogrc

and set “mailer” to Gedit:

mailer = gedit %s

Alternatively you can set the mailer to Kmail, if you’re using Kontact or Kmail, and wish to send your reports as emails (don’t forget to change [email address] and [name] to your own values):

mailer = kmail --subject "Weekly report for [name]" --msg %s [recipient email address]

UPDATE 14.03.13

Version 0.8.1 was released last month. You can upgrade by simply following the original installation instructions again with a fresh copy of 0.8.1. Fedora users who recently upgraded to Fedora 18 from an older version will need to perform this update to use GTimeLog again.