How to disable screensaver/monitor standby when fullscreen?
The real question is: How to detect if a window has gone fullscreen (and out)?
I can turn off screensaver by doing xset s off
, but will like to detect if a window has gone fullscreen. That way I can maintain the screensaver timeout for normal work and only turn it off when watching video.
Do you want this for any program in fullscreen mode or is your main concern in this watching movies without interruption? If its mainly movies, many movie players have options to turn of screen savers while playing. Which player are you using?
@Adaephon It is mainly videos, which can come in the form of different video players as well as browsers.