Results 1 to 5 of 5

Thread: How can I Disable Hibernation?

  1. #1
    Join Date
    Feb 2008
    Beans
    542
    Distro
    Ubuntu 10.04 Lucid Lynx

    How can I Disable Hibernation?

    I get my window get locked and have to enter password when I leave unattended for a while, how can I disable it please. Ubuntu 10.04.

  2. #2
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: How can I Disable Hibernation?

    To disable lock screen go to preferences > screensaver and remove the check from the lock screen when inactive option . From the power settings tab you can disable sleep. Not sure if this is what your after.
    Last edited by Frogs Hair; January 1st, 2011 at 07:57 PM.
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    Feb 2008
    Beans
    542
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How can I Disable Hibernation?

    Thanks a lot for the speedy response.

  4. #4
    Join Date
    Jan 2006
    Beans
    45
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How can I Disable Hibernation?

    The title is misleading.

    I am really looking for a way to disable hibernation. I installed via Wubi and don't want to unintentionally press the hibernate button.

    This option doesn't work anymore in 10.10
    In gconf-editor disable the keys by unchecking :
    /apps/gnome-power-manager/can_hibernate
    Right click on these keys and set as mandatory

  5. #5
    Join Date
    Jun 2007
    Beans
    13

    Lightbulb Re: How can I Disable Hibernation?

    Quote Originally Posted by flomar View Post
    The title is misleading.

    I am really looking for a way to disable hibernation.
    Hi! I found out, how to do it. You have to tell PolicyKit to forbid hibernation (in this example for all user groups):

    Code:
    cat << EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/02-disable-hibernation.pkla
      [Disable hibernate/suspend for all groups]
      Identity=unix-group:*
      Action=org.freedesktop.upower.hibernate
      ResultActive=no
      ResultInactive=no
      ResultAny=no
    EOF
    I found the hint here: https://bugs.launchpad.net/ubuntu/+s...416/comments/5

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
  •