Re: screensaver events
Daniel Caujolle-Bert <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
H}kan Hjort wrote:
> Tue Jan 14 2003, Neil Stevens wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>On Tuesday January 14, 2003 02:47, Damien U wrote:
>>
>>>I used to run the KDE screensaver, and somehow xine still managed to
>>>stop that from coming up. I now use the xscreensaver verison 4.00
>>>because they look nicer :) haven't tried ogle with xscreensaver yet! But
>>>since like 65% of linux users use KDE or something, it'd be a good idea
>>>to be able to disable the KDE screensavers (I dunno what xine does, it
>>>doesn't mention anything about KDE, but it works...)
>>
>>Temporarily disabling the KDE-controlled screensaver and power saving is
>>the job of a KDE UI to ogle, I say.
>>
>
> We'd be glad to do it too if we knew how. Preferably without introducing a
> dependency on KDE, so you can still install/build it without having KDE.
> As with XScreensaver, one does not want to turn it off and resart it after
> exiting Ogle. That could leave the computer without a screensaver if Ogle
> crashed or was killed. In the case of XScreensaver we a run the external
> command every minute during playback that resets the idle time in the
> screensaver. I.e it's still active we just tell it that every now and then
> that 'the user is really using the computer even though he/she is not
> typing or moving the mouse'.
>
> Anyone know some KDE guru that would be able to tell us how to do this?
In xine we solve this real pain in ass *screensaver problem with the
XTest extension. We simply simulate user action (press/release shift
key). If xine crash, *screensaver areen't modified at all (we didn't set
any XScreenSaver parameter at all).
Cheers.
--
73's de Daniel, F1RMB.
-=- Daniel Caujolle-Bert -=- [email protected] -=-
-=- [email protected] (AMPR NET) -=-