WorkTime can track time on Linux, UNIX or Mac OS X workstation, also different Linux/UNIX and Windows workstations
can work in the client-server mode with the same database, and database server
can be installed on the Linux as well.
1. Installation
1.1. Install WorkTime for Wine
Download a separate installation file: worktime_wine.exe
(do not install Windows installation on Wine - it doesn't run on Linux/Unix), save it to your "C:" folder and run with Wine:
Install as usual.
1.2 Prepare the Tracking Script
In order to track Linux applications WorkTime requires special Tracking Script
to be running.
At first, make script executable - open Terminal and run command: chmod a+x .wine/drive_c/Program\ Files/WorkTime/Wine/activetask.script
Note: If you have changed default destination folder (default is "C:\Program Files\WorkTime") or your Windows C disk is located not in the "~/.wine/drive_c" folder - update it in the Wine\activetask.script file, parameter sFolder:
2. Run WorkTime
2.1. Start Tracking
script.
Open Terminal and run command: .wine/drive_c/Program\ Files/WorkTime/Wine/activetask.script
2.1.1. Alternate you can run this script in the background (so you can close Terminal): nohup ~/.wine/drive_c/Program\ Files/WorkTime/linux activetask.script >>/dev/null
&
2.1.2. Alternate you can make this script to be run at startup - see your system
startup setup. In this case you need to modify this script - enter absolute path to the
destination folder (see 1.2 Note: replace ~/ with your home folder, e.g.
/home/nester/)
In Ubuntu add to startup at System>Preferences>Session, click Add Startup
Program. See screenshot
2.2 Start WorkTime from your Application | Wine menu:
or start it from the Terminal, e.g.:
wine ~/.wine/drive_c/Program\ Files/WorkTime/WorkTime.exe
- that's all!