summaryrefslogtreecommitdiffstats
path: root/gnome2-system-admin-guide/C/performance.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-system-admin-guide/C/performance.xml')
-rw-r--r--gnome2-system-admin-guide/C/performance.xml258
1 files changed, 52 insertions, 206 deletions
diff --git a/gnome2-system-admin-guide/C/performance.xml b/gnome2-system-admin-guide/C/performance.xml
index 0c26d10..21cd41f 100644
--- a/gnome2-system-admin-guide/C/performance.xml
+++ b/gnome2-system-admin-guide/C/performance.xml
@@ -11,14 +11,14 @@ the GNOME Desktop.</para>
<secondary>introduction</secondary>
</indexterm>
<para>This chapter lists several preferences whose
-settings you can change to improve the performance of the desktop environment.
-You can use the <command>gconftool-2</command> command to set values for preferences
+settings you can change to improve the performance of the GNOME Desktop. You
+can use the <command>gconftool-2</command> command to set values for preferences
for users. The example commands in this chapter show how to set values in
-the user configuration source. </para>
+the user configuration source.</para>
<para>You can also use the <literal>--direct</literal> and <literal>--config-source</literal> options to set mandatory values or default values for preferences.
You can also use the <command>gconftool-2</command> command in a script to
set the values of many preferences. For more information on the <command>gconftool-2</command> command and the options that are available with the
-command, see <citetitle>Using GConf</citetitle>.</para>
+command, see <xref linkend="gconf-0"/>.</para>
</sect1>
<sect1 id="performance-8">
<title>Reducing CPU Usage</title>
@@ -36,7 +36,7 @@ usage</secondary>
<secondary>reducing</secondary>
</indexterm>
<para>This section describes preferences that
-you can set to reduce CPU usage by the desktop environment. </para>
+you can set to reduce CPU usage by the GNOME Desktop. </para>
<sect2 id="performance-3">
<title>To Use Theme Options Which Require Less CPU Resources</title>
<indexterm>
@@ -51,9 +51,9 @@ you can set to reduce CPU usage by the desktop environment. </para>
<para>Some window frame theme
options load image files to draw the window frame. Other options use simpler
techniques to draw the window frame.</para>
- <para>The default window frame option is Crux. Crux loads image files, and
-can be slow on systems with limited CPU resources. To reduce CPU usage, use
-one of the following window frame options: </para>
+ <para>The Crux window frame option loads image files, and can be slow on systems
+with limited CPU resources. To reduce CPU usage, use one of the following
+window frame options: </para>
<itemizedlist>
<listitem>
<para>Atlanta</para>
@@ -92,7 +92,8 @@ frame theme option, run the following command: </para>
<userinput>gconftool-2 --type string
--set /apps/metacity/general/theme Atlanta</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guimenuitem>Theme</guimenuitem></menuchoice>, then select the appropriate option.</para>
+ <para>Alternatively, users can use the <application>Theme</application> preference
+tool to select the appropriate option.</para>
<tip>
<para>You can use the <application>Metacity Theme Viewer</application>
to measure the performance of a window frame option, and to preview the option.
@@ -132,7 +133,8 @@ item. To turn off this feature, run the following command: </para>
<userinput>gconftool-2 --type bool
--set /desktop/gnome/interface/menus_have_icons false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guimenuitem>Menus &amp; Toolbars</guimenuitem></menuchoice>, then deselect the <guilabel>Show icons in menus</guilabel> option.</para>
+ <para>Alternatively, users can use the <application>Menus &amp; Toolbars</application>
+preference tool to deselect the <guilabel>Show icons in menus</guilabel> option.</para>
</sect2>
<sect2 id="performance-6">
<title>To Reduce CPU Usage by Turning Off the Splash Screen</title>
@@ -150,8 +152,9 @@ login. </para>
<userinput>gconftool-2 --type bool
--set /apps/gnome-session/options/show_splash_screen false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced</guisubmenu><guimenuitem>Sessions</guimenuitem></menuchoice>,
-then deselect the <guilabel>Show splash screen on login</guilabel> option.</para>
+ <para>Alternatively, users can use the <application>Sessions</application>
+preference tool to deselect the <guilabel>Show splash screen on login</guilabel>
+option.</para>
</sect2>
<sect2 id="performance-4">
<title>To Reduce CPU Usage by Turning Off Panel Animation</title>
@@ -166,8 +169,8 @@ in an animated style. To turn off panel animation, run the following command: </
<userinput>gconftool-2 --type bool
--set /apps/panel/global/enable_animations false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced</guisubmenu><guimenuitem>Panel</guimenuitem></menuchoice>,
-then deselect the <guilabel>Animation</guilabel> option.</para>
+ <para>Alternatively, users can use the <application>Panel</application> preference
+tool to deselect the <guilabel>Drawer and panel animation</guilabel> option.</para>
</sect2>
<sect2 id="performance-7">
<title>Improving File Manager Performance</title>
@@ -193,24 +196,24 @@ values are described in the following table:</para>
<colspec colwidth="65.54*"/>
<thead>
<row rowsep="1">
- <entry valign="top">
+ <entry>
<para>Value</para>
</entry>
- <entry valign="top">
+ <entry>
<para>Description</para>
</entry>
</row>
</thead>
<tbody>
<row>
- <entry>
+ <entry valign="top">
<para>
<literal>always</literal>
</para>
</entry>
- <entry>
- <para>Performs
-the action for both local files, and files on other file systems.</para>
+ <entry valign="top">
+ <para>Performs the action for both local files, and files on
+other file systems.</para>
</entry>
</row>
<row>
@@ -247,10 +250,10 @@ manager. For the fastest performance, set the value of the preferences to <liter
<colspec colwidth="56.66*"/>
<thead>
<row rowsep="1">
- <entry valign="top">
+ <entry>
<para>Preference</para>
</entry>
- <entry valign="top">
+ <entry>
<para>Description</para>
</entry>
</row>
@@ -275,10 +278,10 @@ files, run the following command: </para>
the following steps:</para>
<orderedlist>
<listitem>
- <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Performance</guilabel>.</para>
+ <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Preview</guilabel>.</para>
</listitem>
<listitem>
- <para>Select an option for the <guilabel>Show Text in Icons</guilabel>
+ <para>Select an option for the <guilabel>Show text in icons</guilabel>
preference.</para>
</listitem>
</orderedlist>
@@ -301,11 +304,11 @@ To never show the number of items in folders, run the following command:</para>
<para>Alternatively, users can perform the following steps:</para>
<orderedlist>
<listitem>
- <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Performance</guilabel>.</para>
+ <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Preview</guilabel>.</para>
</listitem>
<listitem>
- <para>Select an option for the <guilabel>Show Number of Items in
-Folders</guilabel> preference.</para>
+ <para>Select an option for the <guilabel>Count number of items</guilabel>
+preference.</para>
</listitem>
</orderedlist>
</entry>
@@ -327,11 +330,11 @@ To never show thumbnails, run the following command:</para>
<para>Alternatively, users can perform the following steps:</para>
<orderedlist>
<listitem>
- <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Performance</guilabel>.</para>
+ <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Preview</guilabel>.</para>
</listitem>
<listitem>
- <para>Select an option for the <guilabel>Show Thumbnails for Image
-Files</guilabel> preference.</para>
+ <para>Select an option for the <guilabel>Show thumbnails</guilabel>
+preference.</para>
</listitem>
</orderedlist>
</entry>
@@ -354,10 +357,10 @@ never </userinput>
steps:</para>
<orderedlist>
<listitem>
- <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Performance</guilabel>.</para>
+ <para>Choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window, then choose <guilabel>Preview</guilabel>.</para>
</listitem>
<listitem>
- <para>Select an option for the <guilabel>Preview Sound Files</guilabel>
+ <para>Select an option for the <guilabel>Preview sound files</guilabel>
preference.</para>
</listitem>
</orderedlist>
@@ -382,9 +385,6 @@ turn off the side pane and the toolbar.</para>
<userinput>gconftool-2 --type bool
--set /apps/nautilus/preferences/start_with_sidebar false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window,
-then choose <guilabel>Windows</guilabel>, and then deselect the <guilabel>Display side pane</guilabel> option. The next time that users open a file
-manager window, the window does not display a side pane. </para>
<para><indexterm><primary>file manager</primary><secondary>toolbar, turning
off</secondary></indexterm>To turn off the toolbar, run the following command: </para>
<para>
@@ -392,9 +392,6 @@ off</secondary></indexterm>To turn off the toolbar, run the following command: <
<userinput>gconftool-2 --type bool
--set /apps/nautilus/preferences/start_with_toolbar false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window,
-then choose <guilabel>Windows</guilabel>, and then deselect the <guilabel>Display toolbar</guilabel> option. The next time that users open a file manager
-window, the window does not display a toolbar. </para>
<para>You can also turn off the location bar. Users can use the <keycombo><keycap>Ctrl</keycap><keycap>L</keycap></keycombo> keyboard shortcut to display a location bar
when required. </para>
<para><indexterm><primary>file manager</primary><secondary>location bar, turning
@@ -405,9 +402,6 @@ command:</para>
<userinput>gconftool-2 --type bool
--set /apps/nautilus/preferences/start_with_location_bar false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window,
-then choose <guilabel>Windows</guilabel>, and then deselect the <guilabel>Display location bar</guilabel> option. The next time that users open a file
-manager window, the window does not display a location bar.</para>
</sect3>
<sect3 id="performance-11">
<title>To Turn Off the Desktop</title>
@@ -422,8 +416,8 @@ off</secondary>
</indexterm>
<para>The file manager contains a preference that
enables users to use <application>Nautilus</application> to manage the desktop.
-Users can disable the desktop to improve performance. However, if users disable
-the desktop, users cannot do the following:</para>
+You can disable the desktop to improve performance. However, if you disable
+the desktop, you cannot do the following:</para>
<itemizedlist>
<listitem>
<para>Use the <guimenu>Desktop</guimenu> menu.</para>
@@ -433,7 +427,8 @@ the desktop, users cannot do the following:</para>
desktop background. </para>
</listitem>
<listitem>
- <para>Use the <guilabel>Home</guilabel> object and the <guilabel>Trash</guilabel> object. The <guilabel>Home</guilabel> object and the <guilabel>Trash</guilabel> object are not displayed on the desktop. </para>
+ <para>Use the desktop objects, such as <guilabel>Trash</guilabel>.
+The desktop objects are not displayed on the desktop. </para>
</listitem>
</itemizedlist>
<para>To disable the desktop, run the following command: </para>
@@ -442,9 +437,6 @@ desktop background. </para>
<userinput>gconftool-2 --type bool
--set /apps/nautilus/preferences/show_desktop false</userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></menuchoice> from a file manager window.
-Users can then choose <guilabel>Desktop &amp; Trash</guilabel>, and then deselect
-the <guilabel>Use Nautilus to draw the desktop</guilabel> option. </para>
</sect3>
</sect2>
</sect1>
@@ -462,7 +454,7 @@ reducing</primary>
<primary>network traffic, reducing</primary>
</indexterm>
<para>This section describes preferences that you can
-set to reduce X Window System network traffic on the desktop environment. </para>
+set to reduce X Window System network traffic on the GNOME Desktop. </para>
<sect2 id="performance-14">
<title>To Use Theme Options Which Create Less Network Traffic</title>
<indexterm>
@@ -519,11 +511,11 @@ traffic if the panels are displayed on a remote host. </para>
<para>Many modern computer systems support 24-bit color, that is, 16,777,216 colors.
However, many users still use systems that support 8-bit color, that is, 256
colors. </para>
- <para>The desktop environment uses the <firstterm>websafe color palette</firstterm>.
+ <para>The GNOME Desktop uses the <firstterm>websafe color palette</firstterm>.
This palette is a general-purpose palette of 216 colors, which is designed
to optimize the use of color on systems that support 8-bit color. However,
-some visual components of the desktop environment are designed for systems
-that support 24-bit color.</para>
+some visual components of the GNOME Desktop are designed for systems that
+support 24-bit color.</para>
<para>The following display problems might occur on systems that support 8-bit
color:</para>
<itemizedlist>
@@ -549,7 +541,7 @@ might lose colors, then become unviewable.</para>
</listitem>
</itemizedlist>
<para>The following sections describe how to optimize the appearance of the
-desktop environment for systems that support 8-bit color. </para>
+GNOME Desktop for systems that support 8-bit color. </para>
<sect2 id="performance-20">
<title>To Use Theme Options That Use the Websafe Color Palette</title>
<indexterm>
@@ -586,18 +578,18 @@ can increase the number of colors used.</para>
<secondary>and color usage</secondary>
</indexterm>
<para>You can turn off the splash screen to make more colors available
-for the desktop environment and for applications.</para>
+for the GNOME Desktop and for applications.</para>
<para>For information on how to turn off the splash screen, see <xref linkend="performance-6"/>.</para>
</sect2>
<sect2 id="performance-19">
- <title>To Reduce Color Usage by Using a Solid Color for the Desktop Background</title>
+ <title>To Reduce Color Usage by Using a Solid Color for the Background</title>
<indexterm>
- <primary>desktop background</primary>
+ <primary>background</primary>
<secondary>using solid color</secondary>
</indexterm>
- <para>Use a solid color for the desktop background.
-Use of a solid color reduces the number of colors used by the desktop environment. </para>
- <para>To set a solid color for the desktop background, run the following commands: </para>
+ <para>Use a solid color for the desktop background. Use of a solid
+color reduces the number of colors used by the GNOME Desktop. </para>
+ <para>To set a solid color for the background, run the following commands: </para>
<para>
<computeroutput>#</computeroutput>
<userinput>gconftool-2 --type string
@@ -613,154 +605,8 @@ Use of a solid color reduces the number of colors used by the desktop environmen
<userinput>gconftool-2 --type string
--set /desktop/gnome/background/primary_color \#<replaceable>hexadecimal-color</replaceable></userinput>
</para>
- <para>Alternatively, users can choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guimenuitem>Background</guimenuitem></menuchoice>, then choose a solid color for the desktop
-background.</para>
+ <para>Alternatively, users can use the <application>Background</application>
+preference tool to choose a solid color for the background.</para>
</sect2>
</sect1>
- <sect1 id="performance-23">
- <title>Improving Performance of Help</title>
- <indexterm>
- <primary>improving</primary>
- <secondary>Help performance</secondary>
- </indexterm>
- <indexterm>
- <primary>Help</primary>
- <secondary>improving performance</secondary>
- </indexterm>
- <indexterm>
- <primary>performance, improving</primary>
- <secondary>Help</secondary>
- </indexterm>
- <para>The source documents for the
-Help are XML files. The XML files are converted to HTML, and the <application>Yelp</application> Help browser displays the HTML. The HTML can be <firstterm>pregenerated</firstterm>, that is, the XML can be converted to HTML before
-the Help is used.</para>
- <para>Alternatively, the conversion can be performed automatically when a
-user calls a Help file. If the conversion is performed when the user calls
-the Help file, the conversion has a significant impact on the speed with which
-Help documents are displayed.</para>
- <para>To avoid performance problems with the Help, pregenerate the HTML so
-that the Help browser does not need to do the conversion. Use the <command>yelp-pregenerate</command> command to pregenerate a Help document. The syntax
-of the <command>yelp-pregenerate</command> command is as follows: </para>
- <cmdsynopsis>
- <command>yelp-pregenerate</command>
- <group>
- <arg choice="plain">
- <option>a</option>
- </arg>
- <arg choice="opt">
- <option>f</option>
- <replaceable>filename</replaceable>
- </arg>
- </group>
- <arg choice="opt">
- <option role="nodash">
- <replaceable>locale</replaceable>
- </option>
- </arg>
- </cmdsynopsis>
- <para>The following table describes the options and arguments
-for the <command>yelp-pregenerate</command> command:</para>
- <informaltable frame="topbot">
- <tgroup cols="2" colsep="0" rowsep="0">
- <colspec colwidth="33.33*"/>
- <colspec colwidth="66.67*"/>
- <thead>
- <row rowsep="1">
- <entry>
- <para>Option or Argument</para>
- </entry>
- <entry>
- <para>Description</para>
- </entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>
- <para>
- <literal>-a</literal>
- </para>
- </entry>
- <entry>
- <para>Pregenerates
-all XML files that are registered in the <application>ScrollKeeper</application>
-database. This option is the default option.</para>
- </entry>
- </row>
- <row>
- <entry>
- <para>
- <literal>-f</literal>
- </para>
- </entry>
- <entry>
- <para>Pregenerates
-only the XML files that you specify in the command.</para>
- </entry>
- </row>
- <row>
- <entry>
- <para>
- <literal>filename</literal>
- </para>
- </entry>
- <entry>
- <para>The name of the XML file or XML files that you want to pregenerate.</para>
- </entry>
- </row>
- <row>
- <entry>
- <para>
- <literal>locale</literal>
- </para>
- </entry>
- <entry>
- <para>The
-locale for which you want to pregenerate the XML files. The default locale
-is C, or English.</para>
- </entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- <para>For example, to pregenerate the English version of all XML files in
-the file system, run the following command:</para>
- <para>
- <computeroutput>#</computeroutput>
- <userinput>yelp-pregenerate -a</userinput>
- </para>
- <para>You do not need to specify the locale in this example, as the default
-locale is <literal>C</literal>. To pregenerate the Spanish version of the <application>gedit</application> manual, run the following command: </para>
- <para>
- <computeroutput>#</computeroutput>
- <userinput>yelp-pregenerate -f gedit.xml
-es</userinput>
- </para>
- <para>When a user opens a Help file, the Help browser does the following: </para>
- <orderedlist>
- <listitem>
- <para>The Help browser searches for the appropriate HTML file. If
-the Help browser finds the HTML file, the Help browser compares the modification
-dates of the HTML file and the corresponding XML file. If the HTML file is
-more recent than the XML file, the HTML file is displayed.</para>
- </listitem>
- <listitem>
- <para>If the HTML file is older than the XML file, the XML file
-is converted to HTML.</para>
- </listitem>
- <listitem>
- <para>If the Help browser does not find a HTML file for a Help document,
-the XML file is converted to HTML.</para>
- </listitem>
- </orderedlist>
- <para>In other words, the Help browser displays pregenerated HTML if the pregenerated
-HTML file is present. If the pregenerated HTML file is not present, the Help
-browser converts the XML file to HTML.</para>
- <note>
- <para>You might want to pregenerate the Help for any new applications
-that you want to add to your desktop environment. If there are severe space
-restrictions in your environment, you might choose not to pregenerate the
-Help.</para>
- </note>
- </sect1>
</chapter>