Thanks a lot dude, it really worked!

On Sat, Jul 13, 2013 at 1:21 AM, Eric Kitaif <[email protected]> wrote:

> Here is how you fix that.
>
> In your file:
>
> /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
>
> Make sure you have two settings in there
>
> [Enable hibernate by default in upower]
> Identity=unix-user:*
> Action=org.freedesktop.upower.hibernate
> ResultActive=yes
>
> [Enable hibernate by default in logind]
> Identity=unix-user:*
> Action=org.freedesktop.login1.hibernate
> ResultActive=yes
>
> Here is why. In this file:
>
> /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
>
> it sets the two options to "no"
>
> The file you created should be executed after the one in /var/lib so it
> should take priority over it (Tested it and it does). You can read the
> information for that here under the section "Evaluation Order". When
> your "upower" option is set to "yes" you can select hibernate from the
> power settings in Ubuntu. However, you are still unable to hibernate
> because the 10-vendor.d file was setting the login1.hibernate to "no"
> and that must also be a "yes"
>
> Looks like the bug is that Ubuntu should check both options before
> allowing hibernate to be selected.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1194328
>
> Title:
>   Ubuntu 13.10 Close LID actions Ignored
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1194328/+subscriptions
>


-- 
[]'s
Alfredo Casanova
Linux User #228230
msn: [email protected]
tel: +55 61 9655 9619

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

Title:
  Ubuntu 13.10 Close LID actions Ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1194328/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to