Running Commands when Computer is not in use

Hey there!
Is it possible to run cmatrix or really any other command when the computer isn't in use for a specific amount of time? Almost like a screensaver.

I want to run cmatrix in full screen when my computer isn't in use. Is that possible? If it is, are there any arguments that will make the CLI start in full screen?

Thanks in advance!

https://ubuntuhandbook.org/index.php/2020/07/simulate-the-matrix-display-ubuntu-20-04/amp/

Yes, I use xautolock on some machines:
In your case:

sudo apt install cmatrix xautolock xterm

For fifteen minute delay:
xautolock -time 15 -locker "xterm -fullscreen -e cmatrix" &
The & tells the command to run in background.

You can add this as a Startup command to your startups.

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.