How to Install ActivityWatch on Arch Linux

ActivityWatch is an open-source software that monitors your computer usage and generates reports on your activity. It is a great tool for tracking your productivity and time management. In this tutorial, we will show you how to install ActivityWatch on Arch Linux.

Prerequisites

Before we start, make sure your system is up to date by running the following command:

sudo pacman -Syu

Installing ActivityWatch

To install ActivityWatch, follow these steps:

  1. First, we need to add the ActivityWatch repository to Arch Linux. To do this, run the following command:

    sudo pacman -S git
    
  2. Next, clone the ActivityWatch Git repository by running the following command:

    git clone https://github.com/ActivityWatch/activitywatch.git
    
  3. Navigate to the cloned repository by running the following command:

    cd activitywatch
    
  4. Run the following command to install the dependencies:

    sudo pacman -S python-pip
    pip install -r requirements.txt
    
  5. Finally, install ActivityWatch using the following command:

    python setup.py install
    

Running ActivityWatch

Once you have installed ActivityWatch, you can start it using the following command:

activitywatch start

To generate a report on your computer usage, run the following command:

activitywatch generate-report

You can find the generated report in the ~/.local/share/activitywatch/reports directory.

Conclusion

ActivityWatch is a powerful tool for monitoring your computer usage and improving your productivity. Following the steps above, you should now have a working installation of ActivityWatch on your Arch Linux machine.

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!