如何暂停Ubuntu 20.04

方法1:打开右上角。接下来,单击“电源/注销”和“暂停”以暂停Ubuntu 20.04系统。

方法2:搜索左上的左活动菜单:suspend,然后单击暂停图标

方法3:从命令行暂停Ubuntu系统

$ systemctl suspend

有其他用户登录系统时,可能会出现以下消息:

Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl suspend -i'.

在这种情况下,请确保在暂停系统之前将所有用户注销。或者,我们可以使用以下命令忽略关闭抑制器来强制暂停:

$ systemctl suspend -i

强制系统暂停,忽略关闭禁止抑制器并登录用户

日期:2020-07-07 20:55:40 来源:oir作者:oir