Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 8807  / 2 Years ago, sun, may 15, 2022, 10:45:10

OS: Lubuntu 14.04

Package: Xfce Power Manager

Package Settings:

- On AC > Actions > Put the computer to sleep when inactive for: 15 Minutes

- Extended > Set computer inactivity sleep mode: Hibernate

Intent: hibernate computer after 15 minutes of inactivity

Error message: not authorized

Error time: at hibernation


More From » lubuntu

 Answers
6

Follow the instructions for Ubuntu: How do I hibernate my computer?



That is, test first, then create a file /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla with the following content:



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

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


Note that in order to create this file you need root permissions. So, for instance, use sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla


[#25279] Tuesday, May 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nnaisdio

Total Points: 369
Total Questions: 112
Total Answers: 108

Location: Kenya
Member since Mon, Jun 14, 2021
3 Years ago
nnaisdio questions
;