You are not logged in.
Hi.
Does anybody know how to make (s)mplayer to disable KDE's screensaver?
I have found number of posts about xscreensaver (which I don't even have installed),
or gnome-screensaver (the same), but nothing for KDE.
stop-xscreensaver=1 in mplayer's config doesn't help.
changing powersave options to 'presentation' doesn't help
enabling/disabling 'stop screensaver' in smplayer's options doesn't help.
The only thing that works is disabling the screensaver in KDE's configuration, but this is hardly a solution.
Any ideas? Suggestions?
EDIT:
I have:
kde 4.3.1 (official, not kdemod)
mplayer 29411-3
smplayer 0.6.8-1
Last edited by sjakub (2009-09-07 16:20:10)
Offline
This appears to be an old mplayer bug.
Perhaps this thread can help (I did not try it out, however): http://smplayer.berlios.de/forums/viewt … p?pid=6461
To know or not to know ...
... the questions remain forever.
Offline
I have seen this thread. But I don't even have gnome-screensaver-command...
Offline
I also have this problem...
Offline
I have seen this thread. But I don't even have gnome-screensaver-command...
It should be possible to adapt to kscreensaver although there seems to be no direct option for this. (I cannot check currently because I removed kscreensaver in favor of xscreensaver.)
You could perhaps try this python script http://www.alunduil.com/svn/stop_kscree … ensaver.py
To know or not to know ...
... the questions remain forever.
Offline
I've read this topic http://smplayer.berlios.de/forums/viewt … p?pid=6461, and modified the command line a bit:
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity"
After adding this line to ~/.mplayer/config screensaver seems to no longer start during video play.
Offline
Thanks a lot!
Adding
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity"
to ~/.mplayer/config did the trick!
Offline
Couple of days ago it was working without anything extra... Then I upgraded (kdemod 4.3.1) and istanlled some packages and now it's not working without that workaround...
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
They must have changed something. I really like dbus-based approach, but there could be more info about this...
Offline
To be honest i haven't known about this issue before reading this topic. Then i was like - lets see if i can reproduce this and i've noticed the same problem ;/
I've never had any problems with (s)mplayer + screensaver before, so i guess its bug/incompatibility with (s)mplayer + kde 4.3.1
Offline
The workaround doesn't work for me...
Any ideas how to help debugging the issue... Maybe power devil monitor turn off is the culprit...
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
This workaround only prevents kscreensaver from activating. If it is something else that turns your monitor off or you use different screensaver app, then most likely it won't work.
You can try to disable power devil, maybe he's the one that turns your monitor off
Offline
Adding:
heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver org.freedesktop.ScreenSaver.SimulateUserActivity"
to ~/.mplayer/config
Have done the trick for me.
Offline
Alas, not for us that use Powerdevil for turning off screen and avoid xscreensaver...
My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...
Offline
If you're interested, I've created a script that disables screensaver, suspend, display power management for KDE because I found that sometimes I like to watch flash tv shows too. It's called movietime and can be found here.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
It also works for me. I was looking for a solution for smplayer on KDE (you can find many information for gnome) and here I found it. Thanks a lot hash and angrycore!
Offline
The heartbeat-cmd option works fine in mplayer. However, in smplayer it doesn't work.
Does the mplayer ignore ~/.mplayer/config file when run by smplayer?
Offline