<?xml version="1.0" encoding="utf-8"?>
<chapter id="goscustuserinter-1">
  <title>Using the Advanced Preference Tools</title>
  <highlights>
    <para>The <guilabel>Advanced</guilabel> preference tools enable
you to customize the behavior and appearance of your applications, panels,
and other user interface items. You can use the <guilabel>Advanced</guilabel>
preference tools to configure file types, your default applications, and your
panels. You can also use the <guilabel>Advanced</guilabel> tools to customize
your sessions and startup programs. This chapter describes how to use the <guilabel>Advanced</guilabel> tools to customize your desktop.</para>
  </highlights>
  <sect1 id="goscustlookandfeel-17">
    <title>Opening an Advanced Preference Tool</title>
    <para>You can open an <guilabel>Advanced</guilabel> preference tool in either
of the following ways:</para>
    <itemizedlist>
      <listitem>
        <para>From the <guimenu>Desktop Preferences</guimenu> menu</para>
        <para>Choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guimenuitem>Advanced</guimenuitem></menuchoice>. Choose the tool that you require from the submenu. The dialog
for the tool is displayed.</para>
      </listitem>
      <listitem>
        <para>From the <guilabel>Start Here</guilabel> location</para>
        <para>Open a <application>Nautilus</application> window, then choose <menuchoice><guimenu>Go</guimenu><guimenuitem>Start Here</guimenuitem></menuchoice>.
Alternatively, double-click on the <guilabel>Start Here</guilabel> object
on the desktop background. The <guilabel>Start Here</guilabel> location is
displayed. Double-click on the <guilabel>Preferences</guilabel> object in
the <application>Nautilus</application> window, then double-click on the <guilabel>Advanced</guilabel> folder. The <guilabel>Advanced</guilabel> preference tools
are displayed.</para>
        <para>Double-click on the tool that you require. The dialog for the tool is
displayed.</para>
      </listitem>
    </itemizedlist>
  </sect1>
  <sect1 id="goscustlookandfeel-39">
    <title>Configuring a CD Database</title>
    <indexterm>
      <primary>preference tools</primary>
      <secondary>CD Database</secondary>
    </indexterm>
    <para>The <application>CD Database</application> preference tool
enables you to configure a CD database that your system can query. A CD database
contains information about CDs, such as the name of the artist, the title,
and the track list. When an application plays a CD, the application can query
the CD database about the CD, then display the information. </para>
    <para><xref linkend="goscustlookandfeel-TBL-40"/> describes the
elements on the <application>CD Database</application> preference tool.</para>
    <table frame="topbot" id="goscustlookandfeel-TBL-40">
      <title>Settings for CD Database</title>
      <tgroup cols="2" colsep="1" rowsep="1">
        <colspec colname="colspec0" colwidth="18.86*"/>
        <colspec colname="colspec1" colwidth="47.14*"/>
        <thead>
          <row>
            <entry colsep="0" rowsep="1" valign="top">
              <para>Element</para>
            </entry>
            <entry colsep="0" rowsep="1" valign="top">
              <para>Description</para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>Send no info</guilabel>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>Select this option if you do not want to send
any information to the CD database server.</para>
            </entry>
          </row>
          <row>
            <entry colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>Send real info</guilabel>
              </para>
            </entry>
            <entry colsep="0" rowsep="0" valign="top">
              <para>Select this option to send your name and hostname information to the CD database
server.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>Send other info</guilabel>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>Select this option to send another name and
hostname to the CD database server. Enter the name in the <guilabel>Name</guilabel>
field. Enter the hostname in the <guilabel>Hostname</guilabel> field.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>FreeDB round robin server</guilabel>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>FreeDB is a CD database. The FreeDB
round robin server is a load-sharing configuration of FreeDB servers. Select
this option to access the FreeDB CD database from this server.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>Other FreeDB server</guilabel>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para> Select this option to access the FreeDB CD
database from another server. Select the server that you require from the
server table.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guibutton>Update server list</guibutton>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>Click on this button to update the list of available
FreeDB servers in the server table.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guilabel>Other server</guilabel>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>Select this option to use another CD database.
Enter the name of the server on which the database resides in the <guilabel>Hostname</guilabel> field. Enter the port number on which you can access the
database in the <guilabel>Port</guilabel> field.</para>
            </entry>
          </row>
        </tbody>
      </tgroup>
    </table>
  </sect1>
  <sect1 id="goscustdoc-7">
    <title>Configuring File Types and Programs</title>
    <indexterm>
      <primary>preference tools</primary>
      <secondary>File Types and Programs</secondary>
    </indexterm>
    <indexterm>
      <primary>file types</primary>
      <secondary>configuring</secondary>
    </indexterm>
    <para>Use the <application>File Types and
Programs</application> preference tool to specify how files of various types
are created, displayed, and edited. For example, you can specify that if a
file is a plain text file, the file is launched in a text editor.</para>
    <para><application>Nautilus</application> and other GNOME applications check
the contents of a file to determine the type of a file. If the first lines
do not determine the type of the file, then the application checks the file
extension.</para>
    <para><xref linkend="goscustdoc-TBL-8"/> describes the elements
on the <application>File Types and Programs</application> preference tool.</para>
    <table frame="topbot" id="goscustdoc-TBL-8">
      <title>Elements on File Types and Programs Preference Tool</title>
      <tgroup cols="2" colsep="1" rowsep="1">
        <colspec colname="colspec0" colwidth="18.86*"/>
        <colspec colname="colspec1" colwidth="47.14*"/>
        <thead>
          <row>
            <entry colsep="0" rowsep="1" valign="top">
              <para>Element</para>
            </entry>
            <entry colsep="0" rowsep="1" valign="top">
              <para>Description</para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>Table</para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>To view the contents of a category of file types, click on the right arrow
next to the category name. The category expands, and displays a description
of each file type, and the file extension that is associated with the file
type. </para>
              <para>To select a file type that you want to work with, click
on the file type.</para>
            </entry>
          </row>
          <row>
            <entry colsep="0" rowsep="0" valign="top">
              <para>
                <guibutton>Add File Type</guibutton>
              </para>
            </entry>
            <entry colsep="0" rowsep="0" valign="top">
              <para>Click on this button to add a file type. For more information, see <xref linkend="goscustlookandfeel-28"/>.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guibutton>Add Service</guibutton>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>Click on this button to add a service. For more
information, see <xref linkend="goscustlookandfeel-30"/>.</para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guibutton>Edit</guibutton>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <indexterm>
                <primary>file types</primary>
                <secondary>editing</secondary>
              </indexterm>
              <indexterm>
                <primary>services</primary>
                <secondary>editing</secondary>
              </indexterm>
              <para>To edit a file type, a service, or a file type category,
select the item that you want to edit, then click <guibutton>Edit</guibutton>. </para>
            </entry>
          </row>
          <row>
            <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
              <para>
                <guibutton>Remove</guibutton>
              </para>
            </entry>
            <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
              <para>To delete a file type or a service, select the item that
you want to delete, then click <guibutton>Remove</guibutton>. </para>
            </entry>
          </row>
        </tbody>
      </tgroup>
    </table>
    <sect2 id="goscustlookandfeel-28">
      <title>To Add a File Type</title>
      <indexterm>
        <primary>file types</primary>
        <secondary>adding</secondary>
      </indexterm>
      <para>To add a file type, perform the following steps:</para>
      <orderedlist>
        <listitem>
          <para>Choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced</guisubmenu><guimenuitem>File Types and Programs</guimenuitem></menuchoice>
to start the <application>File Types and Programs</application> preference
tool.</para>
        </listitem>
        <listitem>
          <para>Click on the <guibutton>Add file type</guibutton> button.
The <guilabel>Add file type</guilabel> dialog is displayed.</para>
        </listitem>
        <listitem>
          <para>Enter the properties of the file type in the dialog. The following
table describes the dialog elements on the <guilabel>Add file type</guilabel>
dialog:</para>
          <informaltable frame="topbot">
            <tgroup cols="2" colsep="0" rowsep="0">
              <colspec colname="colspec0" colwidth="37.42*"/>
              <colspec colname="colspec1" colwidth="62.58*"/>
              <thead>
                <row rowsep="1">
                  <entry valign="top">
                    <para>Option</para>
                  </entry>
                  <entry valign="top">
                    <para>Function</para>
                  </entry>
                </row>
              </thead>
              <tbody>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>No Icon</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Choose an icon to represent the file type. To choose
an icon, click on the <guibutton>No Icon</guibutton> button. An icon selector
dialog is displayed. Choose an icon from the dialog. Alternatively, to choose
an icon from another directory, click <guibutton>Browse</guibutton>. When
you choose an icon, click <guibutton>OK</guibutton>. </para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Description</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Type a description of the file type.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>MIME type</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Enter the MIME type for this type of file. </para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Category</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Enter the category to which you want the file type
to belong in the <application>File Types and Programs</application> preference
tool. Click on the <guibutton>Choose</guibutton> to choose a category from
the <guilabel>Choose a file category</guilabel> dialog.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Filename extensions</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Enter the filename extensions to associate with
the file type. Enter a filename extension in the field on the left side, then
click on the <guibutton>Add</guibutton> button. To delete a filename extension,
select the filename extension in the field on the right side, then click on
the <guibutton>Remove</guibutton> button. </para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Viewer Component</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Information to be supplied in a future release.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Default action</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Information to be supplied in a future release.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Program to run</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>If you do not select the <guilabel>Use category
defaults</guilabel> option, specify a program to associate with the file type.
Enter the command to start the program in this field. Alternatively, to choose
 a command that you entered previously, click the down arrow button, then
choose the command to run.</para>
                    <para>You can also use the <guibutton>Browse</guibutton> button to choose a command to run. </para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Run in Terminal</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Select this option to run the program in a terminal
window. Choose this option for a program that does not create a window in
which to run.</para>
                  </entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </listitem>
        <listitem>
          <para>Click <guibutton>OK</guibutton>.</para>
        </listitem>
      </orderedlist>
    </sect2>
    <sect2 id="goscustlookandfeel-30">
      <title>To Add a Service</title>
      <indexterm>
        <primary>services</primary>
        <secondary>adding</secondary>
      </indexterm>
      <para>To add a service, perform the following steps:</para>
      <orderedlist>
        <listitem>
          <para>Choose <menuchoice><guimenu>Applications</guimenu><guisubmenu>Desktop Preferences</guisubmenu><guisubmenu>Advanced</guisubmenu><guimenuitem>File Types and Programs</guimenuitem></menuchoice>
to start the <application>File Types and Programs</application> preference
tool.</para>
        </listitem>
        <listitem>
          <para>Click on the <guibutton>Add service</guibutton> button. The <guilabel>Add service</guilabel> dialog is displayed.</para>
        </listitem>
        <listitem>
          <para>Enter the properties of the service in the dialog. The following
table describes the dialog elements on the <guilabel>Add service</guilabel>
dialog:</para>
          <informaltable frame="topbot">
            <tgroup cols="2" colsep="0" rowsep="0">
              <colspec colname="colspec0" colwidth="41.22*"/>
              <colspec colname="colspec1" colwidth="58.78*"/>
              <thead>
                <row rowsep="1">
                  <entry valign="top">
                    <para>Option</para>
                  </entry>
                  <entry valign="top">
                    <para>Function</para>
                  </entry>
                </row>
              </thead>
              <tbody>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Description</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Type a description of the service.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Protocol </guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Enter the protocol for the service.</para>
                  </entry>
                </row>
                <row>
                  <entry colname="colspec0">
                    <para>
                      <guilabel>Program to Run</guilabel>
                    </para>
                  </entry>
                  <entry colname="colspec1">
                    <para>Information to be
supplied in a future release.</para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Program</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Specify the program to associate with the file type.
Enter the command to start the program in this field. Alternatively, to choose
 a command that you entered previously, click the down arrow button, then
choose the command to run.</para>
                    <para>You can also use the <guibutton>Browse</guibutton> button to choose a command to run. </para>
                  </entry>
                </row>
                <row>
                  <entry valign="top">
                    <para>
                      <guilabel>Run in Terminal</guilabel>
                    </para>
                  </entry>
                  <entry valign="top">
                    <para>Select this option to run the program in a terminal
window. Choose this option for a program that does not create a window in
which to run.</para>
                  </entry>
                </row>
              </tbody>
            </tgroup>
          </informaltable>
        </listitem>
        <listitem>
          <para>Click <guibutton>OK</guibutton>.</para>
        </listitem>
      </orderedlist>
    </sect2>
  </sect1>
  <sect1 id="goscustdesk-10">
    <title>Customizing Your Panels</title>
    <indexterm>
      <primary>preference tools</primary>
      <secondary>Panel</secondary>
    </indexterm>
    <indexterm>
      <primary>panels</primary>
      <secondary>customizing behavior
and appearance</secondary>
    </indexterm>
    <para>The <application>Panel</application>
preference tool enables you to configure the behavior of panels. Any changes
that you make with the <application>Panel</application> preference tool affect
all of your panels.</para>
    <table frame="topbot" id="goscustlookandfeel-TBL-22">
      <title>Settings for Panels</title>
      <tgroup cols="2" colsep="0" rowsep="0">
        <colspec colwidth="50*"/>
        <colspec colwidth="50*"/>
        <thead>
          <row rowsep="1">
            <entry valign="top">
              <para>Setting</para>
            </entry>
            <entry valign="top">
              <para>Function</para>
            </entry>
          </row>
        </thead>
        <tbody>
          <row>
            <entry valign="top">
              <para>
                <guilabel>Close drawer when launcher is clicked</guilabel>
              </para>
            </entry>
            <entry valign="top">
              <para>Select this option if
you want a drawer on a panel to close when you choose a launcher in the drawer.</para>
            </entry>
          </row>
          <row>
            <entry valign="top">
              <para>
                <guilabel>Animation</guilabel>
              </para>
            </entry>
            <entry valign="top">
              <para>Select this option if you want your panels to show
and to hide in an animated style.</para>
            </entry>
          </row>
          <row>
            <entry valign="top">
              <para>
                <guilabel>Animation speed</guilabel>
              </para>
            </entry>
            <entry valign="top">
              <para>Select the speed of the panel animation from the
drop-down list box.</para>
            </entry>
          </row>
        </tbody>
      </tgroup>
    </table>
  </sect1>
  <sect1 id="goscustdoc-2">
    <title>Choosing Your Preferred Applications</title>
    <indexterm>
      <primary>preference tools</primary>
      <secondary>Preferred Applications</secondary>
    </indexterm>
    <indexterm>
      <primary>default applications</primary>
      <see>preferred applications</see>
    </indexterm>
    <para>Use the <application>Preferred
Applications</application> preference tool to specify the applications that
you want the desktop to use when the desktop starts an application for you.
For example, you can specify <application>Xterm</application> as your preferred
terminal application. When you open the <guimenu>Desktop Background</guimenu>
menu then choose <guimenuitem>New Terminal</guimenuitem>, <application>Xterm</application> starts.</para>
    <para>You can customize the settings for the <application>Preferred Applications</application> preference tool in the following functional areas.</para>
    <itemizedlist>
      <listitem>
        <para>
          <guilabel>Web Browser</guilabel>
        </para>
      </listitem>
      <listitem>
        <para>
          <guilabel>Text Editor</guilabel>
        </para>
      </listitem>
      <listitem>
        <para>
          <guilabel>Terminal</guilabel>
        </para>
      </listitem>
    </itemizedlist>
    <sect2 id="goscustlookandfeel-32">
      <title>Web Browser Settings</title>
      <indexterm>
        <primary>preferred applications</primary>
        <secondary>web browser</secondary>
      </indexterm>
      <indexterm>
        <primary>web browser, preferred application</primary>
      </indexterm>
      <para>Use the <application>Web Browser</application>
tabbed section to configure your preferred web browser. The preferred web
browser opens when you click on a URL. For example, the preferred web browser
opens when you select a URL in an application, or when you select a URL launcher
on the desktop background.</para>
      <para><xref linkend="goscustlookandfeel-TBL-37"/> lists the preferred
web browser settings that you can configure.</para>
      <table frame="topbot" id="goscustlookandfeel-TBL-37">
        <title>Settings for Preferred Web Browser</title>
        <tgroup cols="2" colsep="1" rowsep="1">
          <colspec colname="colspec0" colwidth="18.86*"/>
          <colspec colname="colspec1" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Option</para>
              </entry>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Select a Web Browser</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a standard
web browser. Use the drop-down combination box to select your preferred web
browser.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Custom Web Browser</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a custom
web browser. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Command</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Enter the command to execute to start the custom web browser.
To enable the browser to display a URL that you click on, include <command>&ldquo;%s&rdquo;</command> after the command.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Start in Terminal</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option to run the command in a terminal
window. Select this option for a browser that does not create a window in
which to run.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
    <sect2 id="goscustlookandfeel-31">
      <title>Text Editor Settings</title>
      <indexterm>
        <primary>preferred applications</primary>
        <secondary>text editor</secondary>
      </indexterm>
      <indexterm>
        <primary>text editor, preferred application</primary>
      </indexterm>
      <para>Use the <application>Text Editor</application>
tabbed section to configure your preferred text editor.</para>
      <para><xref linkend="goscustdoc-TBL-1"/> lists the preferred text
editor settings that you can configure.</para>
      <table frame="topbot" id="goscustdoc-TBL-1">
        <title>Settings for Preferred Text Editor</title>
        <tgroup cols="2" colsep="1" rowsep="1">
          <colspec colname="colspec0" colwidth="18.86*"/>
          <colspec colname="colspec1" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Option</para>
              </entry>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Select an Editor</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a standard
text editor. Use the drop-down combination box to specify your preferred text
editor.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Custom Editor</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a custom
text editor. A <guilabel>Custom Editor Properties</guilabel> dialog is displayed.</para>
                <itemizedlist>
                  <listitem>
                    <para><guilabel>Name</guilabel>: Type the name of the custom text
editor.</para>
                  </listitem>
                  <listitem>
                    <para><guilabel>Command</guilabel>: Enter the command to execute
to start the custom text editor.</para>
                  </listitem>
                  <listitem>
                    <para><guilabel>This application can open multiple files</guilabel>:
Select this option if the default text editor can open multiple files.</para>
                  </listitem>
                  <listitem>
                    <para><guilabel>This application needs to be run in a shell</guilabel>:
Select this option to run the command in a terminal window. Select this option
for an editor that does not create a window in which to run.</para>
                  </listitem>
                </itemizedlist>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guibutton>Properties</guibutton>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Click on this button to display the <guilabel>Custom Editor Properties</guilabel> dialog. Use the dialog to modify the properties
of the custom text editor.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Use this editor to open text files in the file manager</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select
this option if you want the file manager to start the custom text editor to
display text files.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
    <sect2 id="goscustlookandfeel-34">
      <title>Terminal Settings</title>
      <indexterm>
        <primary>preferred applications</primary>
        <secondary>terminal</secondary>
      </indexterm>
      <indexterm>
        <primary>terminal, preferred application</primary>
      </indexterm>
      <para>Use the <application>Terminal</application> tabbed section
to configure your preferred terminal.</para>
      <para><xref linkend="goscustlookandfeel-TBL-35"/> lists the preferred
terminal settings that you can configure.</para>
      <table frame="topbot" id="goscustlookandfeel-TBL-35">
        <title>Settings for Preferred Terminal</title>
        <tgroup cols="2" colsep="1" rowsep="1">
          <colspec colname="colspec0" colwidth="18.86*"/>
          <colspec colname="colspec1" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Option</para>
              </entry>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Select a Terminal</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a standard
terminal. Use the drop-down combination box to specify your preferred terminal.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Custom Terminal</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option if you want to use a custom
terminal. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Command</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Enter the command to execute to start the custom terminal.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Exec Flag</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Enter the <command>exec</command> option to use with the
command.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
  </sect1>
  <sect1 id="goscustsession-5">
    <title>Configuring Sessions</title>
    <indexterm>
      <primary>preference tools</primary>
      <secondary>Sessions</secondary>
    </indexterm>
    <indexterm>
      <primary>sessions</primary>
      <secondary>preferences</secondary>
    </indexterm>
    <indexterm>
      <primary>startup applications</primary>
      <secondary>customizing</secondary>
    </indexterm>
    <para>The <application>Sessions</application>
preference tool enables you to manage your sessions. You can set session preferences,
and specify which applications to start when you start a session. You can
configure sessions to save the state of applications on your desktop, and
to restore the state when you start another session. You can also use this
preference tool to manage multiple GNOME sessions.</para>
    <para>You can customize the settings for sessions and startup applications
in the following functional areas:</para>
    <itemizedlist>
      <listitem>
        <para>
          <guilabel>Session Options</guilabel>
        </para>
      </listitem>
      <listitem>
        <para>
          <guilabel>Current Session</guilabel>
        </para>
      </listitem>
      <listitem>
        <para>
          <guilabel>Startup Programs</guilabel>
        </para>
      </listitem>
    </itemizedlist>
    <sect2 id="goscustsession-16">
      <title>Setting Session Options</title>
      <indexterm>
        <primary>sessions</primary>
        <secondary>setting options</secondary>
      </indexterm>
      <para>Use the <guilabel>Session Options</guilabel> tabbed section
to manage multiple sessions, and to set preferences for the current session.</para>
      <para><xref linkend="goscustsession-TBL-11"/> lists the session
options settings that you can configure.</para>
      <table frame="topbot" id="goscustsession-TBL-11">
        <title>Settings for Session Options</title>
        <tgroup cols="2" colsep="1" rowsep="1">
          <colspec colname="colspec0" colwidth="18.86*"/>
          <colspec colname="colspec1" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Option</para>
              </entry>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Show splash
screen on login</guilabel>
                </para>
              </entry>
              <entry colsep="0" rowsep="0" valign="top">
                <para>Select this option to display a splash screen when you start a session. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Prompt on logout</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Select this option to display a confirmation
dialog when you end a session. </para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Automatically save changes to session</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <indexterm>
                  <primary>startup applications</primary>
                  <secondary>session-managed</secondary>
                </indexterm>
                <para>Select this
option if you want the session manager to save the current state of your session.
The session manager saves the session-managed applications that are open,
and the settings associated with the session-managed applications. The next
time that you start a session, the applications start automatically, with
the saved settings.</para>
                <para> If you do not select this option, when you
end you session the <guilabel>Logout Confirmation</guilabel> dialog displays
a <guilabel>Save current setup</guilabel> option.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Sessions</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Use this area of the dialog to manage multiple sessions
on the desktop, as follows:</para>
                <itemizedlist>
                  <listitem>
                    <para>To create a new session, click on the <guibutton>Add</guibutton>
button.  The <guilabel>Add a new session</guilabel> dialog is displayed. Use
this dialog to specify a name for your session.</para>
                  </listitem>
                  <listitem>
                    <para>To change the name of a session, select the session in the <guilabel>Choose Current Session</guilabel> table. Click on the <guibutton>Edit</guibutton>
button. The <guilabel>Edit session name</guilabel> dialog is displayed. Type
a new name for your session.</para>
                  </listitem>
                  <listitem>
                    <para>To delete a session, select the session in the <guilabel>Choose Current Session</guilabel> table. Click on the <guibutton>Delete</guibutton>
button.</para>
                  </listitem>
                </itemizedlist>
                <para>When you log in on GDM, you choose
a session. When you choose a session, you can select which of the multiple
sessions to use.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
    <sect2 id="goscustlookandfeel-27">
      <title>Setting Session Properties</title>
      <indexterm>
        <primary>startup applications</primary>
        <secondary>session-managed</secondary>
      </indexterm>
      <indexterm>
        <primary>sessions</primary>
        <secondary>setting properties</secondary>
      </indexterm>
      <para>Use the <guilabel>Current
Session</guilabel> tabbed section to specify startup order values, and to
choose restart styles for the session-managed applications in your current
session. </para>
      <para><xref linkend="sessprop01"/> lists the session properties
that you can configure. </para>
      <table frame="topbot" id="sessprop01">
        <title>Session Properties</title>
        <tgroup cols="2" colsep="1" rowsep="1">
          <colspec colname="colspec0" colwidth="18.86*"/>
          <colspec colname="colspec1" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Option</para>
              </entry>
              <entry colsep="0" rowsep="1" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Order</guilabel>
                </para>
              </entry>
              <entry colsep="0" rowsep="0" valign="top">
                <para>The <guilabel>Order</guilabel>
setting specifies the order in which the session manager starts session-managed
startup applications. The session manager starts applications with lower order
values first. The default value is 50.</para>
                <para>To specify the startup
order of an application, select the application in the table. Use the <guilabel>Order</guilabel> spin box to specify the startup order value.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel>Style</guilabel>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>The <guilabel>Style</guilabel> setting determines the restart
style of an application. To select a restart style for an application, select
the application in the table, then choose one of the following styles:</para>
                <itemizedlist>
                  <listitem>
                    <para>
                      <guilabel>Normal</guilabel>
                    </para>
                    <para>Starts automatically when you start a GNOME session. Use the <command>kill</command> command to terminate applications with this restart style during
a session.</para>
                  </listitem>
                  <listitem>
                    <para>
                      <guilabel>Restart</guilabel>
                    </para>
                    <para>Restarts automatically whenever you close or terminate the application.
Choose this style for an application if the application must run continuously
during your  session. To terminate an application with this restart style,
select the application in the table, then click on the <guibutton>Remove</guibutton>
button.</para>
                  </listitem>
                  <listitem>
                    <para>
                      <guilabel>Trash</guilabel>
                    </para>
                    <para>Does not start when you start a GNOME session.</para>
                  </listitem>
                  <listitem>
                    <para>
                      <guilabel>Settings</guilabel>
                    </para>
                    <para>Starts automatically when you start a  session. Applications with this
style usually have a low startup order, and store your configuration settings
for GNOME and session-managed applications.</para>
                  </listitem>
                </itemizedlist>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0" valign="top">
                <para>
                  <guibutton>Remove</guibutton>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0" valign="top">
                <para>Click on the <guibutton>Remove</guibutton> button to delete
the selected application from the list. The application is removed from the
session manager,  and closed. Application that you delete are not started
the next time that you start a session.</para>
              </entry>
            </row>
            <row>
              <entry colname="colspec0" colsep="0" rowsep="0">
                <para>
                  <guibutton>Apply</guibutton>
                </para>
              </entry>
              <entry colname="colspec1" colsep="0" rowsep="0">
                <para>Click on the <guibutton>Apply</guibutton> button to apply changes to the startup
order and the restart style.</para>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
    <sect2 id="goscustsession-12">
      <title>Configuring Startup Applications</title>
      <indexterm>
        <primary>startup applications</primary>
        <secondary>non-session-managed</secondary>
      </indexterm>
      <para>Use the <guilabel>Startup Programs</guilabel>
tabbed section of the <application>Sessions</application> preference tool
to specify non-session-managed <firstterm>startup applications</firstterm>.
Startup applications are applications that start automatically when you start
a session. You specify the commands that run the non-session-managed applications
in the <guilabel>Startup Programs</guilabel> tabbed section. The commands
execute automatically when you log in.</para>
      <para>You can also start session-managed applications automatically. For more
information, see <xref linkend="goscustsession-16"/>.</para>
      <para><xref linkend="goscustsession-TBL-19"/> lists the startup
applications settings that you can configure.</para>
      <table frame="topbot" id="goscustsession-TBL-19">
        <title>Settings for Startup Programs</title>
        <tgroup cols="2">
          <colspec colname="col1" colwidth="18.86*"/>
          <colspec colname="col2" colwidth="47.14*"/>
          <thead>
            <row>
              <entry colname="col1" colsep="0" valign="top">
                <para>Option</para>
              </entry>
              <entry colname="col2" colsep="0" valign="top">
                <para>Function</para>
              </entry>
            </row>
          </thead>
          <tbody>
            <row>
              <entry colname="col1" colsep="0" rowsep="0" valign="top">
                <para>
                  <guilabel> Additional startup programs</guilabel>
                </para>
              </entry>
              <entry colname="col2" colsep="0" rowsep="0" valign="top">
                <para>Use this table to manage non-session-managed
startup applications as follows:</para>
                <itemizedlist>
                  <listitem>
                    <para>To add a startup application, click on the <guibutton>Add</guibutton> button. The <guilabel>Add Startup Program</guilabel> dialog is
displayed. Enter the command to start the application in the <guilabel>Startup
Command</guilabel> field. Alternatively, you can use the <guibutton>Browse</guibutton> button to choose a command to run. You can also use the <guibutton>Browse</guibutton> button to choose a file to append to the command line.
For example, you can enter <command>emacs</command> on the command line, then
choose a file to edit. </para>
                    <para>If you specify more than one startup application, use the <guilabel>Priority</guilabel> spin box to specify the startup order of the each application.
The startup order is the order in which you want the startup applications
to start.</para>
                  </listitem>
                  <listitem>
                    <para>To edit a startup application, select the startup application,
then click on the <guibutton>Edit</guibutton> button. The <guilabel>Edit Startup
Program</guilabel> dialog is displayed. Use the dialog to modify the command
and the startup order for the startup application.</para>
                  </listitem>
                  <listitem>
                    <para>To delete a startup application, select the startup application,
then click on the <guilabel>Delete</guilabel> button.</para>
                  </listitem>
                </itemizedlist>
              </entry>
            </row>
          </tbody>
        </tgroup>
      </table>
    </sect2>
  </sect1>
</chapter>
