Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: How to enable Hibernate on (Kubuntu system menu -> Leave)?

  1. Back To Top    #1
    Contributing Member
    Join Date
    Dec 2007
    Posts
    25
    Threads
    6
    Local Date
    Jan 6th 2018
    Local Time
    01:27 PM

    How to enable Hibernate on (Kubuntu system menu -> Leave)?

    Hello!

    When I go to the Kubuntu system menu (big blue K at the bottom left) and click on the Leave tab, all options there work except for "Hibernate" which acts as if I had clicked on "Lock". The hibernate option did work perfectly for me in this computer on both 10.x and 11.x but not now on 12.04 (Precise Pangolin). I found that on Konsole I can type
    Code:
    sudo pm-hibernate
    to hibernate successfully, I just want it to work from the menu. Can anyone please tell me how to make the change? Thank you.

  2. Back To Top    #2
    Kubuntu as Second Language SecretCode's Avatar
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,181
    Threads
    27
    Local Date
    Jan 6th 2018
    Local Time
    05:27 PM
    This may be relevant: How do I hibernate my computer?

    Apparently hibernation was disabled by default in *buntu Precise - see Bug #812394 “Disable hibernate option by default” : Bugs : “policykit-desktop-privileges” package : Ubuntu - which I find astonishing. Also surprising that there is no simple (GUI) way to enable it, and no warning message.
    I'd rather be locked out than locked in.

  3. Back To Top    #3
    Junior Member
    Join Date
    Oct 2011
    Location
    Slovakia
    Posts
    22
    Threads
    0
    Local Date
    Jan 6th 2018
    Local Time
    07:27 PM
    I can confirm, too.
    Command
    sudo pm-hibernate
    hibernate successfully.

    Hibernation in KDE does not working (menu option, power management)

  4. Back To Top    #4
    Contributing Member
    Join Date
    Dec 2007
    Posts
    25
    Threads
    6
    Local Date
    Jan 6th 2018
    Local Time
    01:27 PM
    Hello SecretCode, thank you for providing that link ("How do I hibernate my computer?"), I followed the steps and it works perfectly for me now. Thank you!

    P.S. I did restart the computer before checking to see if the solution worked. Maybe it does without restarting first?

  5. Back To Top    #5
    Kubuntu as Second Language SecretCode's Avatar
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,181
    Threads
    27
    Local Date
    Jan 6th 2018
    Local Time
    05:27 PM
    Good! (You can mark the thread solved via the "Thread tools" menu)
    I'd rather be locked out than locked in.

  6. Back To Top    #6
    Newbie
    Join Date
    May 2012
    Posts
    7
    Threads
    2
    Local Date
    Jan 6th 2018
    Local Time
    05:27 PM
    "The document could not be saved, as it was not possible to write to /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla.

    Check that you have write access to this file or that enough disk space is available."

    That's the message I get when I try this. Any help? I have 100 GB of space and I made sure I had permissions set to write. What am I supposed to do?

  7. Back To Top    #7
    Kubuntu as Second Language SecretCode's Avatar
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,181
    Threads
    27
    Local Date
    Jan 6th 2018
    Local Time
    05:27 PM
    What editor did you use? If a console-based editor, did you run it with sudo; if gui, did you run it with kdesudo?
    I'd rather be locked out than locked in.

  8. Back To Top    #8
    Newbie
    Join Date
    Oct 2012
    Posts
    4
    Threads
    0
    Local Date
    Jan 6th 2018
    Local Time
    01:27 PM
    I get the same error. I did go to the folder and enabled permissions for all to write.However, I can't save it to that folder nor can I move that file saved in another folder, to this folder. Please guide..
    Quote Originally Posted by foxman09 View Post
    "The document could not be saved, as it was not possible to write to /etc/polkit-1/localauthority/50-local.d/com.ubuntu.desktop.pkla.

    Check that you have write access to this file or that enough disk space is available."

    That's the message I get when I try this. Any help? I have 100 GB of space and I made sure I had permissions set to write. What am I supposed to do?

  9. Back To Top    #9
    Newbie
    Join Date
    Oct 2012
    Posts
    4
    Threads
    0
    Local Date
    Jan 6th 2018
    Local Time
    01:27 PM
    Kurious, How did you save that file to the folder. Did you change permissions somehow?
    Last edited by PBharatK; Oct 21st 2012 at 01:15 AM.

  10. Back To Top    #10
    Kubuntu as Second Language SecretCode's Avatar
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,181
    Threads
    27
    Local Date
    Jan 6th 2018
    Local Time
    05:27 PM
    Quote Originally Posted by PBharatK View Post
    I did go to the folder and enabled permissions for all to write.
    I think it's a bad idea to change permissions like this on a system folder! Instead, use a console text editor like joe or nano or vi or emacs with sudo, or a GUI editor like Kate with kdesudo.
    I'd rather be locked out than locked in.

Page 1 of 2 12 LastLast

Similar Threads

  1. The "Leave" menu on Kickoff does not work -- KDE 4.3
    By jbrown96 in forum Software Support
    Replies: 2
    Last Post: Aug 26th 2009, 03:26 AM
  2. "Leave" menu doesn't work properly
    By The Liquidator in forum Software Support
    Replies: 6
    Last Post: Aug 25th 2009, 09:31 AM
  3. uswsusp and the kde menu suspend/hibernate buttons
    By bernie9998 in forum Software Support
    Replies: 0
    Last Post: Nov 10th 2008, 09:28 PM
  4. KDE4 on 7.10, hibernate on logout menu does nothing
    By tomchiverton in forum Software Support
    Replies: 4
    Last Post: Jan 23rd 2008, 06:18 PM
  5. How do you configure Hibernate in the logout menu
    By jacatone in forum Software Support
    Replies: 0
    Last Post: Nov 13th 2007, 10:50 PM

Posting Permissions

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