Re: [e-users] E 0.25.3 locking resets dpms to Standby: 11 Suspend: 12 Off: 13

Carsten Haitzler <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>
On Thu, 28 Sep 2023 10:36:15 -0700 Marc MERLIN <[email protected]> said:

> On Sun, Sep 10, 2023 at 12:14:21PM +0100, Carsten Haitzler wrote:
> > > Basically I have this problem:
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 300    Suspend: 360    Off: 420
> > >   DPMS is Enabled
> > >   Monitor is On
> > > sauron:~$ enlightenment_remote -desktop-lock
> > > sauron:~$ xset q | tail -4
> > > DPMS (Energy Star):
> > >   Standby: 11    Suspend: 12    Off: 13
> > >   DPMS is Enabled
> > >   Monitor is On
> > > 
> > > I looked in the E settings, my blanking timeout is minutes, and my
> > > special timeout when locked is 17 seconds
> > > 
> > > I cannot find where DPMS 11, 12, 11 comes from.
> > 
> > e just sets those to timeout + 10, 11, 12 - so screen blanking time is 1. i
> > don't see this ever happen - i can't really say much. i do not know what
> > logic path causes this.
>  
> Thanks for having a look. On my side it's not happening reliably, so
> havne't pinned it down, although it's definitely linked to the
> screensaver having reset this by the time I unlock the screen.
> I a using E's built in screensaver. I guess I could switch back to xlock
> 
> I just locked with E CTRL+ALT+L, unlocked, and immediately see:
> Screen Saver:
>   prefer blanking:  yes    allow exposures:  yes
>   timeout:  300    cycle:  300
> 
> DPMS (Energy Star):
>   Standby: 11    Suspend: 12    Off: 13
>   DPMS is Enabled
> 
> > there it's set to 10 sec. 0 will turn this feature off so it'll just have
> > the usual blanking timeout (e.g. 10min/600sec in this case). once you
> > unlock the screensaver blanking time should go back to the normal amount.
> > you may find the screensaver timeout will be LESS because of backlight
> > dimming. i had it off in the above example. if i have it on and set to 5
> > seconds like:
> > 
> > http://www.enlightenment.org/ss/e-64fda48aa43879.64018673.png
>  
> mmh, bummer, looks like the SS is gone already.
> 
> I assume you referred to "special timeout when screen is locked"?
> If so, I tried to set it to 0, but locking and unlocking brought me back to
> Screen Saver:
>   prefer blanking:  yes    allow exposures:  yes
>   timeout:  300    cycle:  300
> DPMS (Energy Star):
>   Standby: 11    Suspend: 12    Off: 13
>   DPMS is Enabled
>   Monitor is On
> 
> So, no dice.
> 
> Any idea what I can try to tweak outside of removing the E screensaver
> altogether?

go to the code and start tracing the logic and modify - add debug until you
find the bit that causes it. i know you're capable of it (just adding printfs
and following functions calling functions) :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.