<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2005/734 GNOME For Nevada-->
<!ENTITY cmd "gnome-open">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
]>
<?Pub UDT _bookmark _target>
<?Pub Inc>
<refentry id="gnome-open-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>gnome-open</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">6 Sep 2004</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>gnome-open</primary></indexterm><indexterm><primary>open
a file using the appropriate application</primary></indexterm>
<refnamediv id="gnome-open-1-name"><refname>gnome-open</refname><refpurpose>
open a file using the appropriate application</refpurpose></refnamediv>
<refsynopsisdiv id="gnome-open-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg><option role="nodash"><replaceable>gnome-std-options</replaceable></option></arg>
<arg choice="plain"><option role="nodash"><replaceable>URL</replaceable></option></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1 id="gnome-open-1-desc"><title>&desc-tt;</title>
<para><command>&cmd;</command> opens a file from the command line by launching
the appropriate application that is associated with the file mime type.</para>
</refsect1>
<refsect1 id="gnome-open-1-opts"><title>&opts-tt;</title>
<para>The following options are supported:</para>
<variablelist termlength="medium">
<varlistentry><term><option role="nodash"><replaceable>gnome-std-options</replaceable></option></term>
<listitem><para>Standard options available for use with most GNOME applications.
See <citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>
5</manvolnum></citerefentry> for more information.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="gnome-open-1-oper"><title>&oper-tt;</title>
<para>The following operands are supported:</para>
<variablelist termlength="narrow">
<varlistentry><term><option role="nodash"><replaceable>URL</replaceable></option></term>
<listitem><para>Specifies the name of the <replaceable>URL</replaceable> to open.</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="gnome-open-1-exam"><title>&exam-tt;</title>
<example role="example">
<title>Opening a Text File in the Home Directory</title>
<para><screen>example% <userinput>&cmd; README.txt</userinput></screen></para>
</example>
</refsect1>
<refsect1 id="gnome-open-1-envr"><title>&envr-tt;</title>
<para>See <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>
5</manvolnum></citerefentry> for descriptions of the following environment
variables: NLSPATH.</para>
</refsect1>
<refsect1 id="gnome-open-1-exit"><title>&exit-tt;</title>
<para>The exit value 0 is returned regardless of success or failure.</para>
</refsect1>
<refsect1 id="gnome-open-1-file"><title>&file-tt;</title>
<para>The following files are used by this application:</para>
<variablelist termlength="medium">
<varlistentry><term><filename>/usr/bin/&cmd;</filename></term><listitem><para>
Executable to open a file using the appropriate application</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="gnome-open-1-attr"><title>&attr-tt;</title>
<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
valign="middle">ATTRIBUTE VALUE</entry></row>
</thead>
<tbody>
<row><entry><para>Availability</para></entry><entry><para>library/gnome/gnome-libs</para></entry>
</row>
<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
colname="COLSPEC1"><para>Volatile</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="gnome-open-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle>
for your platform.</para>
<para>
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>environ</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>gnome-std-options</refentrytitle><manvolnum>5</manvolnum></citerefentry>
</para>
</refsect1>
<refsect1 id="gnome-open-1-note"><title>&note-tt;</title>
<para>Written by Stephen Browne, Sun Microsystems Inc., 2004.</para>
</refsect1>
</refentry>