After changing the lid's behavior to "Suspend" there was a gnome-power-
management notification

"Action forbidden

Policy timeout is not valid. Please wait
a few seconds and try again."

There is a typo/syntax error in line 9 of /etc/acpi/lid.sh still causing
lid.sh to start its own stuff even when gnome-power-manager is running.

wrong: 
if [ `CheckPolicy` == 0 ]; then exit; fi

== is not a legal bash operator. You have to use = here so the right line has 
to be:
if [ `CheckPolicy` = 0 ]; then exit; fi

Maybe this is a solution to other lid related bugs, too?


** Changed in: acpi-support (Ubuntu)
       Status: Fix Released => New

-- 
lid.sh doesn't check for gnome-power-manager
https://bugs.launchpad.net/bugs/31559
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

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

Reply via email to