安装“hibernate”后
sudo apt install hibernate
Hibernate 的工作原理
sudo hibernate
但是 pm-hibernate 没有
sudo pm-hibernate
它黑了几秒钟,然后又亮了。添加后
[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
到
/var/lib/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
休眠按钮不起作用。是否可以将其操作修改为“休眠”或重新启用“pm-hibernate”?