How to disable xscreensaver while MPlayer is running?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to disable xscreensaver while MPlayer is running?
Hello,
I installed "mplayer-svn_20081215" from the SlackBuilds dot org and noticed that xscreensaver was still active while watching video with MPlayer. I found an option for disabling screensaver using MPlayer's GUI, but it does not work. Then I tried to add "stop-xscreensaver=yes" line to "~/.mplayer/config" file. It did not work again. Do I have to use an option for disabling xscreensaver as default while compiling package?
Thanks.
Last edited by sertmusluman; 02-01-2009 at 06:05 AM.
If you use KDE, I remember reading somewhere that you need to use a different command in ~/.mplayer/config to pause the screensaver while mplayer is running. If I can find the info again I'll post it.
If you use KDE, I remember reading somewhere that you need to use a different command in ~/.mplayer/config to pause the screensaver while mplayer is running. If I can find the info again I'll post it.
I use XFCE. Thank you very much digger95.
I have an old MPlayer precompiled package from "linuxpackages.net". I reinstalled it again, it stops screensaver while running, but it does not allow SMPLAYER to use new properties that is why I want to upgrade MPlayer to latest version.
Im having a similar problem, with my screen going black after 10 minutes of keyboard/mouse inactivity. Its a real pain when watching TV in my browser (although mplayer is fine with no black screens for the duration of the TV program/movie).
It doesnt appear to be an 'xscreensaver' problem, because I have uninstalled it, and the same thing happens.
Thanks for the info, Wadsworth. Will commenting out the line in /etc/rc.d/rc.M prevent the screen from blanking out at the console also? I've always wondered how that even happens since technically X isn't running at console, right?
The screen blanking is the monitor's dpms "Energy Star" suspend function. Another way to disable it temporarily is to run "xset -dpms". You can then re-enable it with "xset +dpms".
According to Wikipedia, dpms is built into the monitor and controlled through the video card. I don't imagine the xorg settings would work in console mode, but using xset might work, unless it also requires a running x-server (I'm not going to shut down my x to test it ). However, you can also use vbetool to change the settings when X isn't running.
Thanks very much David. I'm fairly new to Linux so a lot of times when I am at console trying to figure out what the heck I am doing (which is more often than not) my monitor blanks out, and it never did that under windows. I will try your suggestions.
P.S. Sorry to threadjack the OP's original post. Let's get back to how to disable xscreensaver while mplayer is running. That will be of benefit to a lot of people I think, and I've read that it is a fairly common problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.