[gnome-user-docs] Update power-* pages for 3.10, fix bug 704455



commit acfd4eea268af10c4848c909d261d84d689bb39e
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Fri Nov 8 22:43:32 2013 +0000

    Update power-* pages for 3.10, fix bug 704455

 gnome-help/C/power-batterylife.page |   47 +++++++------
 gnome-help/C/power-closelid.page    |  124 +++++++++++++++++++++--------------
 2 files changed, 100 insertions(+), 71 deletions(-)
---
diff --git a/gnome-help/C/power-batterylife.page b/gnome-help/C/power-batterylife.page
index 3d08459..c552504 100644
--- a/gnome-help/C/power-batterylife.page
+++ b/gnome-help/C/power-batterylife.page
@@ -1,4 +1,5 @@
 <page xmlns="http://projectmallard.org/1.0/";
+      xmlns:its="http://www.w3.org/2005/11/its";
       type="topic" style="tip"
       id="power-batterylife">
 
@@ -7,38 +8,40 @@
     <link type="seealso" xref="power-suspend"/>
     <link type="seealso" xref="power-hibernate"/>
     <link type="seealso" xref="shell-exit#shutdown"/>
-    <revision pkgversion="3.7.1" version="0.2" date="2012-11-16" status="outdated"/>
 
-    <desc>Tips to reduce the power consumption of your computer.</desc>
+    <revision pkgversion="3.7.1" version="0.2" date="2012-11-16" status="outdated"/>
+    <revision pkgversion="3.10" date="2013-11-07" status="review"/>
 
     <credit type="author">
       <name>GNOME Documentation Project</name>
-      <email>gnome-doc-list gnome org</email>
+      <email its:translate="no">gnome-doc-list gnome org</email>
     </credit>
     <credit type="author">
       <name>Phil Bull</name>
-      <email>philbull gmail com</email>
+      <email its:translate="no">philbull gmail com</email>
     </credit>
     <credit type="editor">
       <name>Ekaterina Gerasimova</name>
-      <email>kittykat3756 gmail com</email>
+      <email its:translate="no">kittykat3756 gmail com</email>
     </credit>
     <credit type="editor">
       <name>Michael Hill</name>
-      <email>mdhillca gmail com</email>
+      <email its:translate="no">mdhillca gmail com</email>
     </credit>
 
     <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+    <desc>Tips to reduce the power consumption of your computer.</desc>
   </info>
 
-<title>Use less power and improve battery life</title>
+  <title>Use less power and improve battery life</title>
 
-<p>Computers can use a lot of power. By using some simple energy-saving
-strategies, you can reduce your energy bill and help the environment.</p>
+  <p>Computers can use a lot of power. By using some simple energy-saving
+  strategies, you can reduce your energy bill and help the environment.</p>
 
 <section id="general">
+  <title>General tips</title>
 
-<title>General tips</title>
 <list>
   <item>
     <p><link xref="shell-exit#suspend">Suspend your computer</link> when you
@@ -55,29 +58,29 @@ strategies, you can reduce your energy bill and help the environment.</p>
     <p>Use the <gui>Power</gui> preferences in <app>Settings</app> to change
     your power settings. There are a number of options that will help to save
     power: you can <!--display-dimscreen is a stub. Please add the link back
-    when it's unstubbed.-Aruna<link xref="display-dimscreen">--> automatically
-    dim the display after a certain time; <!--display-dimscreen is a stub.
+    when it's unstubbed.-Aruna<link xref="display-dimscreen">-->automatically
+    dim the display after a certain time, <!--display-dimscreen is a stub.
     Please add the link back when it's unstubbed.-Aruna
-    <link xref="display-dimscreen">-->reduce the display brightness (for laptops);
-    and have the computer
-    <link xref="power-suspend">automatically suspend</link> if you have not
-    used it for a certain period of time.</p>
+    <link xref="display-dimscreen">-->reduce the display brightness and have
+    the computer <link xref="power-suspend">automatically suspend</link> if you
+    have not used it for a certain period of time.</p>
   </item>
   <item>
     <p>Turn off any external devices (like printers and scanners) when you are
     not using them.</p>
   </item>
- </list>
+</list>
+
 </section>
 
 <section id="laptop">
- <title>Laptops, netbooks, and other devices with batteries</title>
+  <title>Laptops, netbooks, and other devices with batteries</title>
 
  <list>
    <item>
      <p><!--display-dimscreen is a stub. Please add the link back when it's
-     unstubbed.-Aruna<link xref="display-dimscreen">--> Reduce the screen
-     brightness; powering the screen accounts for a significant fraction of a
+     unstubbed.-Aruna<link xref="display-dimscreen">-->Reduce the screen
+     brightness: powering the screen accounts for a significant fraction of a
      laptop power consumption.</p>
      <p>Most laptops have buttons on the keyboard (or a keyboard shortcut) that
      you can use to reduce the brightness.</p>
@@ -91,10 +94,11 @@ strategies, you can reduce your energy bill and help the environment.</p>
      turn it on again when you need it.</p>
    </item>
  </list>
+
 </section>
 
 <section id="advanced">
- <title>More advanced tips</title>
+  <title>More advanced tips</title>
 
  <list>
    <item>
@@ -105,6 +109,7 @@ strategies, you can reduce your energy bill and help the environment.</p>
      the internet, play music or movies can impact your power consumption.</p>
    </item>
  </list>
+
 </section>
 
 </page>
diff --git a/gnome-help/C/power-closelid.page b/gnome-help/C/power-closelid.page
index 37634a3..3c9c674 100644
--- a/gnome-help/C/power-closelid.page
+++ b/gnome-help/C/power-closelid.page
@@ -6,71 +6,95 @@
   <info>
     <link type="guide" xref="power"/>
     <link type="seealso" xref="power-suspendfail"/>
+
     <revision pkgversion="3.4.0" date="2012-02-20" status="review"/>
-    <revision pkgversion="3.10" date="2013-07-18" status="outdated"/>
+    <revision pkgversion="3.10" date="2013-11-08" status="review"/>
 
     <credit type="author">
       <name>GNOME Documentation Project</name>
-      <email>gnome-doc-list gnome org</email>
+      <email its:translate="no">gnome-doc-list gnome org</email>
     </credit>
-    <credit type="editor">
+    <credit type="author editor">
       <name>Ekaterina Gerasimova</name>
-      <email>kittykat3756 gmail com</email>
+      <email its:translate="no">kittykat3756 gmail com</email>
     </credit>
 
     <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
 
-    <desc>Laptops go to sleep when you close the lid, in order to save power.</desc>
+    <desc>Laptops go to sleep when you close the lid, in order to save
+    power.</desc>
   </info>
 
-<title>Why does my computer turn off when I close the lid?</title>
-
-<p>When you close the lid of your laptop, your computer will <link
-xref="power-suspend"><em>suspend</em></link> in order to save power. This means
-that the computer is not actually turned off - it has just gone to sleep. You
-can resume it by opening the lid. If it does not resume, try clicking the mouse
-or pressing a key. If that still does not work, press the power button.</p>
+  <title>Why does my computer turn off when I close the lid?</title>
 
-<p>Some computers are unable to suspend properly, normally because their
-hardware is not completely supported by the operating system (for example, the
-Linux drivers are incomplete). In this case, you may find that you are unable
-to resume your computer after you have closed the lid. You can try to <link
-xref="power-suspendfail">fix the problem with suspend</link>, or you can
-prevent the computer from trying to suspend when you close the lid.</p>
+  <p>When you close the lid of your laptop, your computer will
+  <link xref="power-suspend"><em>suspend</em></link> in order to save power.
+  This means that the computer is not actually turned off - it has just gone to
+  sleep. You can resume it by opening the lid. If it does not resume, try
+  clicking the mouse or pressing a key. If that still does not work, press the
+  power button.</p>
 
-  <comment>
-    <cite date="2013-07-18">Kat</cite>
-    <p>Write instructions on how to change this setting, see 
https://bugzilla.gnome.org/show_bug.cgi?id=704455</p>
-  </comment>
+  <p>Some computers are unable to suspend properly, normally because their
+  hardware is not completely supported by the operating system (for example,
+  the Linux drivers are incomplete). In this case, you may find that you are
+  unable to resume your computer after you have closed the lid. You can try to
+  <link xref="power-suspendfail">fix the problem with suspend</link>, or you
+  can prevent the computer from trying to suspend when you close the lid.</p>
 
-<!-- TODO: this section is outdated and the instructions no longer work.
 <section id="nosuspend">
- <title>Stop the computer from suspending when the lid is closed</title>
- <p>If you do not want the computer to suspend when you close the lid, you can
- change the settings for that behavior. To set the computer to blank the
- screen, rather than suspend, when the lid is closed:</p>
- <note style="warning">
-   <p>Be very careful if you change this setting. Some laptops can overheat
-   if they are left running with the lid closed, especially if they are in
-   a confined place like a backpack.</p>
- </note>
- <steps>
-   <item>
-     <p>Open the <app>Terminal</app> application from the <gui>Activities</gui> overview.</p>
-   </item>
-   <item>
-     <p>To change the setting used when running on battery power, type this command and press 
<key>Enter</key>:</p>
-     <screen its:translate="no">
-       gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank
-     </screen>
-   </item>
-   <item>
-     <p>To change the setting used when running on AC power, type this command and press 
<key>Enter</key>:</p>
-     <screen its:translate="no">
-       gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank
-     </screen>
-   </item>
- </steps>
-</section>-->
+  <title>Stop the computer from suspending when the lid is closed</title>
+
+  <note style="important">
+    <p>These instructions will only work if you are using <app>systemd</app>.
+    Contact your distribution for more information.</p>
+  </note>
+
+  <p>If you do not want the computer to suspend when you close the lid, you can
+  change the settings for that behavior. You will need to have an
+  <link xref="user-admin-change">administrator password</link> to change the
+  setting.</p>
+
+  <note style="warning">
+    <p>Be very careful if you change this setting. Some laptops can overheat
+    if they are left running with the lid closed, especially if they are in
+    a confined place like a backpack.</p>
+  </note>
+
+  <steps>
+    <item>
+      <p>Open the <app>Terminal</app> application from the
+      <gui>Activities</gui> overview.</p>
+    </item>
+    <item>
+      <p>Run the following command:</p>
+      <screen its:translate="no"><output style="prompt">$</output> <input>sudoedit 
/etc/systemd/logind.conf</input></screen>
+    </item>
+    <item>
+      <p>You will now see the contents of the file. Look for
+      <code>HandleLidSwitch=</code> in the file. The line may be quoted out
+      with a <code>#</code> at the start and may be followed by an argument. If
+      the line already exists, unquote it. Otherwise, add the line.</p>
+      <code>
+[Login]
+HandleLidSwitch=<input>lock</input>
+      </code>
+      <p>You can use <input>lock</input> for the screen to lock,
+      <input>ignore</input> for nothing to happen, <input>poweroff</input> for
+      the computer to switch off or <input>suspend</input> to suspend. For more
+      information, see <link href="man:logind.conf">logind.conf help</link>.</p>
+    </item>
+    <item>
+      <p>Once you finish editing the file, save your changes and quit the
+      editor.</p>
+    </item>
+    <item>
+      <p>Run the following command to make your change work:</p>
+      <screen its:translate="no"><output style="prompt">$</output> <input>sudo systemctl restart 
systemd-logind.service</input></screen>
+      <p>If you do not run that command, the change will only work after your
+      computer is restarted.</p>
+    </item>
+  </steps>
+
+</section>
 
 </page>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]