And I can reproduce the problem like this:
[Just close the lid - system sleeps / lift the lid = Resume]
And here are the specs of my machine:
[HP - ProBook 450 G7 - 16GB RAM - i5 - 750GB HDD SATA - 512GB SSD M.2 NVME]
[ZimaOS v1.4.2]
I have installed ZimaOS on a HP laptop for testing on the go,
Most things are ok and I still have a lot to learn and find,
I did not expect the OS to read and act on lid close, since it was designed for the cube ( no such function )
Could i redirect the built in devices - Keyboard mouse camera even screen - to a VM or app ?
Workstation on top of ZimaOS?
Thank you for your hard work and support, love what i see and hope you are not to annoyed with crazy tests
You pointed in the right direction,
Uncommenting ( removing # so it takes line it into account ) the line and changing it from suspend to ignore + reboot ( i do not know if you can reload the conf while running ) worked just fine.
so from
#HandleLidSwitch=suspend
to
HandleLidSwitch=ignore
Here is an extract of the conf ( did not change anything else and it’s fine for me )
"
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore"
Thank you so much
P.S.
Ctrl+O Enter then Ctrl+X to save
also sudo reboot if you want to do it from ssh
( it was hard for me at the start so i am including all the comments I would have needed )