Ubuntu 8.04 上的终端暂停

Ubuntu 8.04 上的终端暂停

我正尝试通过终端将我的旧笔记本电脑置于挂起模式。在较新版本中
输入rtcwake -m disk -s 10有效,但在 8.04 中我得到:

error /sys/class/rtc/rtc0/device/power/wakeup: No such file or directory"
rtcwake: /dev/rtc0 not enabled for wakeup events.

我尝试过用谷歌搜索这个问题,但我得到的只是人们问这个问题却没有答案。

在旧版本的 Ubuntu 中,如何从终端将计算机暂停预定的时间?

答案1

睡觉:pmi action suspend

休眠:pmi action hibernate

40分钟后入睡:echo 'pmi action suspend' | at now + 40 minutes

您还可以使用 gnome 命令:

gnome-power-cmd suspend
gnome-power-cmd hibernate

相关内容