Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1007  / 1 Year ago, tue, december 13, 2022, 9:11:06

I had enabled "hibernate" option in my Ubuntu 12.10 few months back by adding the following lines to /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla:



[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes


However, I don't know how, rather don't remember what led to it being disabled both in "power options" and in the "gear icon" on the menu bar.



The file is still intact.



One of the things I suspect is removing old kernels using Ubuntu tweak, but have no valid reason to allege this :P


More From » 12.10

 Answers
6

Ghosh... how did I take so long in discovering that I didn't have an entry for the swap partition in my /etc/fstab file?



The problem was, I had deleted my swap partition and then re-created it some days later, but did not realize that /etc/fstab had the old entry and the newer one was never added to it.



Adding the entry and rebooting my laptop now gives me the option to hibernate.


[#32331] Wednesday, December 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
admin

Total Points: 459
Total Questions: 112
Total Answers: 109

Location: Equatorial Guinea
Member since Sun, Feb 14, 2021
3 Years ago
;