Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
This is the actual bug report:… – AlexE Oct 21 '13 at 13:26
up vote 21 down vote accepted

I had the same problem, affecting the power button as well. This worked for me:


share|improve this answer
How 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. – AlexE Oct 21 '13 at 12:10
Works like a charm. I noticied when you put "ignore" into logind.conf the xfce4-power-manager-settings works properly. – user204783 Oct 22 '13 at 12:39
It's enough to only use HandleLidSwitch=ignore – Eyal Nov 2 '13 at 13:09
Thanks a bunch. :) And yes, only HandleLidSwitch=ignore is enough. – Unrealist Mar 28 '15 at 1:31

protected by Community Nov 27 '13 at 12:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.