I recently installed Xubuntu LTS release: 24.04, Noble Numbat, using XFCE on my laptop. I have really struggled a lot to make suspend mode not do anything to wake up my system except for a short press on the power button, i.e. no mouse movement, no keyboard presses, nothing should allow the system to wake up.
I managed to disable most USB dewvices from waking up the computer, but there still is an anoying thung, and that's the laptop lid of my Lenovo Miix 310, an Intel Atom based little notebook that previously was running Windows 10, and which became unusable in that Microsoft OS with every update, but still runs smoothly as an internet and writing machine, so basically XUbuntu is really working fine here. But still, that laptop lid remains: I want it to do nothing, when closed or opened, so I added the following to my config:
In logind.conf, I added the following lines:
Code:
HandleHibernateKeyLongPress=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
And in UPower.conf:
I now have come to a point where closing the laptop lid does nothing, but when the system is suspended, and I close the laptop lid, and open it again, it wakes the system which is not what I want. Actually, every little movement of the laptop lid makes the computer resume from suspend, which is anoying.
Is there any way to completely get rid of any reaciton to the laptop lid and simply ignore it?
One additional information: In my /proc/acpu/button/lid/LOD0/ directory, there is an entry state, when I open it in nano it gives me a line that says state: open. So my guess is that any change to that states triggers the wakeup, but how can I disable this state from being set or at least from being evaluated?
Any hints are appreciated. Thank you!
Bookmarks