ActivityWatch is a free and open-source time-tracking and productivity measuring tool that helps you track your activities on your computer. This tutorial will guide you on how to install ActivityWatch on your OpenSUSE latest.
Before you begin, ensure that you have:
ActivityWatch requires some dependencies to be installed on your OpenSUSE. These dependencies can be installed using the Zypper package manager.
Open the terminal and run the following command to update the system:
sudo zypper update
Next, run the following command to install the required dependencies:
sudo zypper install python3 python3-pip python3-virtualenv libffi-devel libxml2-devel libxslt-devel libssl-devel gcc musl-dev
After installing the required dependencies, you can download and install ActivityWatch.
Download the ActivityWatch tarball from the official website. You can download it using the following command:
wget https://github.com/ActivityWatch/activitywatch/releases/download/v0.11.0/activitywatch-v0.11.0-linux-x86_64.tar.gz
Extract the downloaded tarball using the following command:
tar -xzf activitywatch-v0.11.0-linux-x86_64.tar.gz
Create a new directory to store the ActivityWatch files:
sudo mkdir /usr/local/activitywatch
Move the extracted folder to the newly created directory:
sudo mv activitywatch-v0.11.0-linux-x86_64/* /usr/local/activitywatch
Add the ActivityWatch executable to your PATH by running the following command:
export PATH="/usr/local/activitywatch:$PATH"
Verify the installation by running the following command:
activitywatch
If the installation is successful, you should see the ActivityWatch CLI interface.
ActivityWatch is now installed on your OpenSUSE machine. You can launch it from the terminal by running the following command:
activitywatch
You can also launch it from the Activities menu or by creating a desktop shortcut.
In this tutorial, you have learned how to install ActivityWatch on OpenSUSE latest. Now, you can track your computer activities and measure your productivity.
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!