For now, my workaround is to have a script like

#!/bin/bash

acpi_listen | while read -r b l s; do
    if [[ $l = LID ]] && [[ $s = close ]]; then
        xflock4
        xfce4-session-logout --suspend
    fi
done

and autostart it on login …

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

Title:
  no suspend nor lock on lid close though acpi_listen shows events

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

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

Reply via email to