10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refentry id="gnome-vfsapplications-4">
10139N/A<
refmiscinfo class="date">13 Jan 2003</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man4;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
primary>GNOME VFS application registry</
primary></
indexterm><
refnamediv id="gnome-vfsapplications-4-name">
10139N/A<
refsect1 id="gnome-vfsapplications-4-desc"><
title>&desc-tt;</
title>
10139N/A<
para>The GNOME MIME magic and MIME info files (see <
citerefentry><
refentrytitle>
10139N/Agnome-vfs-mime-magic</
refentrytitle><
manvolnum>4</
manvolnum></
citerefentry>)
10139N/Aenable GNOME VFS to associate a data file with its icon and description. The
10139N/AGNOME VFS application registry provides a way to launch the applications associated
10139N/A<
para>The registration of applications to various MIME types is specified
10139N/A</
literal> directory. GNOME provides a default registry file called <
filename>
10139N/Abe placed in this directory. This information is used extensively by <
citerefentry>
10139N/A<
refentrytitle>nautilus</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
refsect1 id="gnome-vfsapplications-4-exde"><
title>&exde-tt;</
title>
10139N/A<
para>The format of the application registry file is simple. Each application
10139N/Aentry is made up of a name followed by a number of key-value pairs. The application
10139N/Aname must have been specified in one of the <
filename>.keys</
filename> files.
10139N/AThe minimum required key fields are as follows:<
variablelist><
varlistentry>
10139N/A<
term>command</
term><
listitem><
para>The command to execute.</
para>
10139N/A<
varlistentry><
term>name</
term><
listitem><
para>The descriptive name of the
10139N/Acommand, which will appear in the Open With menu in Nautilus.</
para>
10139N/A<
varlistentry><
term>can_open_multiple_files</
term><
listitem><
para>The value
10139N/Aof this field can be <
literal>true</
literal> or <
literal>false</
literal>.
10139N/A<
varlistentry><
term>expects_uris</
term><
listitem><
para>The value of this field
10139N/Acan be <
literal>true</
literal> or <
literal>false</
literal>. This field tells
10139N/ANautilus whether the application can accept <
literal>http:</
literal>, <
literal>
11904N/Aftp:</
literal> and so on specifications to open at the command line. If
10139N/Athis is <
literal>true</
literal>, you must add the <
literal>supported_uri_schemes
10139N/A<
varlistentry><
term>requires_terminal</
term><
listitem><
para>The value of this
10139N/Afield can be <
literal>true</
literal> or <
literal>false</
literal>.</
para>
10139N/A<
varlistentry><
term>mime_types</
term><
listitem><
para>The list of comma-separated
10139N/Amime-types defined by MIME magic or MIME info files.</
para>
10139N/A<
para>Optional field:<
variablelist><
varlistentry><
term>supported_uri_schemes
10139N/A</
term><
listitem><
para>Specifies the list of protocols supported by the application;
10139N/Afor example, <
literal>http</
literal>, <
literal>ftp</
literal>, <
literal>file
10139N/A</
literal>, <
literal>telnet</
literal>, <
literal>gopher</
literal>.</
para>
10139N/A<
refsect1 id="gnome-vfsapplications-4-exam"><
title>&exam-tt;</
title>
10139N/A<
example role="example"><
title>Registering CDE Imagetool with GNOME Application
10139N/A<
para><
screen><
computeroutput> sdtimage
10139N/A</
computeroutput></
screen></
para>
10139N/A<
example role="example"><
title>Registering Netscape with GNOME Application
10139N/A<
para><
screen><
computeroutput> netscape
10139N/A supported_uri_schemes=file,http,ftp,telnet,gopher
10139N/A</
computeroutput></
screen></
para>
10139N/A<
refsect1 id="gnome-vfsapplications-4-envr"><
title>&envr-tt;</
title>
10139N/A<
para>See <
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>
10139N/A5</
manvolnum></
citerefentry> for descriptions of the following environment
10139N/Avariables that affect the execution of <
command>&cmd;</
command>: NLSPATH.
10139N/A<
refsect1 id="gnome-vfsapplications-4-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A</
term><
listitem></
listitem></
varlistentry>
10139N/A</
filename></
term><
listitem></
listitem></
varlistentry>
10139N/A<
refsect1 id="gnome-vfsapplications-4-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWgnome-vfs</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="gnome-vfsapplications-4-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11925N/A<
citerefentry><
refentrytitle>nautilus</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11925N/A<
citerefentry><
refentrytitle>gnome-vfs-mime-magic</
refentrytitle><
manvolnum>4</
manvolnum></
citerefentry>,
11925N/A<
citerefentry><
refentrytitle>libgnomevfs-2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11925N/A<
citerefentry><
refentrytitle>gnome-interfaces</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
para>Latest version of the <
citetitle>GNOME Desktop User Guide</
citetitle> for your platform.</
para>
10139N/A<
refsect1 id="gnome-vfsapplications-4-note"><
title>¬e-tt;</
title>
11933N/A<
para>Written by Ghee Teo, Sun Microsystems Inc., 2003.</
para>