Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save whinee/c3cef0dde6a8f0a2f568e3f967124ffe to your computer and use it in GitHub Desktop.

Select an option

Save whinee/c3cef0dde6a8f0a2f568e3f967124ffe to your computer and use it in GitHub Desktop.
How to Autostart ActivityWatch in Other Linux Distros

How to Autostart ActivityWatch in Other Linux Distros

  1. Go to the following link: https://github.com/ActivityWatch/activitywatch/releases/latest

  2. Click the Appimage file to download it.

  3. Locate the downloaded app and put it in the following location: /home/[USERNAME]/bin/, whereas [USERNAME] is your Linux username.

  4. Rename the Appimage file to activitywatch.

  5. Inside /home/[USERNAME]/bin/, run the following command:

chmod +x ./activitywatch
  1. Run the following commands to install dex, an autostarter app for Linux:
cd /tmp
git clone https://github.com/jceb/dex.git
cd dex
chmod +x ./dex
sudo cp dex /opt
cd ..
rm -rf dex
  1. Make a new file in /home/[USERNAME]/.config/autostart/activitywatcher.desktop, whereas [USERNAME] is your Linux username, with the following content:
[Desktop Entry]
Type=Application
Exec=/home/[USERNAME]/bin/activitywatch
Hidden=false
X-GNOME-Autostart-enabled=true
Name=ActivityWatch

whereas [USERNAME] is your Linux username

  1. Reboot your Linux machine, then login, and it should autostart!

Thanks for coming to my TED talk :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment