Announcement

Collapse
No announcement yet.

Hibernat option

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vinnywright
    replied
    Code:
    vinny@vinnys-HP-G62:~$ locate org.freedesktop.upower
    /usr/share/polkit-1/actions/org.freedesktop.upower.policy
    /usr/share/polkit-1/actions/org.freedesktop.upower.qos.policy
    nor at hear ..........

    VINNY

    Leave a comment:


  • Snowhog
    replied
    A bit of sleuthing finds that org.freedesktop.upower.hibernate doesn't exist on my laptop.

    Leave a comment:


  • vinnywright
    replied
    testing @hear with JUST the "sudo pm-hibernate" laptop shuts down ,,,,,,,press power ,,,,,boot back up and grub loads,,,,,,use the Chane load to 13.10's grub ,,,,, start the 13.10 and see resuming from (forgot to note this)((resuming from /dev/by/uuid=xxxxxxx,,,,)) and the system is right back to where it was when I hibernated it with this page open in fire fox ........BUT I have restor prveous session set in system settings ...........going to test with start with empty session next ......

    VINNY

    :EDIT well with the start with empty session enabeld in system settings>start up & shut down I still get the system back just as it was when hibernated
    Last edited by vinnywright; Oct 27, 2013, 01:12 PM.

    Leave a comment:


  • Snowhog
    replied
    Well, what I would expect, and what claydoh describes, isn't what happens for me. I am still required to login to KDM. My desktop appears as it would 'normally' -- without any of the apps I had running when I hibernated. Interesting though, when I launch Chromium, where KFN is my home page, I don't have to log in to KFN as it shows I am still logged in, and, I can navigate within KFN normally, because I am logged in.

    Leave a comment:


  • vinnywright
    replied
    I do not think the session actually closes when you hibernate ,,,,,,more like a snapshot of the system running gets put in swap .

    VINNY

    Leave a comment:


  • claydoh
    replied
    Originally posted by Snowhog View Post
    I'm curious. I've created the file and rebooted. The new hibernate entry in Leave is there -- Suspend to Disk. But, are you sure it will actually work? I ask, because if you have Start with an empty session in System Settings > Startup & Shutdown > Session Management as I do, it defeats hibernation, yes? If 'yes', then how would you ever get hibernation to work?

    Sessions are not the same thing. Hibernate is literally dumping your ram back onto disk, so the exact state of your applications, etc are loaded back into ram instead of doing a login. Your programs and files are returned to the exact state they were when you hibernated.

    Saved sessions don't apply as you are not logging in, per se.

    Leave a comment:


  • Snowhog
    replied
    I'm curious. I've created the file and rebooted. The new hibernate entry in Leave is there -- Suspend to Disk. But, are you sure it will actually work? I ask, because if you have Start with an empty session in System Settings > Startup & Shutdown > Session Management as I do, it defeats hibernation, yes? If 'yes', then how would you ever get hibernation to work?

    Leave a comment:


  • claydoh
    replied
    Originally posted by steve7233 View Post
    Nope rebooting didn't work. Whom ever wrote that needs to explain it better as I am probably not noticing something.
    I just tested on my laptop - you probably did not get the text file name or data 100% correct, is my guess
    I just copied and pasted, using nano

    Code:
    sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    then pasted the text into it:
    Code:
    [Re-enable hibernate by default]
    Identity=unix-user:*
    Action=org.freedesktop.upower.hibernate
    ResultActive=yes
    Shut down, then booted, once logged in to the desktop,the entry was there

    Leave a comment:


  • oshunluvr
    replied
    One solution I've seen is to be sure swap is enabled, then add "resume=/dev/sdXX" in the grub GRUB_CMDLINE_LINUX_DEFAULT= line and then run update-grub. Replace sdXX with your install partitiion, Also, KDE doesn't like to hibernate to a swapfile rather than a swap partition, but I doubt you did that.

    Leave a comment:


  • steve7233
    replied
    Nope rebooting didn't work. Whom ever wrote that needs to explain it better as I am probably not noticing something.

    Leave a comment:


  • claydoh
    replied
    Originally posted by steve7233 View Post
    The test worked however after following the instructions to re-enable it, I do not see the option in the KDE menu. Perhaps I need to reboot and they just didn't mention that?
    Sounds likely.

    Leave a comment:


  • steve7233
    replied
    The test worked however after following the instructions to re-enable it, I do not see the option in the KDE menu. Perhaps I need to reboot and they just didn't mention that?

    Leave a comment:


  • claydoh
    replied
    https://help.ubuntu.com/13.04/ubuntu...hibernate.html

    Hibernation is broken on a lot of laptop models, so they disabled it.
    You can test and re-enable it following the instructions in the link above.

    Leave a comment:


  • steve7233
    started a topic Hibernat option

    Hibernat option

    Why can't I choose to hibernate when exiting Kubuntu and will Saucy hibernate once I figure out how to fix my system so it will stop erring out when runing dist-upgrade?

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X