On Sat, Jun 18, 2011 at 16:42, Carsten Haitzler <ras...@rasterman.com> wrote: > On Sat, 18 Jun 2011 16:11:12 +0200 Mathieu Taillefumier > <mathieu.taillefum...@free.fr> said: > >> >> >> I see one problem with this method. The backlight intensity will only be >> >> reduced when the screensaver will turn on and will be back to normal >> >> when it is off. However these events can occur after many minutes of >> >> inactivity. What I wish to do is to actually reduce the backlight to >> >> idle mode (after 10 s for instance) independently of the screensaver >> >> option, that is why I used polling in my code. >> > >> > set screensaver timeout to 10s. can be done. :) you will have to take over >> > screensaver functionality instead of blanking or putting up screensaver >> > window/anim/image, you dim. then add a timer to actually put up real >> > screensaver image (lock and so on or blank) some time later. as such the >> > timer is ok as it ticks off only once - when the timeout from the >> > screensaver start is reached with NO user activity. any exit from >> > screensaver mode would undim and cancel the timer. >> >> Thanks. I thought it was not possible to do that actually, but you prove >> me wrong ;-). I will cook up a solution before the end of the we. > > thats how the screensaver extension is meant to work. how do u think > xscreensaver can work and display some animation INSTEAD of blanking.. when > things go idle... and then at a later point actually turn the screen off if > still idle... :) >
Also, many userspace applications can work with that. Mplayer (and other mediaplayers) for example regularly sends events to keep xscreensaver disabled, thus keeping everything like it should be while watching a movie without manually disabling the behaviour. This, like all the things raster mentioned, would be desirable to keep with the dim feature. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel