The last test of the previous comment seems to imply, that we get the unwanted 
suspending only, if light-locker locks the screen *while* the lid is closed. 
Heres a test to verify this and takes xfpm out of the whole mess (on utopic):
- killall xfce4-power-manager
- systemd-inhibit --what=handle-lid-switch --who=me --why=test --mode=block 
sleep 1000
This blocks any action logind may take upon lid close (for 1000 sec.), i.e. one 
can close the lid and nothing happens.
- sleep 20 && light-locker-command -l
- close the lid

Result: 20 sec. happens nothing (you can even open/close the lid several
times). If the lid is closed when "light-locker-command -l" runs, the
system suspends.

I would guess, that light-locker lifts the block of the 'handle-lid-
switch' and, if the lid is closed, theres still a lid close event
pending, which than gets executed (or something of the kind).

-- 
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