1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title>2. 运行 GIMP</title>
7
<link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
8
<link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
9
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
10
<link rel="start" href="index.html" title=" " />
11
<link rel="up" href="ch02.html" title="第 2 章 使用 GIMP" />
12
<link rel="prev" href="ch02.html" title="第 2 章 使用 GIMP" />
13
<link rel="next" href="ch02s03.html" title="3. GIMP 基本用法" />
16
<div xmlns="" class="navheader">
17
<table width="100%" summary="Navigation header">
19
<th colspan="3" align="center" id="chaptername">2. 运行 GIMP</th>
22
<td width="20%" align="left"><a accesskey="p" href="ch02.html">上一页</a> </td>
23
<th width="60%" align="center" id="sectionname">2. 运行 GIMP</th>
24
<td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">下一页</a></td>
29
<div class="sect1" lang="zh_CN" xml:lang="zh_CN">
30
<div class="titlepage">
33
<h2 class="title" style="clear: both"><a id="gimp-running"></a>2. 运行 GIMP</h2>
37
<a id="id3277113" class="indexterm"></a>
39
一般,要启动 GIMP 您可以点击其图标(如果您的系统提供给您),或再命令行下输入“gimp”。如果安装了多个版本的 Gimp,您要输入“gimp-2.0”来运行最新的版本。如果您原意,您可以再在命令行中程序后面输入一串图像文件名,这些文件将在 GIMP 启动时自动打开。当然,您也可以在 GIMP 运行后一个个打开。
42
在大多数操作系统中,您可以让各种图像文件和 GIMP 相关联,这样当您双击这些图像图标时,GIMP 就自动启动了。
44
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
45
<table border="0" summary="Tip">
47
<td rowspan="2" align="center" valign="top" width="25">
48
<img alt="[提示]" src="../images/tip.png" />
50
<th align="left">提示</th>
53
<td colspan="2" align="left" valign="top">
55
如果您像让特定的文件类型在 GIMP 中自动打开,您应当关联到程序“gimp-remote”而不是“gimp”。gimp-remote 是 GIMP 所附带的程序。当 GIMP 在系统中还没被启动,此时运行 gimp-remote 的话,GIMP 就将把 gimp-remote 载入的图像作为参数而启动。如果 GIMP 已经在运行中,该图像就仅仅是简单地载入到程序中。
61
<div class="simplesect" lang="zh_CN" xml:lang="zh_CN">
62
<div class="titlepage">
65
<h3 class="title"><a id="id3278168"></a>命令行参数</h3>
70
一般情况下,启动 GIMP 并不需要参数,这儿是一些列表,它们可能在一些情况下有用。下面列的并不完全;在 Unix 系统中通过在终端窗口中输入“man gimp”来获得完全的列表。
72
<div class="variablelist">
75
<span class="term">-h, --help</span>
83
<span class="term">-v, --version</span>
91
<span class="term">--verbose</span>
99
<span class="term">-d, --no-data</span>
103
不加载任何图案,渐变,色板和画笔。通常在需要最小化启动时间的非交互情况中使用。
107
<span class="term">--display <i class="replaceable"><tt>display</tt></i></span>
111
使用指定的 X 显示(在Microsoft Windows此项无效)。
115
<span class="term">-s, --no-splash</span>
123
<span class="term">--session <i class="replaceable"><tt>name</tt></i></span>
127
GIMP 会话使用不同的 sessionrc,该会话的名字将添加到默认的 sessionrc 文件名后。
131
<span class="term">-g, --gimprc <i class="replaceable"><tt>gimprc</tt></i></span>
135
使用不同的 gimprc 文件。“gimprc”文件包括首选项记录。常用在插件路径或机器设置不同时指定。
139
<span class="term">-c, --console-messages</span>
143
出现错误或警告时不弹出对话框,而是在终端上打印消息。
147
<span class="term">-b, --batch <i class="replaceable"><tt>commands</tt></i></span>
151
执行一系列命令(非交互的)。这些命令以 GIMP 脚本能执行的脚本形式存在,但命令是 <b class="userinput"><tt>-</tt></b>时,就从标准输入读入命令。
158
<div class="navfooter">
160
<table width="100%" summary="Navigation footer">
162
<td width="40%" align="left"><a accesskey="p" href="ch02.html">上一页</a> </td>
163
<td width="20%" align="center">
164
<a accesskey="u" href="ch02.html">上一级</a>
166
<td width="40%" align="right"> <a accesskey="n" href="ch02s03.html">下一页</a></td>
169
<td width="40%" align="left" valign="top">第 2 章 使用 <span class="acronym">GIMP</span> </td>
170
<td width="20%" align="center">
171
<a accesskey="h" href="index.html">起始页</a>
173
<td width="40%" align="right" valign="top"> 3. GIMP 基本用法</td>