Re: [e-users] Cannot find presentation mode in e 0.25.3-1

Carsten Haitzler <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>
On Fri, 16 Sep 2022 11:39:01 -0700 Marc MERLIN <[email protected]> said:

> On Fri, Sep 16, 2022 at 09:33:47AM +0100, Carsten Haitzler wrote:
> > On Thu, 15 Sep 2022 21:44:27 -0700 Marc MERLIN <[email protected]> said:
> > 
> > > Howdy,
> > > 
> > > I have the deb package, and the screen lock never comes on unless I
> > > manually tell E to lock.
> > > 
> > > I do find screen lock settings but they don't seem to show a timeout.
> > 
> > screen -> screen lock -> timers -> lock after blanking
> > 
> > you can select how long after. locking is done either manually, by blanking
> > (set blanking timeout as above) or a lock after suspend. there isn't a
> > separate lock timeout on its own (no real point - auto lock when you are
> > away and if you
> 
> understood, I couldn't find it, now I have, thanks.
> Now it seems that my main issue is that my screen won't blank, so lock
> (20 seconds later) doesn't happen either.
> 
> sauron:~$ xset q
> Keyboard Control:
> (...)
> Screen Saver:
>   prefer blanking:  yes    allow exposures:  yes
>   timeout:  60    cycle:  0

this is suspicious. if e had set this, it'd be 1 second. not 60. dpms it always
set to screenblank time + 10sec (and the suspend +11, off +12). you know e set
it if this is what it says. e.g.:

Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  900    cycle:  0
DPMS (Energy Star):
  Standby: 910    Suspend: 911    Off: 912
  DPMS is Enabled
  Monitor is On

Any axny x client can set screensaver timeout so beware what other
apps/tools/services you run.

> DPMS (Energy Star):
>   Standby: 11    Suspend: 12    Off: 13
>   DPMS is Enabled
>   Monitor is On
> 
> things look good.

try close your web browser (chrome). :)

> > bluetooth lock devices too. when that bt device goes away (can't be pinged)
> > e will auto-lock if you set it as a lock devices. it's in the bt gadget
> > popup in the controls per device you paired.
>  
> oh yes, that's nice. I don't have one, but could get one. Ideally this should
> work with my phone, but maybe my phone BT has too much range (charging in
> another room would still keep the laptop awake)
> 
> > i removed presentation mode. there are actions now you can bind to turn
> > blanking on/off (under Screen -> Blanking On/Off/Toggle). so bind some key
> > combo to it. :)
> 
> Everything shows that it should blank (see screenshot) but does not.
> 
> I tried to set the timeout to 0.1m (6 sec), I can't find anywhere if E
> thinks blanking is currently enabled or not (a widget or status would
> help), I set CTRL+SHIFT+B to blanking on, apply, hit CTRL+SHIFT+B, wait
> and nothing, no blanking, and as a result, no screen lock either.
> 
> I had synergy and killed it. I also had mplayer and killed it just in
> case they were stopping X from sleeping.
> 
> What else could it be?

web browser. steam too. i wouldnt trust synergy either... try not using that.
either way - kill off things other than e. chrome has a nasty bug involving
suspending the screensavers and it will never un-suspend this unless you kill
off the browser. then it'll work. it is 100% a chrome bug the moment you play
any media (e.g. youtube or any ad with video, spotify too etc.). i've checked
and used a hacked up xscreensaver lib to print out when something tries to
suspend blanking and chrome does this badly/wrong (and it talks to the xserver
to do this - not e. has nothing to do with e).

> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>  
> Home page: http://marc.merlins.org/                       | PGP
> 7F55D5F27AAF9D08
> 
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- 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.