2007-12-26 22:00:52 +00:00
. \" Process this file with
. \" groff -man -Tascii openpp.1
2003-08-13 03:45:58 +00:00
. \"
2007-12-26 22:00:52 +00:00
.TH openapp 1 "12/12/2007" gnustep-make "GNUstep System Manual"
2003-08-13 03:45:58 +00:00
.SH NAME
openapp \- launch applications from the command line
.SH SYNOPSIS
.B openapp
2007-12-26 22:00:52 +00:00
.RB [ \- \- find ]
.RB [ \- \- debug " [" \- \- gdb=
.IR debuger "]] ["
.BI \- \- library-combo= library-combo
]
.I application
.RI [ arguments... ]
2003-08-13 03:45:58 +00:00
.SH DESCRIPTION
The
.B openapp
2007-12-26 22:00:52 +00:00
command allows you to launch graphical GNUstep applications from the command line.
2003-08-13 03:45:58 +00:00
.PP
.I application
2007-12-26 22:00:52 +00:00
is the complete or relative name of the application program with or without the .app extension, like
.B Ink.app.
2003-08-13 03:45:58 +00:00
.PP
.I arguments
are the arguments passed to the application.
.PP
.B openapp
2007-12-26 22:00:52 +00:00
first checks whether the application is in the current working directory. If not then searches the GNUstep domains' Applications folders in the following order:
User
.RI "(i.e. " ~/GNUstep/Applications ),
Local, Network, System. First match wins.
2003-08-13 03:45:58 +00:00
.SH OPTIONS
2007-12-26 22:00:52 +00:00
.TP
.BI \- \- find " application"
will print out the full path of the application executable which would be executed, without actually executing it. It will also list all paths that are attempted.
.TP
.BI \- \- debug " application"
starts the application in the debugger. By default
.BR gdb ,
but this can be changed with the
.B \- \- gdb=
argument or through the
.B GDB
shell variable.
.TP
.BI \- \- library-combo= library-combo
Starts the application with the specified library combo. This is a rarely used option in a non-flattened setup. See the
.BR library-combo (7)
man-page for more information about the different library combinations.
.TP
.B \- \- help
2003-08-13 03:45:58 +00:00
print above usage description.
2007-12-26 22:00:52 +00:00
2003-08-13 03:45:58 +00:00
.SH EXAMPLES
2007-12-26 22:00:52 +00:00
Start
.B Ink.app
without additional parameters:
2003-08-13 03:45:58 +00:00
.PP
2007-12-26 22:00:52 +00:00
.B openapp Ink.app
2003-08-13 03:45:58 +00:00
.PP
2007-12-26 22:00:52 +00:00
Launch
.B Ink.app
and pass it the
.B \- \- debug
argument:
2003-08-13 03:45:58 +00:00
.PP
2007-12-26 22:00:52 +00:00
.B openapp \- \- debug Ink.app
2003-08-13 03:45:58 +00:00
.PP
To determine which executable is launched by openapp, type:
.PP
2007-12-26 22:00:52 +00:00
.B openapp \- \- find Ink.app
2003-08-13 03:45:58 +00:00
.PP
2007-12-26 22:00:52 +00:00
The output of the above command might be something like:
2003-08-13 03:45:58 +00:00
.I /usr/GNUstep/Local/Applications/Ink.app/Ink
2007-12-26 22:00:52 +00:00
2003-08-13 03:45:58 +00:00
.SH ENVIRONMENT
2007-12-26 22:00:52 +00:00
.TP
.B GNUSTEP_CONFIG_FILE
is used to determine where the
.B GNUstep.sh
configuration file is located. If the variable is not set
.B openapp
tries to locate it in the folder where
.B openapp
was started, then in the user domain, and as a last resort in the system domain (or actually the place you configured
.RI ( \- \- with-config-file= )
during building).
.TP
.B GDB
Sets the debugger to use when
.B \- \- debug
is used.
2003-08-13 03:45:58 +00:00
.SH SEE ALSO
2007-12-26 22:00:52 +00:00
debugapp(1), GNUstep(7), gopen(1), library-combo(7), opentool(1)
2003-08-13 03:45:58 +00:00
.SH HISTORY
Work on
.B openapp
started October 1997.
2007-12-26 22:00:52 +00:00
.PP
.B openapp
was originally written by Ovidiu Predescu <ovidiu@net-community.com>
2007-12-26 22:18:22 +00:00
and is now maintained by Nicola Pero <nicola.pero@meta-innovation.com>
2007-12-26 22:00:52 +00:00
.SH AUTHORS
This manual page was first written July 2003 by Martin Brecher <martin@mb-itconsulting.com>.
.PP
Updated with notes from Hubert Chathi <uhoreg@debian.org> and Dennis Leeuw <dleeuw@made-it.com>, December 2007 by Dennis Leeuw.