如何让 Ubuntu 18.04 处于待机状态?暂停 Ubuntu?

如何让 Ubuntu 18.04 处于待机状态?暂停 Ubuntu?

如何让 Ubuntu 18.04 处于待机状态?该选项似乎消失了。

(我特别希望能够通过 GUI 来完成此操作,而无需按下计算机上的物理按钮。)

答案1

就像您要关闭计算机一样,但单击并按住关机符号,它将变成暂停符号。

putubuntuonstandby

答案2

创建 polkitd 规则

cat /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla 
# aktiviere hibernate
[Re-enable hibernation]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

相关内容