Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Can I configure Flash to automatically disable xscreensaver while it's playing video? Or, conversely, configure xscreensaver not to trigger while Flash is playing video?

I've seen this question on disabling the screensaver manually.

share|improve this question
1  
did you try this (Looks like a duplicate). If it does not work, mention it in the question. –  rozcietrzewiacz Aug 26 '11 at 23:31
    
I was actually looking on an automatic solution, but doing it manually with such a small command is also an option. Thanks! –  grm Aug 27 '11 at 9:19
add comment

2 Answers 2

up vote 2 down vote accepted

You'll find different scripts in order to do that on ubuntu forum. It's quite hacky and it does not seem that a clean way exist.

share|improve this answer
add comment

I don't think you can do this in the settings for either flash or xscreensaver. However, is it possible that you are streaming video from another site? You could write a script that ran netstat and looked for established connections on a certain port or maybe site and then xset s off; xset -dpms ; sleep XXX, then reenable. Then just background the script.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.