Bonjour, Is it possible to run a terminal at full screen running a script instead of the screen saver ? That means that after 10 minutes of inactivity the screen should go black and show the STDOUT of a script (ex cmatrix or fortune), and then go away when clicking with the mouse / with a keystroke.
I'm running Antergos (ArchLinux) with the last version of Gnome.
If you have any ideas on how I could do this, I would really appreciate.
2 Answers
One option is cmatrix. you can use this command to run cmatrix in a fullscreen gnome-terminal:
gnome-terminal --window --full-screen -x cmatrix
you can assign a keyboard shortcut for this command. For example Super+X as you press Super+X a fullscreen terminal starts running cmatrix, and if you press Ctrl+C it goes away.
-
It's 2020, and lots of things has been changed. I found that the above command does not work any more. you can use below command:
gnome-terminal --window --full-screen -- /bin/sh -c 'sleep 0.1s; cmatrix'
– AmiNimAMay 22, 2020 at 15:41
I've used a fullscreen xterm running a script to disable it when a key is pressed. But it's a screen saver taking all of my CPU. Not really optimized x)
tmux
, set automatic locking, and give it a custom lock command.