Xine nolonger keeps screensaver from turning on

So im not sure exactly what caused this but when playing movies through the xine-ui has stopped keeping my system active causing my monitor to turn off. This started happening about a week ago and I cant remember installing any xine related updates, but was wondering if anyone knows how to make xine keep the system active to prevent this. I could have sworn there was an option for this but I cant seem to find it anymore.

Hi,

I didn’t thought there was a solution to this… This problem plagues all linux distro. I never heard of a media player capable of preventing it. Even in windows the problem arise… :stuck_out_tongue:

Check in OBS, there exist a package that does just taht ; preventing the screensaver to start. It is called cafeine.

Actually there is a solution to this and the player is mplayer. Most likely it works with smplayer as well. You have to edit the file :

~/.mplayer/config

And add a line in there that says :

heartbeat-cmd="qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity"

This solution doesn’t work on some KDE versions but it’s working perfectly well on KDE: 4.5.5 (KDE 4.5.5) “release 1”. As far as I can remember it was working as well on the default openSUSE 11.3 KDE version but wasn’t working on KDE 4.3.5.

Best regards,
Greg

On 2011-02-15 18:36, baaldemon wrote:
>
> So im not sure exactly what caused this but when playing movies through
> the xine-ui has stopped keeping my system active causing my monitor to
> turn off. This started happening about a week ago and I cant remember
> installing any xine related updates, but was wondering if anyone knows
> how to make xine keep the system active to prevent this. I could have
> sworn there was an option for this but I cant seem to find it anymore.

Xine, right click, settings, setup.
GUI tab.
Screen saver reset interval, set to a sensible value (o disables).

You need to be at “expert” level at least to see this setting.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On 2011-02-20 23:03, Carlos E. R. wrote:

> (o disables).

I meant “0”, not “o”.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Yes there is a setting there but it doesn’t work at least for my xine+KDE combo :slight_smile:

Best regards,
Greg

That was the setting I was thinking about, dont know how I missed it when I went through the configuration (I was at the expert level just overlooked it I guess). But yeah it was still set and changing it didnt seem to help. Still wish I knew what caused this to stop working on my machine. I generally watch a show while trying to go to bed which really sucks with this problem. Guess Ill try and see what the other players do, but Ive never liked their interfaces as much as xines.

On 2011-02-23 16:06, baaldemon wrote:
>
> That was the setting I was thinking about, dont know how I missed it
> when I went through the configuration (I was at the expert level just
> overlooked it I guess). But yeah it was still set and changing it didnt
> seem to help. Still wish I knew what caused this to stop working on my
> machine. I generally watch a show while trying to go to bed which
> really sucks with this problem. Guess Ill try and see what the other
> players do, but Ive never liked their interfaces as much as xines.

Well… you can ask in the xine mail list. It maybe that the desktop
changed something that makes xine’s trick to fail.

What xine does is emulate a keypress every so many seconds, so that the
display thinks there is keyboard activity. There is no common method to
tell the desktop to be quiet, because each one (kde, gnome, xfce, etc) have
their own interface. So the xine people used that trick. I think they touch
the caps lock led.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)