~ubuntu-branches/ubuntu/vivid/gnome-user-docs/vivid-proposed

« back to all changes in this revision

Viewing changes to gnome-help/zh_CN/power-closelid.page

  • Committer: Package Import Robot
  • Author(s): Luca Falavigna
  • Date: 2014-07-15 22:20:04 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20140715222004-pce2zyc0v4ycke4o
Tags: 3.12.2-1
* Team upload.
* New upstream release.
* debian/control.in:
  - Bump Standards-Version to 3.9.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="question" id="power-closelid" xml:lang="zh-CN">
 
3
 
 
4
  <info>
 
5
    <link type="guide" xref="power"/>
 
6
    <link type="seealso" xref="power-suspendfail"/>
 
7
 
 
8
    <revision pkgversion="3.4.0" date="2012-02-20" status="review"/>
 
9
    <revision pkgversion="3.10" date="2013-11-08" status="review"/>
 
10
 
 
11
    <credit type="author">
 
12
      <name>GNOME 文档项目</name>
 
13
      <email its:translate="no">gnome-doc-list@gnome.org</email>
 
14
    </credit>
 
15
    <credit type="author editor">
 
16
      <name>Ekaterina Gerasimova</name>
 
17
      <email its:translate="no">kittykat3756@gmail.com</email>
 
18
    </credit>
 
19
 
 
20
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
 
21
 
 
22
    <desc>在您合上笔记本盖时,将会进入睡眠以省电。</desc>
 
23
  
 
24
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
 
25
      <mal:name>TeliuTe</mal:name>
 
26
      <mal:email>teliute@163.com</mal:email>
 
27
      <mal:years>2011, 2012</mal:years>
 
28
    </mal:credit>
 
29
  </info>
 
30
 
 
31
  <title>为什么我合上笔记本盖时它会关闭?</title>
 
32
 
 
33
  <p>当您合上笔记本盖,计算机将会<link xref="power-suspend"><em>挂起</em></link>以省电。也就是说计算机并没有真正关闭——它只是进入睡眠,您可以打开盖唤醒它。如果翻盖后不能唤醒,试着点几下鼠标,或者按一下键盘。如果还不能工作,那么就按电源按钮。</p>
 
34
 
 
35
  <p>一些计算机不能很好地挂起,这通常是因为硬件不完全支持操作系统(例如,Linux 驱动不完善)。在这种情况下,您可能会发现合上盖再打开时,不能唤醒电脑。您可以试着<link xref="power-suspendfail">修复挂起错误</link>,或者您可以阻止电脑在合上盖时挂起。</p>
 
36
 
 
37
<section id="nosuspend">
 
38
  <title>Stop the computer from suspending when the lid is closed</title>
 
39
 
 
40
  <note style="important">
 
41
    <p>These instructions will only work if you are using <app>systemd</app>.
 
42
    Contact your distribution for more information.</p>
 
43
  </note>
 
44
 
 
45
  <p>If you do not want the computer to suspend when you close the lid, you can
 
46
  change the settings for that behavior. You will need to have an
 
47
  <link xref="user-admin-change">administrator password</link> to change the
 
48
  setting.</p>
 
49
 
 
50
  <note style="warning">
 
51
    <p>Be very careful if you change this setting. Some laptops can overheat
 
52
    if they are left running with the lid closed, especially if they are in
 
53
    a confined place like a backpack.</p>
 
54
  </note>
 
55
 
 
56
  <steps>
 
57
    <item>
 
58
      <p>在<gui>活动</gui>概览中,打开<app>终端</app>程序。</p>
 
59
    </item>
 
60
    <item>
 
61
      <p>Run the following command:</p>
 
62
      <screen its:translate="no"><output style="prompt">$</output> <input>sudoedit /etc/systemd/logind.conf</input></screen>
 
63
    </item>
 
64
    <item>
 
65
      <p>You will now see the contents of the file. Look for
 
66
      <code>HandleLidSwitch=</code> in the file. The line may be quoted out
 
67
      with a <code>#</code> at the start and may be followed by an argument. If
 
68
      the line already exists, unquote it. Otherwise, add the line.</p>
 
69
      <code>
 
70
[Login]
 
71
HandleLidSwitch=<input>lock</input>
 
72
      </code>
 
73
      <p>You can use <input>lock</input> for the screen to lock,
 
74
      <input>ignore</input> for nothing to happen, <input>poweroff</input> for
 
75
      the computer to switch off or <input>suspend</input> to suspend. For more
 
76
      information, see <link href="man:logind.conf">logind.conf help</link>.</p>
 
77
    </item>
 
78
    <item>
 
79
      <p>Once you finish editing the file, save your changes and quit the
 
80
      editor.</p>
 
81
    </item>
 
82
    <item>
 
83
      <p>Run the following command to make your change work:</p>
 
84
      <screen its:translate="no"><output style="prompt">$</output> <input>sudo systemctl restart systemd-logind.service</input></screen>
 
85
      <p>If you do not run that command, the change will only work after your
 
86
      computer is restarted.</p>
 
87
    </item>
 
88
  </steps>
 
89
 
 
90
</section>
 
91
 
 
92
</page>