Regular screenshots

In Linux Mint MATE1:

sleep 5s; qdbus org.mate.ScreenSaver /ScreenSaver org.mate.ScreenSaver.GetActive

  1. See also How to check if screen saver is running? for other desktops.