LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2006, 08:40 PM   #1
barcode_linux
LQ Newbie
 
Registered: Oct 2005
Location: USA
Distribution: Gentoo
Posts: 6

Rep: Reputation: 0
KDE Screensaver stops working after mplayer


I noticed that after I view a video file with MPlayer, the KDE screensaver stops working as well as my monitor will not suspend.

and, no I am not using mplayer -stop-xscreensaver (or whatever the switch is).

I have seen some threads with this on google, but those are referring to older bugs in kde-2.x and early 3.0 version. and mplayer wasnt even mentioned. I ran a ps aux and checked to see if mplayer was still running, and no it isnt.

So, I thought that i'd post to this forum and see if anyone has seen a fix for this.


Thanks

Kubuntu 5.10
MPlayer 1.0pre7try2-3.4.5 (compiled from source)
KDE-3.4.3 (Ubuntu package)
X Window System Version 6.8.2 (Ubuntu 6.8.2-77)
 
Old 12-15-2007, 03:36 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Ancient thread, but I was searching on the same problem and it turned this up. In case it helps anybody, I had been running

Code:
#!/bin/sh
/usr/bin/xset -display ":0.0" s 900 +dpms
every ten minutes from cron before I'd identified today that mplayer was the problem (and, indeed, there may still be other broken apps that do similar things). Now that I've identified mplayer, I was going to just write a wrapper script that ran mplayer and then restored my settings, or just give vlc a try or something.

The only diagnostics are that when I *do* run mplayer with the -stop-xscreensaver switch (or the un(der)documented -nostop-xscreensaver switch or conf setting), I get

Code:
xscreensaver_disable: Could not find XScreenSaver window.
which seems to indicate the switch only applies to the separate xscreensaver program and mplayer unconditionally borks X's own screen blanking/DPMS as a separate thing.

BTW, this happens both on Slackware and Debian (in addition to Gentoo) so it's not distro-specific.

A second BTW is that, of course, for a general use workaround, you'd want to establish what the right display was and what the settings actually were and then restore them and so on.

A proper fix would still be welcome, of course.

-- Edit: oh, and I should say that it's not particularly a KDE problem, since I'm not using that.

Last edited by slakmagik; 12-15-2007 at 03:39 PM. Reason: not KDE-specific either
 
Old 08-10-2008, 02:29 PM   #3
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
I have noticed this problem for a long time. I use slackware and have had the same problem with fluxbox, xfce, and kde. I switched to xine for a while and didn't have the problem but I was experiencing lockups while watching videos with xine. This problem has been around so long I would have thought mplayer devs would have fixed it by now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Q] Keyboard stops working after KDE login TheEdge Linux - Software 3 05-29-2006 12:42 PM
alsa stops mplayer WilliamS Slackware 3 09-13-2005 03:35 PM
xscreensavers that are in KDE screensaver applet not working wolfepak Mandriva 3 02-25-2005 02:56 PM
Mplayer Stops Working aminreborn Linux - Software 2 11-18-2004 11:57 PM
KDE Keyboard tool stops working properly enemorales Linux - Software 0 07-07-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration