Installing ActivityWatch on Fedora CoreOS

ActivityWatch is a powerful open-source time tracking software that monitors your computer activity and helps you track how much time you spend on each task. In this tutorial, you will learn how to install ActivityWatch on Fedora CoreOS latest.

Prerequisites

  1. A running instance of Fedora CoreOS.
  2. A user account with the sudo privilege.

Step 1: Update the system

Before you begin, update your Fedora CoreOS system with the latest updates and security patches by running the following command:

sudo rpm-ostree update

This command fetches the latest updates and installs them on your system.

Step 2: Install the required dependencies

To run ActivityWatch on Fedora CoreOS, you need a few dependencies. They are curl, tar, gzip, and jq. To install them, run the following command:

sudo dnf install curl tar gzip jq -y

Step 3: Download and install ActivityWatch

To download and install ActivityWatch, run the following command:

curl -LO https://github.com/ActivityWatch/activitywatch/releases/latest/download/activitywatch_linux_x86_64.tar.gz && \
tar -xvf activitywatch_linux_x86_64.tar.gz && \
cd activitywatch-linux && \
sudo ./aw-linux --prompt

This command downloads the latest version of the ActivityWatch binary file, extracts it to the current directory, navigates into the extracted directory, and runs the ActivityWatch application.

The --prompt option prompts you to configure and start the ActivityWatch service.

Step 4: Start the ActivityWatch service

Once you configure ActivityWatch using the --prompt option in the previous step, the service will start automatically on the next boot. However, you can start the service immediately using the following command:

sudo systemctl start aw-server.service

To check the status of the service, run:

sudo systemctl status aw-server.service

This should print a message that the service is active and running.

Step 5: Access the ActivityWatch web interface

Finally, you can access the ActivityWatch web interface by opening a web browser and navigating to http://localhost:5600 or http://[IP_ADDRESS]:5600 from another machine on the network.

That's it! You have successfully installed and configured ActivityWatch on Fedora CoreOS. You can now start tracking your computer activity and using the powerful features of ActivityWatch.

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!