<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-plugins-install" xml:lang="zh_CN">

  <info>
    <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
    <revision pkgversion="3.0" version="1.0" date="2011-03-25" status="final"/>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
    </credit>

    <revision pkgversion="3.0" version="0.9" date="2011-03-35" status="review"/>
    <credit type="author">
      <name>Daniel Neel</name>
      <email>dneelyep@gmail.com</email>
    </credit>
  </info>

  <title>Install Additional gedit Plugins</title>

  <p>Installing third-party plugins gives you extra functionality that is not included by default in <app>gedit</app>. An online list of third-party plugins is maintained <link href="http://live.gnome.org/Gedit/Plugins#third_party">here</link>.</p>

  <section id="gedit-plugins-install-download">
    <title>Obtain</title>
    <p>The first step to install a plugin in <app>gedit</app> is to obtain the plugin. Third-party plugins will often be obtained by downloading them from the plugin's web site. Refer to the plugin's documentation for further information on obtaining the plugin - instructions will vary depending on the plugin.</p>
  </section>

  <section id="gedit-plugins-install-install">
    <title>Install</title>
    <!-- Are all plugins released as tarballs? If so, this section should focus on extracting the tarball into the proper directory. If not, it should focus on copying the files into the proper directory, to avoid confusion. Or maybe it would be better to focus solely on copying the files into the directory, as this applies for both a tarball and any other set of files. -->
    <p>After you have obtained the plugin you wish to install, you will need to install it.</p>
    <steps>
      <title>Installing a Plugin</title>
      <item><p>Locate the plugin files to be installed.</p></item>
      <item>
        <p>Install the plugin files:</p>
        <list>
          <item><p>Copy the plugin into <file>/home/<var>username</var>/.local/share/gedit/plugins</file></p></item>
        </list>
      </item>
    </steps>
    <p>After you have moved the plugin files into the correct directory, the plugin will appear in the Preferences menu (<guiseq><gui>Edit</gui><gui>Preferences</gui><gui>Plugins</gui></guiseq>). From there, the plugin needs to be enabled to be used.</p>

    <note style="tip">
      <p>You will need to have hidden files displayed to view the <file>.local</file> directory. To display hidden files, click <guiseq><gui>View</gui><gui>Show Hidden Files</gui></guiseq> or press <keyseq><key>Ctrl</key><key>H</key></keyseq>.</p>
    </note>

    <note style="important">
      <p>If the directory <file>.local/share/gedit/plugins/</file> is not present on your system, you will need to create it.</p>
    </note>
  </section>

</page>
