File: plugins.html

package info (click to toggle)
doublecmd-help 1.1.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,812 kB
  • sloc: makefile: 12
file content (320 lines) | stat: -rw-r--r-- 15,280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>DC - 预装插件</title>
    <link rel="stylesheet" type="text/css" href="doublecmd.css">
    <link rel="shortcut icon" href="../../pixmaps/common/favicon.ico">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>

  <body>
    <a name="topofpage"></a>
    <div class="header"><a href="index.html"><img src="../../pixmaps/common/dclogo2017.png" alt="Double Commander" height="48" width="374"></a>
      <div id="global-nav" class="nav"><a title="Double Commander Home Page" href="https://doublecmd.sourceforge.io/" target="_blank">主页</a> | <a title="Double Commander Wiki" href="https://github.com/doublecmd/doublecmd/wiki" target="_blank">Wiki</a></div>
    </div>
    <div class="footer"><div class="nav"><a title="Index" href="index.html">索引</a> | <a title="Previous page" href="configxml.html">上一页</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></div>

    <div class="dchelpage">
      <div>
        <h1>2.18. 预装插件</h1>
      </div>

      <div>
        <h2>目录</h2>
        <dl>
          <dt>1. 压缩程序 插件 (WCX)</dt>
          <dd>
            <dl>
              <dt>1.1. <a href="#base64.wcx">Base64</a></dt>
              <dt>1.2. <a href="#cpio.wcx">CPIO</a></dt>
              <dt>1.3. <a href="#deb.wcx">DEB</a></dt>
              <dt>1.4. <a href="#rpm.wcx">RPM</a></dt>
              <dt>1.5. <a href="#sevenzip.wcx">SevenZip</a></dt>
              <dt>1.6. <a href="#unrar.wcx">UnRAR</a></dt>
              <dt>1.7. <a href="#zip.wcx">Zip</a></dt>
            </dl>
          </dd>
          <dt>2. 内容 插件 (WDX)</dt>
          <dd>
            <dl>
              <dt>2.1. <a href="#bexif">内置 Exif 插件</a></dt>
              <dt>2.2. <a href="#audioinfo.wdx">AudioInfo</a></dt>
              <dt>2.3. <a href="#deb_wdx.wdx">DEB</a></dt>
              <dt>2.4. <a href="#rpm_wdx.wdx">RPM</a></dt>
              <dt>2.5. <a href="#lscripts">Lua 脚本</a></dt>
            </dl>
          </dd>
          <dt>3. 文件系统 插件 (WFX)</dt>
          <dd>
            <dl>
              <dt>3.1. <a href="#ftp.wfx">FTP</a></dt>
              <dt>3.2. <a href="#maccloud.wfx">MacCloud</a><span class="versionref"><sup>(Alpha 版本)</sup></span></dt>
            </dl>
          </dd>
          <dt>4. 查看器 插件 (WLX)</dt>
          <dd>
            <dl>
              <dt>4.1. <a href="#macpreview.wlx">MacPreview</a></dt>
              <dt>4.2. <a href="#preview.wlx">Explorer 预览</a></dt>
              <dt>4.3. <a href="#richview.wlx">富文本格式 (RTF)</a></dt>
              <dt>4.4. <a href="#wlxmplayer.wlx">WlxMplayer</a></dt>
              <dt>4.5. <a href="#wmp.wlx">Windows Media Player</a></dt>
            </dl>
          </dd>
          <dt>5. 搜索 插件 (DSX)</dt>
          <dd>
            <dl>
              <dt>5.1. <a href="#dsxlocate.dsx">DSXLocate</a></dt>
            </dl>
          </dd>
        </dl>
      </div>

      <div>
        <h2><a name="wcx">1. 压缩程序 插件 (WCX)</a></h2>
        <br>

        <p><span class="bold"><a name="base64.wcx">Base64</a></span></p>
        <p>Base64 插件提供按照 Base64 方案对文件进行编码和解码的功能,Base64 是用可打印 ASCII 字符对二进制数据进行编码的标准之一。</p>
        <br>

        <p><span class="bold"><a name="cpio.wcx">CPIO</a></span></p>
        <p>用于解包 CPIO 归档的打包插件。</p>
        <br>

        <p><span class="bold"><a name="deb.wcx">DEB</a></span></p>
        <p>用于解包 dpkg 包管理系统的包文件(Debian 及基于其的发行版)的打包插件。</p>
        <p>适用于 Linux 及其他类 Unix 操作系统(在 Windows 上,Double Commander 使用 <a href="#sevenzip.wcx">SevenZip</a> 插件处理该格式)。</p>
        <br>

        <p><span class="bold"><a name="rpm.wcx">RPM</a></span></p>
        <p>用于解包 Red Hat 包管理系统的包文件(Red Hat、SUSE 等发行版)的打包插件。</p>
        <br>

        <p><span class="bold"><a name="sevenzip.wcx">SevenZip</a></span></p>
        <p>用于处理 .7z、.arj、.cab、.cpio、.cramfs、.deb、.dmg、.fat、.hfs、.iso、.lha、.lzh、.ntfs、.squashfs、.taz、.vhd、.wim、.xar 和 .z 等文件的打包插件。也可添加 7-Zip 支持的其他文件类型。</p>
        <p>注意:部分格式为只读,意味着只能查看内容、解包和测试。</p>
        <p>仅限 Windows。</p>
        <br>

        <p><span class="bold"><a name="unrar.wcx">UnRAR</a></span></p>
        <p>用于解包 RAR 归档的打包插件。</p>
        <p>要使用该插件需要 <a href="https://www.rarlab.com/" target="_blank">UnRAR</a> 库,插件将使用 <tt>unrar.dll</tt>(Windows)、<tt>libunrar.dylib</tt>(macOS)、<tt>libunrar.so</tt> 或 <tt>libunrar.so.5</tt>(Linux/类 Unix)。</p>
        <p>Windows 的 Double Commander 分发包和 Linux 的便携版通常包含所需库;在其他情况下,可通过操作系统的包管理器安装(例如 Debian/Ubuntu 的 <tt>libunrar5</tt> 或 Arch 的 <tt>libunrar</tt>)。也可以在 <a href="https://www.rarlab.com/rar_add.htm" target="_blank">此处</a> 查找合适的库文件(需将文件复制到系统目录或 Double Commander 可执行文件所在目录)。</p>
        <p>该插件还支持将文件打包为 RAR,需在插件设置中指定 <tt>WinRAR.exe</tt> 的路径(仅限 Windows)或命令行工具 <tt>rar</tt>。</p>
        <br>

        <p><span class="bold"><a name="zip.wcx">Zip</a></span></p>
        <p>用于处理 .bz2、.gz、.jar、.lzma、.tar、.tbz、.tgz、.tlz、.txz、.tzst、.xz、.zip、.zipx 和 .zst 等归档的打包插件。该插件也可以打开基于 ZIP 的文件(如 EPUB、Office Open XML、OpenDocument、CRX、XPI 等)。</p>
        <p>需要额外的压缩库:</p>
        <ul>
          <li><p>bzip2: <tt>bz2.dll</tt>(Windows)、<tt>libbz2.dylib</tt>(macOS)、<tt>libbz2.so.1</tt>(Linux/类 Unix)。</p></li>
          <li><p>XZ: <tt>liblzma.dll</tt>(Windows)、<tt>liblzma.dylib</tt>(macOS)、<tt>liblzma.so.5</tt>(Linux/类 Unix)。</p></li>
          <li><p>Zstandard: <tt>libzstd.dll</tt>(Windows)、<tt>libzstd.dylib</tt>(macOS)、<tt>libzstd.so.1</tt>(Linux/类 Unix)。</p></li>
        </ul>
        <p>Double Commander 的 Windows 分发包已包含这些库,且在常见的 Linux 桌面发行版上这些库通常也会默认安装。</p>
        <p class="navback"><a href="#topofpage">(返回顶部)</a></p>
      </div>

      <div>
        <h2><a name="wdx">2. 内容 插件 (WDX)</a></h2>
        <br>

        <p><span class="bold"><a name="bexif">内置 Exif 插件</a></span></p>
        <p>程序包含一个内置的 Exif 内容插件,用于读取 JPEG 文件元数据中的部分信息:日期、像素尺寸、图像方向和相机信息等。</p>
        <p>仅限 JPEG 图像。</p>
        <br>

        <p><span class="bold"><a name="audioinfo.wdx">AudioInfo</a></span></p>
        <p>该内容插件显示音频文件的信息,包括技术信息(时长、比特率、声道数等)和元数据(标题、艺术家等)。</p>
        <p>支持的元数据类型:ID3v1(1.0、1.1)、ID3v2(2.2、2.3、2.4)、APE(1.0、2.0)、Vorbis 注释。</p>
        <br>

        <p><span class="bold"><a name="deb_wdx.wdx">DEB</a></span></p>
        <p>该内容插件显示 dpkg 包管理系统(Debian 及其衍生发行版)包文件的信息:包名、版本、描述、依赖关系等。</p>
        <br>

        <p><span class="bold"><a name="rpm_wdx.wdx">RPM</a></span></p>
        <p>该内容插件显示 Red Hat 包管理系统(Red Hat、SUSE 等)包文件的信息:包名、版本、描述等。</p>
        <br>

        <p><span class="bold"><a name="lscripts">Lua 脚本</a></span></p>
        <p><tt>plugins/wdx/scripts</tt> 目录包含若干以 Lua 编写的内容插件示例(详情见 <a href="lua.html">Lua 脚本</a> 帮助页)。</p>
        <p>这些脚本不会自动添加到程序设置中。</p>
        <ul>
          <li><p><tt>descriptionwdx.lua</tt>&nbsp;&ndash; 从 <tt>descript.ion</tt> 读取文件描述。</p></li>
          <li><p><tt>fulltextodtwdx.lua</tt>&nbsp;&ndash; 在 OpenDocument 文本(ODT)文件中查找文本。需要 <tt>odt2txt</tt>。</p></li>
          <li><p><tt>simplewdx.lua</tt>&nbsp;&ndash; 含若干字段的简单示例。</p></li>
          <li><p><tt>textlinewdx.lua</tt>&nbsp;&ndash; 依次返回纯文本文件(.txt、.ini)的前五行中的各行。</p></li>
        </ul>
        <p class="navback"><a href="#topofpage">(返回顶部)</a></p>
      </div>

      <div>
        <h2><a name="wfx">3. 文件系统 插件 (WFX)</a></h2>
        <br>

        <p><span class="bold"><a name="ftp.wfx">FTP</a></span></p>
        <p>此文件系统插件用于处理以下网络协议:FTP、FTPS、FTPES、SFTP 与 SSH+SCP。插件还支持通过代理服务器(HTTP、SOCKS4 或 SOCKS5)工作。</p>
        <p>需要额外的库:</p>
        <p>1) SSL 与 TLS 协议</p>
        <p>加密库 <a href="https://www.openssl.org/" target="_blank">OpenSSL</a>(版本 3.1, 3.0, 1.1.1, 1.1.0, 1.0.2, 1.0.1):</p>
        <ul>
          <li>Windows:插件包含常见文件名列表,所需文件可被自动定位。</li>
          <li>macOS:<tt>libssl.N.dylib</tt> 和 <tt>libcrypto.N.dylib</tt>(其中 "N" 为版本号),或 <tt>libssl.dylib</tt> 与 <tt>libcrypto.dylib</tt>。</li>
          <li>Linux/类 Unix:<tt>libssl.so.N</tt> 与 <tt>libcrypto.so.N</tt>(其中 "N" 为版本号)。</li>
        </ul>
        <p>Windows 下的 OpenSSL 二进制可在 <a href="https://wiki.openssl.org/index.php/Binaries" target="_blank">此处</a> 找到;其他平台一般通过系统包管理器安装(例如 Debian/Ubuntu 的 <tt>libssl3</tt> 或 <tt>libssl1.1</tt>,Arch 的 <tt>openssl</tt>,macOS 的 Homebrew 包 <tt>openssl</tt>)。</p>
        <p>注意:在 Windows 上,库文件应位于 Double Commander 可执行文件附近或 Windows 系统目录中。</p>
        <p>可选地,在 Linux 上插件也可以使用 <a href="https://www.gnutls.org/" target="_blank">GnuTLS</a>(<tt>libgnutls.so.N</tt>)库。</p>
        <p>2) SSH 协议</p>
        <p>需要 <a href="https://libssh2.org/" target="_blank">libssh2</a> 库:插件将使用 <tt>libssh2.dll</tt>(Windows)、<tt>libssh2.dylib</tt>(macOS)或 <tt>libssh2.so.1</tt>(Linux/类 Unix)。</p>
        <p>Windows 的 Double Commander 分发包包含该库;其他平台可通过包管理器安装(例如 Debian/Ubuntu 的 <tt>libssh2-1</tt>、Arch 的 <tt>libssh2</tt>,macOS 的 Homebrew 包 <tt>libssh2</tt>)。</p>
        <p>插件支持使用 SSH 认证代理(例如 OpenSSH 的 ssh-agent、PuTTY 的 Pageant)。</p>
        <br>

        <p><span class="bold"><a name="maccloud.wfx">MacCloud</a></span><span class="versionref"><sup>(Alpha 版本)</sup></span></p>
        <p>macOS 官方云存储插件,支持:</p>
        <ul>
          <li>Dropbox</li>
          <li>Yandex</li>
          <li>OneDrive</li>
          <li>Box</li>
          <li>Amazon S3</li>
          <li>BackBlaze B2</li>
          <li>Alibaba Cloud OSS</li>
          <li>Tencent Cloud COS</li>
          <li>Huawei Cloud OBS</li>
          <li>Qiniu KODO</li>
          <li>Upyun USS</li>
          <li>S3 Compatible</li>
        </ul>
        <p>仅限 macOS。</p>
        <p class="navback"><a href="#topofpage">(返回顶部)</a></p>
      </div>

      <div>
        <h2><a name="wlx">4. 查看器 插件 (WLX)</a></h2>
        <br>

        <p><span class="bold"><a name="macpreview.wlx">MacPreview</a></span></p>
        <p>基于 <a href="https://en.wikipedia.org/wiki/Quick_Look" target="_blank">Quick Look</a> 的通用预览插件(支持办公文档、图片、视频与音频等),类似 Finder 中的预览。</p>
        <p>仅限 macOS。</p>
        <br>

        <p><span class="bold"><a name="preview.wlx">Explorer 预览</a></span></p>
        <p>用于显示丰富预览的插件。IPreviewHandler 接口支持多种格式(取决于操作系统版本及已安装的应用),默认情况下检测字符串仅包含 HTML 文件。</p>
        <p>注意:预览处理程序可能无法显示文件中包含的所有信息。</p>
        <p>仅限 Windows。</p>
        <br>

        <p><span class="bold"><a name="richview.wlx">富文本格式 (RTF)</a></span></p>
        <p>用于查看 RTF 文件的插件。</p>
        <p>仅限 Windows。</p>
        <br>

        <p><span class="bold"><a name="wlxmplayer.wlx">WlxMplayer</a></span></p>
        <p>用于预览视频文件的插件。需要 <tt>mplayer</tt>。</p>
        <p>仅限 Linux。</p>
        <br>

        <p><span class="bold"><a name="wmp.wlx">Windows Media Player</a></span></p>
        <p>用于播放音频和视频的插件。该插件使用 IWMPPlayer4 接口(ActiveX),需要 Windows Media Player 9 或更高版本。</p>
        <p>仅限 Windows。</p>
        <p class="navback"><a href="#topofpage">(返回顶部)</a></p>
      </div>

      <div>
        <h2><a name="dsx">5. 搜索 插件 (DSX)</a></h2>
        <br>

        <p><span class="bold"><a name="dsxlocate.dsx">DSXLocate</a></span></p>
        <p>该插件使用 <tt>locate</tt> 及其文件数据库进行搜索。可按文件名、部分名称或通配符掩码搜索(符号 "*" 表示匹配任意数量的字符)。</p>
        <p>适用于 Linux 及其他类 Unix 操作系统。</p>
        <p class="navback"><a href="#topofpage">(返回顶部)</a></p>
        <br>
      </div>
    </div>
    <div class="footer"><div class="nav"><a title="Index" href="index.html">索引</a> | <a title="Previous page" href="configxml.html">上一页</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div></div>
    <div class="checker">
      <a href="https://validator.w3.org/check?uri=referer" target="_blank"><img src="https://www.w3.org/Icons/valid-html40" alt="Valid HTML 4.0 Transitional" height="31" width="88"></a>
      <a href="https://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img style="border:0;width:88px;height:31px" src="https://jigsaw.w3.org/css-validator/images/vcss" alt="CSS Valid!"></a>
    </div>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </body>
</html>