Results 1 to 6 of 6

Thread: Hibernate question

  1. #1
    Join Date
    Jun 2012
    Location
    Sheffield, England
    Beans
    124
    Distro
    Ubuntu Development Release

    Hibernate question

    Is it possible to put a Laptop in Hibernate or not, as on my 13.04 Pre-Release system the Hibernate option is in Power settings but it's grayed out?

    Roland
    Last edited by roly33; March 24th, 2013 at 03:42 PM.

  2. #2
    Join Date
    Jul 2011
    Location
    Nairobi,Kenya
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hibernate question

    Well I did this to my Ubuntu 12.04 box and it worked (I haven't tried 13.04 yet):

    Check whether your machine supports hibernation

    Code:
    sudo pm-hibernate
    If the hibernate test works, you can continue to use the sudo pm-hibernate command when you want to hibernate.

    You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    Add the following to the file and save:
    Code:
    [Re-enable hibernate by default]
    Identity=unix-user:*
    Action=org.freedesktop.upower.hibernate
    ResultActive=yes
    People resist progression in every facet of life, computers are no different. Inevitably though, progress passes them by, and they become like dinosaurs...

  3. #3
    Join Date
    Jun 2012
    Location
    Sheffield, England
    Beans
    124
    Distro
    Ubuntu Development Release

    Re: Hibernate question

    Quote Originally Posted by Gwaro View Post
    Well I did this to my Ubuntu 12.04 box and it worked (I haven't tried 13.04 yet):

    Check whether your machine supports hibernation

    Code:
    sudo pm-hibernate
    If the hibernate test works, you can continue to use the sudo pm-hibernate command when you want to hibernate.

    You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    Add the following to the file and save:
    Code:
    [Re-enable hibernate by default]
    Identity=unix-user:*
    Action=org.freedesktop.upower.hibernate
    ResultActive=yes
    I've created the file, but when I try to save I get a Permission error.

    Screenshot from 2013-03-24 14:17:13.jpg

    Roland

  4. #4
    Join Date
    Jul 2011
    Location
    Nairobi,Kenya
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hibernate question

    You need root privilages to create the file.

    Code:
    sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    People resist progression in every facet of life, computers are no different. Inevitably though, progress passes them by, and they become like dinosaurs...

  5. #5
    Join Date
    Jun 2012
    Location
    Sheffield, England
    Beans
    124
    Distro
    Ubuntu Development Release

    Re: Hibernate question

    Quote Originally Posted by Gwaro View Post
    You need root privilages to create the file.

    Code:
    sudo gedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    That worked thanks.

    Roland

  6. #6
    Join Date
    Jul 2011
    Location
    Nairobi,Kenya
    Beans
    127
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Hibernate question

    Quote Originally Posted by roly33 View Post
    That worked thanks.

    Roland
    Welcome.
    People resist progression in every facet of life, computers are no different. Inevitably though, progress passes them by, and they become like dinosaurs...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •