Author: bdubbs
Date: Wed Sep 16 22:00:55 2015
New Revision: 16420
Log:
Add kernel options for suspend and hibernate.
Minor xfce updates.
Modified:
trunk/BOOK/general.ent
trunk/BOOK/general/sysutils/pm-utils.xml
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/xfce/core/xfce4-session.xml
trunk/BOOK/xfce/core/xfce4-xkb-plugin.xml
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Wed Sep 16 12:02:25 2015 (r16419)
+++ trunk/BOOK/general.ent Wed Sep 16 22:00:55 2015 (r16420)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "13"> <!-- Always 2 digits -->
+<!ENTITY day "16"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2015">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "September 13th &year;">
+<!ENTITY releasedate "September 16th &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
Modified: trunk/BOOK/general/sysutils/pm-utils.xml
==============================================================================
--- trunk/BOOK/general/sysutils/pm-utils.xml Wed Sep 16 12:02:25 2015
(r16419)
+++ trunk/BOOK/general/sysutils/pm-utils.xml Wed Sep 16 22:00:55 2015
(r16420)
@@ -82,11 +82,8 @@
<para role="optional">
<xref linkend="hdparm"/>,
<xref linkend="wireless_tools"/>,
- <ulink
url="https://www.kernel.org/pub/software/network/ethtool/">ethtool</ulink> and
- <!-- both http://www.codon.org.uk/~mjg59/vbetool/ and
- http://www.srcf.ucam.org/~mjg59/vbetool/ are down -->
+ <ulink
url="https://www.kernel.org/pub/software/network/ethtool/">ethtool</ulink>, and
<ulink
url="http://ftp.de.debian.org/debian/pool/main/v/vbetool/">vbetool</ulink>
- <!-- radeontool, deprecated? -->
</para>
<para condition="html" role="usernotes">User Notes:
@@ -94,6 +91,49 @@
</para>
</sect2>
+ <sect2 role="kernel" id="pm-utils-kernel">
+ <title>Kernel Configuration</title>
+
+ <para>
+ If needed, enable the following options in the kernel configuration and
+ recompile the kernel:
+ </para>
+
+ <screen><literal>Power management and ACPI options --->
+ <*> Suspend to RAM and standby [CONFIG_SUSPEND]
+ <*> Hibernation (aka 'suspend to disk')
[CONFIG_HIBERNATION]</literal></screen>
+
+ <para>
+ Suspend to RAM allows the system to enter sleep states in which main
+ memory is powered and thus its contents are preserved. The method cuts
+ power to most parts of the machine aside from the RAM. Because of the
+ large power savings, it is advisable for laptops to automatically enter
+ this mode when the computer is running on batteries and the lid is closed
+ (or the user is inactive for some time).
+ </para>
+
+ <para>
+ Suspend to disk (Hibernation) saves the machine's state into swap space
+ and completely powers off the machine. When the machine is powered on,
+ the state is restored. Until then, there is zero power consumption.
+ Suspend to RAM and hibernation are normally appropriate for portable
+ devices such as laptops, but can be used on workstations. The capability
+ is not really appropriate for servers.
+ </para>
+
+ <para>
+ To use hibernation, the kernel parameter
+ resume=/dev/<swap_partition> has to be used on the kernel command
+ line (in grub.cfg). The swap partition should be at least the size of
+ the physical RAM on the system.
+ </para>
+
+ <indexterm zone="pm-utils pm-utils-kernel">
+ <primary sortas="d-pm-utils">pm-utils</primary>
+ </indexterm>
+
+ </sect2>
+
<sect2 role="installation">
<title>Installation of Power Management Utilities</title>
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Wed Sep 16 12:02:25
2015 (r16419)
+++ trunk/BOOK/introduction/welcome/changelog.xml Wed Sep 16 22:00:55
2015 (r16420)
@@ -45,6 +45,16 @@
-->
<listitem>
+ <para>September 16th, 2015</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Add kernel options for suspend and hibernate
+ to pm-utils.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>September 13th, 2015</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/xfce/core/xfce4-session.xml
==============================================================================
--- trunk/BOOK/xfce/core/xfce4-session.xml Wed Sep 16 12:02:25 2015
(r16419)
+++ trunk/BOOK/xfce/core/xfce4-session.xml Wed Sep 16 22:00:55 2015
(r16420)
@@ -86,8 +86,9 @@
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
- <xref linkend="desktop-file-utils"/> and
- <xref linkend="shared-mime-info"/>
+ <xref linkend="desktop-file-utils"/>
+ <xref linkend="shared-mime-info"/>, and
+ <xref linkend="polkit-gnome"/>
</para>
<bridgehead renderas="sect4">Required Runtime</bridgehead>
Modified: trunk/BOOK/xfce/core/xfce4-xkb-plugin.xml
==============================================================================
--- trunk/BOOK/xfce/core/xfce4-xkb-plugin.xml Wed Sep 16 12:02:25 2015
(r16419)
+++ trunk/BOOK/xfce/core/xfce4-xkb-plugin.xml Wed Sep 16 22:00:55 2015
(r16420)
@@ -97,6 +97,11 @@
<sect2 role="installation">
<title>Installation of Xfce4 Keyboard Plugin</title>
+ <para>First, fix a path issue for a plugin:</para>
+
+<screen><userinput>sed -e 's|xfce4/panel-plugins|xfce4/panel/plugins|' \
+ -i panel-plugin/{Makefile.in,xkb-plugin.desktop.in.in}</userinput></screen>
+
<para>
Install <application>Xfce4 Keyboard Plugin</application> by running the
following commands:
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page