gimp/docs/gimp-remote.1.in

68 lines
1.9 KiB
Groff

.TH GIMP-REMOTE 1 "20 January 2004" "Version @GIMP_VERSION@" "GIMP Manual Pages"
.SH NAME
gimp-remote - tells a running GIMP to open a (local or remote) image file.
.SH SYNOPSIS
.B gimp-remote
[\-h] [\-\-help] [-v] [\-\-version] [\-\-display \fIdisplay\fP]
[\-e] [\-\-existing] [-q] [\-\-query] \fIfilename\fP ...
.SH DESCRIPTION
.PP
\fIgimp-remote\fP is a small utility that tells a running GIMP to open
one or more (local or remote) image files. It does so by searching
for a GIMP toolbox on the active display. If it can find a GIMP
toolbox, a synthetic drop event is created which makes GIMP think the
files would have been dropped onto the toolbox. More than one filename
or URL can be specified on the commandline.
.PP
If no GIMP window is found, \fIgimp-remote\fP will start a new GIMP
instance and ask it to load the specified images. If no filename or
URL is given, \fIgimp-remote\fP will start a new GIMP. This behaviour
can be altered using the command-line options described below.
.SH OPTIONS
.l
\fIgimp-remote\fP accepts the following options:
.TP 8
.B \-h, \-\-help
Display a list of all commandline options.
.TP 8
.B \-v, \-\-version
Output the version info.
.TP 8
.B \-\-display \fIdisplay\fP
Use the designated X display.
.TP 8
.B \-e, \-\-existing
If no running GIMP instance is found, don't start a new one but exit.
.TP 8
.B \-q, \-\-query
Check if GIMP is running and exit. A status code of 0 indicates that
a GIMP toolbox window has been found on this display.
.SH EXAMPLES
.TP
.BI gimp-remote\ http://www.gimp.org/icons/frontpage-small.gif
Loads the image from the GIMP website into a running GIMP or starts
a new one.
.TP
.BI gimp-remote\ wilber.xcf\ wilma.xcf
Loads the local files wilber.xcf and wilma.xcf into a running GIMP
or starts a new one.
.SH ENVIRONMENT
.PP
.TP 8
.B DISPLAY
to get the default host and display number.
.SH AUTHORS
Sven Neumann and Simon Budig.
.SH "SEE ALSO"
.BR gimp (1),
.BR gimprc (5),
.BR gimptool (1)