I upgraded my OS from Lubuntu 13.10 to Lubuntu 14.04 a few days ago, and now my screen locks when the lid is closed, while I want nothing to happen when lid is closed.
I have already set the right option in the Xfce power manager ("When laptop lid is closed: Nothing") and, as of https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1307545 and Closing laptop lid suspends Lubuntu, since upgrade , I tried editing
/etc/systemd/logind.conf; but when I close the lid, the screen still locks and asks for a password. Note that this doesn't happen every time I close the screen; sometimes it stay closed for a few minutes and can be reopened without having been locked, and sometimes it locks as soon as I close the lid.
For reference, here's the content of my
# This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # See logind.conf(5) for details [Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #Controllers= #ResetControllers=cpu #InhibitDelayMaxSec=5 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate HandleLidSwitch=ignore #PowerKeyIgnoreInhibited=no #SuspendKeyIgnoreInhibited=no #HibernateKeyIgnoreInhibited=no LidSwitchIgnoreInhibited=no #IdleAction=ignore #IdleActionSec=30min
Is there's something wrong with what I'm doing? What can I do to be able to close the lid without anything happening?
EDIT: Possible pointers would be about what exactly happens when I close my lid; I tried investigating in that direction, but I don't know where to start. If a script or something is called on lid closing, I might even be content with modifying it to do nothing.