1

I am currently running Lubuntu 18.04 and I was wondering if anyone has any recommendations for a lightweight app that records the total amount of time I spend on the screen every day. I have seen some applications that achieve this but many of them require you to manually start and stop a timer everytime you start working on the computer.

I am looking for an app that will is free, will automaticially startup and will count ALL screentime (a breakdown of how I the screentime was spent would be nice but isn't neccesary). Addittionaly, it would be nice if the screentime app would only record time when my moniter is on (so for example, if I'm listening to music but my moniter is off the app wouldn't record anything).

Any suggestions?

Thanks in advance for your help!

ldias
  • 2,055
  • 2
    Check workflow. See this question for auto-starting applications on login. – dlin Apr 26 '20 at 15:52
  • Thanks @dlin for the response. When I run workflow, I need to have a terminal window constantly running. Is it possible to have workflow running without an open terminal window? – ldias Apr 27 '20 at 13:00
  • 1
    Run the process (e.g xyz) in the background by appending & after the command:

    xyz &

    If you want the process to continue running in the background even after closing the terminal, nohup will ignore the hup signal,

    nohup xyz &

    – dlin Apr 27 '20 at 16:38
  • 1
    @dlin Thanks for your help – ldias Apr 27 '20 at 17:40

2 Answers2

1

Check workflow. See this Askubuntu question for auto-starting applications on login.

dlin
  • 3,830
1

I like ActivityWatch...works with all linux distros.

Requires:

For me, it runs just fine on my older machine (Ubuntu 18.04 LTS + Lubuntu Desktop.) I run it from a python virtual environment.

python3 -m venv venv
# In bash/zsh:

source ./venv/bin/activate

ldias
  • 2,055
Mike Ciffone
  • 126
  • 6