Here are few ways to prevent
xautolock corners
see previous post
xidlehook
simply use xidlehook to launch the screensaver and use the following parameters
--not-when-audio
--not-when-fullscreen
see previous post about xautolock alternatives
caffeine
https://code.launchpad.net/~caffeine-developers/caffeine/main
currently at 2.8 version, quite no settings. The code works and detects things by its own.
Not really maintained, except lib updates and translations, there are quite no new features for years, but it works.
caffeine-ng
https://codeberg.org/WhyNotHugo/caffeine-ng
a fork from 2.4 version, the reason of the fork is explained on the repository. But to sum up, caffeine had a bunch of features and settings before the 2.4, then everything was removed because the code was supposed to be magic and solve all problems, people disagreed, so a fork was created.
gnome shell extension caffeine
https://github.com/eonpatapon/gnome-shell-extension-caffeine
not related to the others
- not maintained