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-->
13625N/A<!--ARC : LSARC 2001/201 GNOME 2.X on Solaris-->
10139N/A<!ENTITY cmd "gnome-vfs.applications">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
13061N/A<!ENTITY suncopy "Copyright (c) 2003,2008 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="gnome-vfsapplications-4">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>gnome-vfs.applications.4</refentrytitle><manvolnum>4</manvolnum>
13061N/A<refmiscinfo class="date">14 May 2008</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</refmeta>
10139N/A<indexterm><primary>gnome-vfs.applications</primary></indexterm><indexterm>
10139N/A<primary>GNOME VFS application registry</primary></indexterm><refnamediv id="gnome-vfsapplications-4-name">
10139N/A<refname>gnome-vfs.applications</refname><refpurpose>GNOME VFS application registry</refpurpose>
10139N/A</refnamediv>
10139N/A<refsect1 id="gnome-vfsapplications-4-desc"><title>&desc-tt;</title>
13061N/A<para>
13061N/AGnomeVFS is obsolete. Refer to the GNOME Desktop System Administration
13061N/AGuide for information about how to register MIME type information with
13061N/Athe GNOME desktop. The GNOME Desktop System Administration Guide can
13061N/Abe viewed with
13061N/A<citerefentry><refentrytitle>yelp</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
13061N/A</para>
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/Awith such files.</para>
10139N/A<para>The registration of applications to various MIME types is specified
10139N/Ain text files placed in the <literal>/usr/share/gnome/application-registry
10139N/A</literal> directory. GNOME provides a default registry file called <filename>
10139N/Agnome-vfs.applications</filename>. Vendor-specific registry files can also
10139N/Abe placed in this directory. This information is used extensively by <citerefentry>
10139N/A<refentrytitle>nautilus</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
10139N/Athe GNOME file manager.</para>
10139N/A</refsect1>
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</listitem></varlistentry>
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</listitem></varlistentry>
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</para>
10139N/A</listitem></varlistentry>
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</literal> field.</para>
10139N/A</listitem></varlistentry>
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</listitem></varlistentry>
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</listitem></varlistentry>
10139N/A</variablelist></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</listitem></varlistentry>
10139N/A</variablelist></para>
10139N/A</refsect1>
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/ARegistry</title>
10139N/A<para><screen><computeroutput> sdtimage
10139N/A command=sdtimage
10139N/A name=sdtimage
10139N/A can_open_multiple_files=false
10139N/A expects_uris=false
10139N/A requires_terminal=false
10139N/A mime_types=image/tiff,image/gif,application/postscript,image/jpeg,x-xpixmap
10139N/A
10139N/A</computeroutput></screen></para>
10139N/A</example>
10139N/A<example role="example"><title>Registering Netscape with GNOME Application
10139N/ARegistry</title>
10139N/A<para><screen><computeroutput> netscape
10139N/A command=netscape
10139N/A name=Netscape
10139N/A can_open_multiple_files=true
10139N/A expects_uris=true
10139N/A requires_terminal=false
10139N/A supported_uri_schemes=file,http,ftp,telnet,gopher
10139N/A mime_types=text/html,x-directory/webdav,x-directory/webdav-prefer-directory,image/gif,image/jpeg
10139N/A</computeroutput></screen></para>
10139N/A</example>
10139N/A</refsect1>
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</para>
10139N/A</refsect1>
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<variablelist termlength="medium"><varlistentry><term><filename>/usr/share/gnome/application-registry/&cmd;</filename>
10139N/A</term><listitem></listitem></varlistentry>
10139N/A<varlistentry><term><filename>/usr/share/gnome/application-registry/solaris-gnome2.0.applications
10139N/A</filename></term><listitem></listitem></varlistentry>
10139N/A</variablelist></refsect1>
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<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>library/gnome/gnome-vfs</para></entry>
10139N/A</row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
13061N/Acolname="COLSPEC1"><para>Obsolete Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
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-->
10139N/A<!--Reference to a book.-->
11925N/A<para>
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>
11925N/A</para>
13061N/A<para>
13061N/ALatest version of the
13061N/A<citetitle>GNOME Desktop System Administration Guide</citetitle>
13061N/Afor your platform.</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gnome-vfsapplications-4-note"><title>&note-tt;</title>
11933N/A<para>Written by Ghee Teo, Sun Microsystems Inc., 2003.</para>
10139N/A</refsect1>
10139N/A</refentry>