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

Marc MERLIN <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>
On Fri, Sep 16, 2022 at 08:14:59PM +0100, Carsten Haitzler wrote:
> 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.:
 
My xsession sets this once at X start.

I restarted E right now to give it a chance to reset its own
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  6    cycle:  0
DPMS (Energy Star):
  Standby: 16    Suspend: 17    Off: 18
  DPMS is Enabled
  Monitor is On

nothing happens after 6 seconds.

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

Can E reset it later, or I need to restart it like I did?
Shouldn't E reset it when I use the settings to change values and apply?

> try close your web browser (chrome). :)
 
Mmmh, I have 3 chrome processes running.

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

Yes, I understand this. Bummer that so many apps can go and mess with
those settings without going through E
Once an app does this, is there a way to override it, or have X split a list of apps
that are blocking blanking?

so yes, I killed all my chromes, and now it works.
Restarted synergys, and it still works.

found this but the python code is too old, couldn't get it to work.
https://www.reddit.com/r/Chromium/comments/8hwibt/any_way_to_prevent_chrome_from_inhibiting/
see https://github.com/jnerin/dbus-listen-inhibit/issues/2

also
https://bugs.chromium.org/p/chromium/issues/detail?id=931235

and
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1600622
mentions trying this, but it doesn't work either
sauron:~$ dbus-send --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.GetInhibitorsmethod 
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service fi

Now, as I write this, I restarted one chrome, display blank stopped working, killed it
and display blank is still not working even after restarting E :(

Is there anything E can do to help find the apps doing bad things, and override them
if possible?

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