Caffeinate : prevent screensaver (Catalina)

catalinascreensaversleep-waketerminal

I'm running this terminal command on Catalina hoping to keep the system awake and prevent the screensaver to start (without having to disable the screensaver in system preference).

caffeinate -d -i -u -s -t 39600

I might have added too much parameter and misunderstood them but it's don't seems to work?

Also, I assume the terminal window need to remain open?
Thanks in advance.

Best Answer

I probably misunderstood the parameter but without the time parameter (-t) it's seems to work fine

caffeinate -d -i -u -s