Here are my observations:

1) The initial value of logind-handle-lid-switch is "false" in 14.10.
This appears to be correct, because the default lid close action is
"lock" and not "suspend".

2) Changing the value to "true" is required to work around the infamous
blank-screen-after-unlock bug and will let logind initiate the suspend
sequence (according to logind.conf). However, this is only needed when
"suspend" is selected as lid close action in xfce4-power-manager-
settings.

3) As of now, logind-handle-lid-switch is set via light-locker-settings
(lock on suspend -> true, otherwise false). There is no smart check.

4) The proper fix would be to patch xfce4-power-manager. It should be
able to evaluate certain conditions (light-locker running? lock on
suspend enabled?) and set logind-handle-lid-switch accordingly when the
lid close action is changed by the user.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307545

Title:
  Power Manager settings are ignored when closing laptop lid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1307545/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to