12 Jan 2006 19:29

MPlayer vs. XScreensaver

Are you sick of the screensaver kicking in at all the wrong times while watching a video with mplayer in full screen? The mouse doesn't work. The now-not-fullscreen window is all distorted. Sometimes the keyboard is unresponsive until you type the magic incantation (hint: alt-tab). Well I'd had enough.

Just to show how lazy I was, the answer is right in the manpage. You just need to specify the -stop-xscreensaver option. But that's a pain, so what you really want to do is this:

mkdir -p ~/.mplayer
echo "stop-xscreensaver=yes" >> ~/.mplayer/config