[MPlayer-users] [MP-users] Move mouse to disable screensaver
Mihai T. Lazarescu
mtlagm at gmail.com
Wed Feb 27 13:08:01 CET 2008
On Wed, Feb 27, 2008 at 06:55:45AM -0500, The Wanderer wrote:
> Reimar Döffinger wrote:
> > On Tue, Feb 26, 2008 at 05:49:56PM -0500, The Wanderer wrote:
> >> Quite some time ago, MPlayer used to disable screensaver
> >> automatically when run and enable it again on its own, but this
> >> seems to have fallen by the wayside with some now-long-ago changes
> >> to make the screensaver-related code more generic and less
> >> implementation-specific; it hasn't worked at all for me ever since.
> >> I don't really miss it much anymore, either, but it certainly
> >> bothered me at the time.
> > Well, you have to configure it with -heartbeat-cmd to run the command
> > that pings/disables your screensaver.
> This would work now, yes (assuming that the command to disable the
> screensaver does not make it necessary to later use a *different*
> command to re-enable it, as is the case with 'xset s off' and 'xset s
> on'), but the original breakage I was talking about came long before I
> remember any mention of '-heartbeat-cmd' on the development lists -
> years before, in fact, IIRC.
You may consider using in the script both commands in sequence:
xset s off # to reset screensaver timer
xset s on # to reenable the screensaver
The call period of the script should be lower than the
More information about the MPlayer-users