休眠的命令
Tofloor
poster avatar
tianyuan36
deepin
2018-02-25 05:09
Author
想实现一键休眠
试了 systemctl suspend 可以用但屏幕会闪一次。
不知道系统用的命令是什么?

Reply Favorite View the author
All Replies
avatar
junmoxiao
deepin
2018-02-25 05:14
#1
suspend是挂起吧,挂起不是休眠
参看wiki
  1. https://wiki.deepin.org/index.php?title=%E7%94%B5%E6%BA%90%E7%AE%A1%E7%90%86
Copy the Code
Reply View the author
avatar
woodelf
deepin
2018-02-25 05:14
#2
应该是
  1. # systemctl hibernate
Copy the Code
suspend是睡眠。
另外,休眠需要划分swap分区/swap文件,且指定resume=内核参数。
Reply View the author
avatar
sinx
deepin
2018-02-25 18:47
#3
貌似Linux的休眠问题多,想用不敢用
Reply View the author
avatar
152******14
deepin
2018-02-25 19:45
#4
休眠  会一醉不起。。。
Reply View the author