On Tue, 22 Oct 2024 10:11:10 +0200 Massimo Maiurana <maiur...@gmail.com> said:

> Just open the settings panel, choose the "input" menu and then "acpi 
> bindings". There you should look for the lid close event which is 
> currently set to suspend: change it to whatever you want or just remove it.

you might want to switch it to "suspend intelligently" instead of just suspend.
this accounts for various things like:

1. if you have an external monitor attached it wont' suspend until that is
unplugged.
2. if you're on ac mains power - it won't suspend until you unplug power AND
unplug any external monitors.

the default action for lid close changed in e a few versions back:

commit 515b8cd2b585a1a99a7b267e7f32acec1e93f028
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Thu Jul 4 22:08:57 2019 +0100

    e config - make power and suspend things a bit nicer by default

    no "are u sure u want to power off" but power button will bring up
    syscon whihc is far nicer (select what to do) for power button now
    (double press power to power off of course) and lid close now uses the
    smart suspend that accounts for lid state etc. as well.

so if you have an older config e.g. inherited from an old e install prior to
the release that changed this - switching it will probably make it do what you
want it to.

> Massimo Maiurana
> 
> Dave ha scritto il 22/10/24 alle 04:50:
> >   Been a while since I've used e23, but try looking in the screen setup
> > control panel.  You might be able to turn off lid events there.
> > 
> >   Myself, I changed /etc/systemd/logind.conf and added the following lines:
> > 
> > HandleLidSwitch=ignore
> > HandleLidSwitchExternalPower=ignore
> > 
> >   From memory, that worked fine for me with e25/26.
> > 
> >   
> > 
> >   In the year 2024, of the month of October, on the 21st day, Tony Lill
> > wrote:
> >> How do I stop e23-1 from suspending my laptop when I close the lid? The
> >> only thing I found on google regarding this is a similar complaint on an
> >> Arch Linux board.
> >>
> >> I disabled it in /etc/systemd/logind.conf and that works provided I'm not
> >> logged in. However, enlightenment grabs control of it and there doesn't
> >> appear to be a way to control the behavior in the setup menus.
> >> I even tried changing /etc/enlightenment/sysactions.conf
> >>
> >>
> >> _______________________________________________
> >> enlightenment-users mailing list
> >> enlightenment-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> > 
> > 
> > _______________________________________________
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 
> 
> 
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to