Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 20326  / 3 Years ago, fri, september 17, 2021, 1:18:21

I'm using Xubuntu 14.04 64 bit. I know that question been asked a billion times, but all of them consist of editing following file:



/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla


That file does not exist on my system. I tried com.xubuntu.enable-hibernate.pkla but doesn't exist either, locate command doesn't find it.


More From » xubuntu

 Answers
3

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



sudo nano /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla


Look for



[Disable hibernate by default in upower]
[Disable hibernate by default in logind]


Change the value of "ResultActive=no" to "ResultActive=yes" in both, press ctrl+x to exit the file. It will ask to save the change or not. Press Y to save the change, if you're on Ubuntu restart your system.



Edit



Just tried this on Xubuntu 16.04, and Ubuntu 16.04. and it also works.



enter image description here



For Ubuntu 16.04 I had to reboot for it to work.



enter image description here



enter image description here


[#25365] Saturday, September 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
truwom

Total Points: 101
Total Questions: 99
Total Answers: 100

Location: Ivory Coast
Member since Tue, Sep 15, 2020
4 Years ago
truwom questions
;