怎样起用“休眠”功能?
Tofloor
poster avatar
LDHYLa
deepin
2012-12-11 01:31
Author
今天安装了,用WUBI,但怎样起用“休眠”功能?怎么只有“挂起”?
Reply Favorite View the author
All Replies
cxbii
deepin
2012-12-11 02:35
#1
wubi安装的文件系统是虚拟的,不能休眠是正常吧……正常安装的也未必可以,其中需要的条件有点奇怪,能休眠的也遇到睡了不起床的……这个问题在Linux很久了,没有什么好方法解决吧……
Reply View the author
LDHYLa
deepin
2012-12-11 16:31
#2
wubi安装的文件系统是虚拟的,不能休眠是正常吧……正常安装的也未必可以,其中需要的条件有点奇怪,能休眠的也遇到睡了不起床的……这个问题在Linux很久了,没有什么好方法解决吧……
我的问题很简单,现在没有“休眠”按钮,在哪里能调出来。
Reply View the author
tuhaihe
deepin
2012-12-11 18:10
#3
我的问题很简单,现在没有“休眠”按钮,在哪里能调出来。
那就参考本篇文章,自己搞吧:http://helpdeskgeek.com/linux-ti ... -12-04-system-menu/

不过,这个休眠是有问题的,休眠之后醒不过来啊 :twisted:
Reply View the author
xliang9550
deepin
2012-12-11 20:29
#4
sudo pm-hibernate试一下,不过先要确认swap分区有足够的空间,不少于内存总量。
Reply View the author
cxbii
deepin
2012-12-12 01:55
#5
sudo pm-hibernate试一下,不过先要确认swap分区有足够的空间,不少于内存总量。
一般是和内存相同大小就可以了吧
Reply View the author
wzhy90
deepin
2012-12-14 02:24
#6
sudo pm-hibernate试一下,不过先要确认swap分区有足够的空间,不少于内存总量。
你妹啊,居然直接就休眠了啊,还把我虚拟机关掉了啊!!虚拟机在编译东西呢
Reply View the author
cxbii
deepin
2012-12-14 05:00
#7
[quote]sudo pm-hibernate试一下,不过先要确认swap分区有足够的空间,不少于内存总量。
你妹啊,居然直接就休眠了啊,还把我虚拟机关掉了啊!!虚拟机在编译东西呢[/quote]
: 虚拟机编译效率不高的呢.
Reply View the author
bhzhu203
deepin
2012-12-14 21:22
#8
需要主板bois支持。。
Reply View the author
xliang9550
deepin
2012-12-19 18:44
#9
我在Ubuntu论坛上看到的关于休眠的方法,官方的说法是先用sudo pm-hibernate测试是否能够正常进入休眠状态,然后再修改配置文件以解锁休眠功能。
我还是喜欢设置较大的swap空间,一般是物理内存的1.5~3倍。目前我的内存是32GB,我设置了50GB的swap。即使这样,仍然经常出现内存爆满而导致程序崩溃。问题是主流级台式机芯片组及处理器最大就支持32GB(酷睿i7+H77),再大就需要上服务器平台了。
Reply View the author
cxbii
deepin
2012-12-19 20:19
#10
我在Ubuntu论坛上看到的关于休眠的方法,官方的说法是先用sudo pm-hibernate测试是否能够正常进入休眠状态,然后再修改配置文件以解锁休眠功能。
我还是喜欢设置较大的swap空间,一般是物理内存的1.5~3倍。目前我的内存是32GB,我设置了50GB的swap。即使这样,仍然经常出现内存爆满而导致程序崩溃。问题是主流级台式机芯片组及处理器最大就支持32GB(酷睿i7+H77),再大就需要上服务器平台了。
如果能提供详细方法我将感激不尽
Reply View the author
a287740928
deepin
2012-12-19 20:33
#11
目前我的内存是32GB,我设置了50GB的swap。
你真牛擦 :!:  :!:  :!:
Reply View the author
xliang9550
deepin
2012-12-19 22:29
#12
  1. sudoedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Copy the Code
  1. [Re-enable hibernate by default]
  2. Identity=unix-user:*
  3. Action=org.freedesktop.upower.hibernate
  4. ResultActive=yes
Copy the Code
Reply View the author
cxbii
deepin
2012-12-19 23:01
#13
  1. sudoedit /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
Copy the Code
  1. [Re-enable hibernate by default]
  2. Identity=unix-user:*
  3. Action=org.freedesktop.upower.hibernate
  4. ResultActive=yes
Copy the Code
谢谢哈,不过我这睡眠是没问题的,我得找台不正常的电脑试试
Reply View the author
hgfrzh
deepin
2012-12-20 04:08
#14
use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla. Add the following to the file and save:
[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
试试这个
Reply View the author
isunny
deepin
2012-12-20 04:46
#15
sudo pm-hibernate

运行结果 屏幕闪一下立刻就唤醒     我没有分 /swap分区
Reply View the author
ibeetv.com
deepin
2012-12-20 06:17
#16
我在Ubuntu论坛上看到的关于休眠的方法,官方的说法是先用sudo pm-hibernate测试是否能够正常进入休眠状态,然后再修改配置文件以解锁休眠功能。
我还是喜欢设置较大的swap空间,一般是物理内存的1.5~3倍。目前我的内存是32GB,我设置了50GB的swap。即使这样,仍然经常出现内存爆满而导致程序崩溃。问题是主流级台式机芯片组及处理器最大就支持32GB(酷睿i7+H77),再大就需要上服务器平台了。
老兄,你32G内存啊,羡慕啊,我的才2G呢!
Reply View the author
xliang9550
deepin
2012-12-20 19:20
#17
32GB内存还不够用呢……
配置:
Intel H77主板(DH77EB)
i7 3770
32GB DDR3 1600内存
Intel 520 240GB固态硬盘
ST 3TB*3
蓝光刻录
(剩余一个eSATA端口连接外置Linux系统盘)
由于物理内存经常爆满,现在想重新分区,将swap从50GB增加到100GB。
Reply View the author
cxbii
deepin
2012-12-20 19:22
#18
32GB内存还不够用呢……
配置:
Intel H77主板(DH77EB)
i7 3770
32GB DDR3 1600内存
Intel 520 240GB固态硬盘
ST 3TB*3
蓝光刻录
(剩余一个eSATA端口连接外置Linux系统盘)
由于物理内存经常爆满,现在想重新分区,将swap从50GB增加到100GB。
你是做什么的...
Reply View the author
xliang9550
deepin
2012-12-20 19:35
#19
分子模拟、数学建模、等等……
Reply View the author
cxbii
deepin
2012-12-20 19:40
#20
分子模拟、数学建模、等等……
难怪了
Reply View the author