1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang=it>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>How do I hibernate my computer?</title>
<link rel="stylesheet" type="text/css" href="C.css">
<script type="text/javascript" src="jquery.js"></script><script type="text/javascript" src="jquery.syntax.js"></script><script type="text/javascript" src="yelp.js"></script><link rel="stylesheet" type="text/css" href="main.css">
<link rel="stylesheet" type="text/css" href="custom.css">
<script type="text/javascript" src="http://ubuntu-it.org/sites/all/themes/light-drupal-theme/js/cookies.js"></script><script type="text/javascript" src="http://ubuntu-it.org/sites/all/themes/light-drupal-theme/js/accessibility.js"></script>
</head>
<body>
<script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-8147493-2");
pageTracker._trackPageview();
} catch(err) {}
</script><div id="fixed-header">
<div id="header" class="shadowed curved-bottom"><div class="container">
<ul class="links">
<li><a href="http://help.ubuntu-it.org">Documentazione ufficiale</a></li>
<li><a href="http://wiki.ubuntu-it.org/Documentazione/Indice">Guide della comunità</a></li>
<li class="active"><a href="http://help.ubuntu-it.org/12.04/desktop/index.html">12.04 LTS</a></li>
</ul>
<div id="logo">
<div id="ubuntu-it-sites">
<a href="http://www.ubuntu-it.org">web </a><a href="http://wiki.ubuntu-it.org">wiki </a><a href="http://forum.ubuntu-it.org">forum </a><a href="http://planet.ubuntu-it.org">planet </a>
</div>
<a href="http://help.ubuntu-it.org" title="Ubuntu - Documentazione ufficiale"><span>help.</span>ubuntu-it
</a><span>comunità italiana</span>
</div>
<div class="buttons"><div id="accessibility" title="Maggiore focus ai contenuti" onclick="accessibility_toggle();"></div></div>
</div></div>
<div id="subheader"><div class="container"><div class="container-inside"><ul class="links secondary-links">
<li class="active"><a href="http://help.ubuntu-it.org/12.04/desktop/index.html" title="Guida utente di Ubuntu 12.04 LTS">Desktop</a></li>
<li><a href="http://help.ubuntu-it.org/12.04/server/serverguide/it/index.html" title="Guida utente di Ubuntu server 12.04 LTS">Server</a></li>
<li><a href="http://help.ubuntu-it.org/12.04/search.php" title="Ricerna della documentazione di Ubuntu 12.04 LTS">Ricerca</a></li>
</ul></div></div></div>
</div>
<div id="content">
<div id="content-top"></div>
<div class="container">
<div id="search-box"><form action="http://help.ubuntu-it.org/12.04/search.php" id="cse-search-box"><div><input type="text" name="s" value="Cerca ..." onfocus="if(this.value == 'Cerca ...') { this.value = ''; }" onblur="if (this.value == '') {this.value = 'Cerca ...';}"></div></form></div>
<div class="trails">
<div class="trail">
<a href="http://help.ubuntu-it.org" class="trail">Documentazione di Ubuntu</a> » <a class="trail" href="index.html" title="Guida Ubuntu Desktop"><span class="media media-image"><img src="figures/ubuntu-logo.png" height="16" width="16" alt="Help"></span> Guida Ubuntu Desktop</a> » <a class="trail" href="hardware.html" title="Hardware e driver">Hardware</a> » <a class="trail" href="power.html" title="Power & battery">Power & battery</a> » </div>
<div class="trail">
<a href="http://help.ubuntu-it.org" class="trail">Documentazione di Ubuntu</a> » <a class="trail" href="index.html" title="Guida Ubuntu Desktop"><span class="media media-image"><img src="figures/ubuntu-logo.png" height="16" width="16" alt="Help"></span> Guida Ubuntu Desktop</a> » <a class="trail" href="prefs.html" title="Impostazioni utente e di sistema">Settings</a> » <a class="trail" href="power.html" title="Power & battery">Power & battery</a> » </div>
</div>
<div id="cwt-content"><div id="page">
<div id="content">
<div class="hgroup"><h1 class="title"><span class="title">How do I hibernate my computer?</span></h1></div>
<div class="region">
<div class="contents">
<p class="p">When the computer <span class=" em">hibernates</span>, all of your applications and
documents are stored and the computer completely switches off so it does not
use any power, but the applications and documents will still be open when you
switch on the computer again.</p>
<p class="p">Unfortunately, hibernate <span class=" link"><a href="power-suspendfail.html" title="Why won't my computer turn back on after I suspended it?">doesn't work</a></span> in many cases with Ubuntu, which can cause
you to lose data if you expect your documents and applications to re-open when
you switch your computer back on. Therefore, hibernate is disabled by default in
Ubuntu 12.04.</p>
</div>
<div id="test-hibernate" class="sect"><div class="inner">
<div class="hgroup"><h2 class="title"><span class="title">Test if hibernate works</span></h2></div>
<div class="region"><div class="contents">
<div class="note note-important" title="Importante"><div class="inner">
<div class="title title-note"><h3><span class="title">Always save your work before hibernating</span></h3></div>
<div class="region"><div class="contents"><p class="p">You should save all of your work before hibernating the computer, just in
case something goes wrong and your open applications and documents cannot be
recovered when you switch on the computer again.</p></div></div>
</div></div>
<p class="p">You can use the command line to test if hibernate works on your computer.</p>
<div class="steps"><div class="inner"><div class="region"><ol class="steps">
<li class="steps"><p class="p">Open the <span class=" app">Terminal</span> by pressing <span class=" keyseq"><span class=" key"><kbd>Ctrl</kbd></span>+<span class=" key"><kbd>Alt</kbd></span>+<span class=" key"><kbd>t</kbd></span></span>
or by searching for <span class=" input">terminal</span> in the <span class=" gui">dash</span>.</p></li>
<li class="steps">
<p class="p">Type <span class=" cmd">sudo pm-hibernate</span> into the terminal and press <span class=" key"><kbd>Enter</kbd></span>.</p>
<p class="p">Enter your password when prompted.</p>
</li>
<li class="steps">
<p class="p">After you computer turns off, switch it back on. Did your open applications
re-open?</p>
<p class="p">If hibernate doesn't work, check if your swap partition is at least as large as your
available RAM.</p>
</li>
</ol></div></div></div>
</div></div>
</div></div>
<div id="enable-hibernate" class="sect"><div class="inner">
<div class="hgroup"><h2 class="title"><span class="title">Enable hibernate</span></h2></div>
<div class="region"><div class="contents">
<p class="p">If the hibernate test works, you can continue to use the <span class=" cmd">sudo pm-hibernate</span>
command when you want to hibernate.</p>
<p class="p">You can also enable the hibernate option in the menus. To do that, use your favorite text
editor to create <span class=" file">/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla</span>.
Add the following to the file and save:</p>
<div class="code"><pre class="contents ">[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes</pre></div>
</div></div>
</div></div>
<div class="sect sect-links">
<div class="hgroup"></div>
<div class="contents">
<div class="links seealsolinks"><div class="inner">
<div class="title"><h2><span class="title">More Information</span></h2></div>
<div class="region"><ul><li class="links ">
<a href="power.html" title="Power & battery">Power & battery</a><span class="desc"> —
<span class=" link"><a href="power-suspend.html" title="What happens when I suspend my computer?">Suspend</a></span>,
<span class=" link"><a href="power-batterylife.html" title="Use less power and improve battery life">energy savings</a></span>,
<span class=" link"><a href="power-whydim.html" title="Why does my screen go dim after a while?">screen dimming</a></span>…
</span>
</li></ul></div>
</div></div>
<div class="links seealsolinks"><div class="inner">
<div class="title"><h2><span class="title">Confronta anche</span></h2></div>
<div class="region"><ul>
<li class="links ">
<a href="shell-exit.html" title="Terminare la sessione, spegnere il computer, cambiare utente">Terminare la sessione, spegnere il computer, cambiare utente</a><span class="desc"> — Imparare come terminare la sessione, cambiare utente e altro.</span>
</li>
<li class="links ">
<a href="power-suspendfail.html" title="Why won't my computer turn back on after I suspended it?">Why won't my computer turn back on after I suspended it?</a><span class="desc"> — Some computer hardware causes problems with suspend or hibernate.</span>
</li>
</ul></div>
</div></div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div id="pagebottom"></div>
</div></div>
</div>
<div id="content-bottom"></div>
</div>
<div id="footer"><div class="container">
<div id="ubuntulinks">Ubuntu e Canonical sono marchi registrati da Canonical Ltd. <br>
Questa opera è pubblicata sotto una <span style="text-decoration: underline;"><a href="http://help.ubuntu-it.org/legal.html">licenza</a></span> Creative Commons.
</div>
<div id="pagebottom"></div>
</div></div>
</body>
</html>