ubuntu-22.04.3-desktop-amd64/casper/filesystem/usr/share/help-langpack/zh_CN/gedit/gedit-plugins-install.page

70 lines
3.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-plugins-install" xml:lang="gedit-zh-CN">
<info>
<link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
<revision pkgversion="3.8" date="2013-02-24" status="review"/>
<credit type="author">
<name>Jim Campbell</name>
<email>jcampbell@gnome.org</email>
</credit>
<credit type="author">
<name>Daniel Neel</name>
<email>dneelyep@gmail.com</email>
</credit>
<desc>如何安装第三方插件。</desc>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>TeliuTe</mal:name>
<mal:email>teliute@163.com</mal:email>
<mal:years>2009, 2011</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Colin Zhao</mal:name>
<mal:email>lonely.ibm@gmail.com</mal:email>
<mal:years>2011</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>wancheng zhang</mal:name>
<mal:email>wancheng.com.cn@gmail.com</mal:email>
<mal:years>2012</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Zhe Wei</mal:name>
<mal:email>weizhe86@gmail.com</mal:email>
<mal:years>2014</mal:years>
</mal:credit>
</info>
<title>额外的 gedit 插件</title>
<p>安装第三方插件,可以让您获得 <app>gedit</app> 的默认插件甚至<app>gedit-plugins</app>中所没有的额外功能。在 <link href="http://live.gnome.org/Gedit/Plugins#third_party">此处</link> 有一个在线的第三方插件列表。</p>
<p>安装第三方插件需要下载插件,保存在正确的路径下,并激活它。</p>
<steps>
<item><p>通常您可以从插件网站上获取到插件,但您可能需要使用版本控制器例如<app>git</app><app> bazaar</app> 或者 <app>subversion</app> 从互联网上的软件仓库中获取插件的拷贝。您可以从插件文档中参考如何获取该插件。</p></item>
<item><p>将插件放到 <file>/home/<var>用户名</var>/.local/share/gedit/plugins</file> 目录下。</p>
<p>当然,您需要将 <var>username</var> 替换为您的用户名。</p></item>
<item><p>After you have placed the plugin files into the correct directory,
the plugin will appear in the Preferences menu. Press the menu button in the
top-right corner of the window and select <guiseq><gui style="menuitem">
Preferences</gui><gui style="tab">Plugins</gui><gui>[Name of Plugin]</gui>
</guiseq> to enable the plugin.</p></item>
<item><p><gui>关闭</gui></p></item>
</steps>
<p>在启用插件后,就可以使用了。</p>
<note style="tip">
<p><file>.local</file> 目录是默认隐藏的。要显示它及其他隐藏文件,点菜单 <guiseq><gui>查看</gui><gui>显示隐藏文件</gui></guiseq> 或者按组合键 <keyseq><key>Ctrl</key><key>H</key></keyseq></p>
</note>
<note style="tip">
<p>如果在系统中,文件夹 <file>.local/share/gedit/plugins/</file> 不存在,就需要您自己创建它。</p>
</note>
</page>