#!/bin/bash # # Do not let the screen to be blank. # Useful while watching or contemplating something. # # Parameters INTERVAL="10" echo "Will virtually press the Ctrl key every $INTERVAL seconds." echo "Press Ctrl-C to exit." while true; do xdotool key ctrl; echo -n '.'; sleep $INTERVAL; done