如何暂停 Ubuntu 20.04 Focal Fossa Linux 桌面
本教程将为读者提供一些关于如何挂起(挂起至 RAM)Ubuntu 20.04 Focal Fossa Linux 桌面的本机和替代方法。
在本教程中您将学习:
如何暂停系统
暂停
活动
如何从命令行暂停系统
如何暂停 Ubuntu 20.04 Focal Fossa Linux 桌面
如何暂停 Ubuntu 20.04 分步说明
第一种暂停 Ubuntu 20.04 的方法是最简单的。首先,打开右上角的面板。接下来,单击
Power/Log Out
和Suspend
来暂停您的Ubuntu 20.04系统。在左上角的
Activities
菜单中搜索挂起
,然后单击“挂起”图标第三种方法涉及从命令行挂起 Ubuntu 系统。只需打开终端窗口并输入以下命令:
$ systemctl suspend
从命令行暂停 Ubuntu 系统
当其他用户登录系统时,可能会出现以下消息:
Please retry operation after closing inhibitors and logging out other users. Alternatively, ignore inhibitors and users with 'systemctl suspend -i'.
在这种情况下,请确保在挂起系统之前所有用户都已注销。或者,您可以使用以下命令忽略关闭抑制器来强制暂停:
$ systemctl suspend -i
通过忽略关闭抑制因素和登录用户来强制系统挂起