Ubuntu – Disable screensaver while watching flash videos

11.04display

I generally watch lot of lengthy videos on YouTube. I always experience a problem because the screensaver is activated every 5 minutes.

I would like to know how to disable the screensaver while watching flash videos. I know, that I can change the screensaver timer or completely disable the screensaver. But I don't want to do that. I just want to disable it while I am watching full screen videos on my browser.

Update: I am using google chrome.

Best Answer

You'll have to patch the flash-player to send the appropriate signals, like Totem does. Unfortunately, most people have to use Adobe Flash, which is proprietary software.

But did you know that Totem supports watching videos from Youtube? It does deactivate the screensaver when you're playing stuff. You find it in the dropdown list that normally says playlist in the right-panel of Totem. Hope that helps. :)