You are not logged in.
In past versions, enlightenment used to respect /etc/systemd/logind.conf This has changed. It will now use an inhibitor to override anything it does not like. As a consequence, the usual (this is recommended in earlier threads with the same question)
[...]
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
LidSwitchIgnoreInhibited=no
[...]no longer has an effect.
Instead the system will suspend as the lid is closed and the reason is this:
[user@host ~]$ systemd-inhibit
WHO UID USER PID COMM WHAT WHY MODE
Enlightenment 1000 user 7107 enlightenment handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch Normal Execution block
1 inhibitors listed.
[user@host ~]$I tried hiding the systemd-inhibit executable from /usr/bin/. That had no effect (so presumably enlightenment does not use this executable).
I also tried to edit /etc/enlightenment/sysactions.conf to redefine the suspend action and point it to /usr/bin/true. So
[...]
#action: suspend /usr/bin/systemctl suspend
action: suspend /usr/bin/true
[...]Unfortunately this did not have an effect either.
Finally, I tried to find anything remotely related to lid close behavior in the settings of enlightenment. (You would think that if a desktop environment insists on handling this, it would at least offer some interface to change that.) I could not find anything.
The system is up to date, i.e. enlightenment is version 0.23.1-1.
What can I do (short of switching to another desktop environment)? Thanks in advance.
We are exactly the people our parents always warned us about.
Offline