ActivityWatch is a free and open-source time tracking and activity monitoring software. It tracks your computer usage and gives you insights into how you spend your time. In this tutorial, we will go through the steps to install ActivityWatch on FreeBSD latest.
Before we start, make sure you have the following:
ActivityWatch requires certain dependencies to be installed in order to run. Run the following command to install these dependencies.
sudo pkg install -y python3 py37-setuptools py37-psycopg2
Run the following command to download ActivityWatch:
git clone https://github.com/ActivityWatch/activitywatch.git
Next, change to the activitywatch directory by using the command:
cd activitywatch
Finally, run the following command to install ActivityWatch:
sudo python3 setup.py install
The next step is to configure ActivityWatch. Use the command below to create a configuration file:
activitywatch --gen-config
This will generate a configuration file named .activitywatch.conf
in the home directory. Use the following command to open this file:
nano ~/.activitywatch.conf
Configure the preferences based on your requirements. For example, you can configure the port number and the database location like this:
[server]
port = 5600
[database]
location = ~/.local/share/activitywatch/aw.db
Save and close the file.
Finally, run the following command to start ActivityWatch:
activitywatch start
If you want to stop ActivityWatch, use the following command:
activitywatch stop
In this tutorial, we have gone through the steps to install and configure ActivityWatch on FreeBSD Latest. Now that you have ActivityWatch installed, you can track your computer usage and get insights into how you're spending your time.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!