Xubuntu 13.10: disabling suspend on lid being closed
21,880
I had the same problem, affecting the power button as well. This worked for me:
https://wiki.archlinux.org/index.php/xfce#xfce4-power-manager
/etc/systemd/logind.conf
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
Related videos on Youtube
Author by
kuhar
Updated on September 18, 2022Comments
-
kuhar over 1 year
I'm having trouble with configuring my home server. I have an old lenovo x200 laptop that runs Xubuntu 13.10.
My problem is that after closing the lid the laptop is begin suspended despite changing all lid-related options in power management to "nothing". How to disable all actions (except turning the screen off) on lid close?
-
AlexE over 10 yearsThis is the actual bug report: bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/…
-
-
AlexE over 10 yearsHow does the "Ask" setting translate into logind.conf's language? The man page mentions "ignore, poweroff, reboot, halt, kexec, suspend, hibernate, hybrid-sleep, lock" as options only.
-
Eyal over 10 yearsIt's enough to only use HandleLidSwitch=ignore
-
Unrealist about 9 yearsThanks a bunch. :) And yes, only
HandleLidSwitch=ignore
is enough.