How do I stop the screen from blanking when I watch 1 hour Youtube movies?
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have the same problem that I don't want to turn off the settings for when the system is really not in use, but it would be nice if it could recognize that a video player is running and disable the screen blanking. I'm thinking of buying one of those bobbing duck toys to hit the space bar periodically.
At times I've used a rather non-elegant solution with xautomation from the SlackBuilds repository. I put the following in a script and run it from an xterm whenever I don't want screen blanking/screen savers to initiate, then just ctrl-c to terminate the script when the video has finished.
xte 'mousermove 3 3'
xte 'mousermove -3 -3'
And - luckily webbrowsers and adobe flash do not know about disabling the screen saver. Let's keep it that way!
On other platforms a running plugin video disables the screen saver or screen lock, while a paused video doesn't do that. And that's exactly what the user expects. So let's fix that bug! Oh wait! the Linux plugin is closed source and in EoL maintenance mode. So the Linux desktop is screwed...
BTW: The same happens to game controllers. Although they're just /dev/input devices, like keyboard and mouse, they're not recognized by xscreensaver. So it blanks the screen while the user is using a controller exclusively without touching keyboard and mouse...
Please excuse me for probably being a bit thick about this, but why is all this extra stuff necessary when there is a ``Stop XScreenSaver'' checkbox in the ``Misc'' tab of the Preferences one can access through the MPlayer gui? It has not worked for me in the past and I was too lazy to try to fix it (I used AlienBOB's VLC package instead, just for that reason). Is this an MPlayer bug?
Last edited by michaelslack; 09-29-2013 at 10:55 PM.