Ask Your Question

Revision history [back]

Have a look at the same question posted on askubuntu. The accepted answer for the question do it by running a script in background. The script will periodically check to see whether any flashplayer is running. If so, it prevent screen from turning off until the flash player exits. I think the script will most probably do the work for you.