Hi, The gnomevfs API isn't depreciated (AFAIK). Certainly, we use gnomevfs extensively. However, if your looking for a small easy tool, maybe writing your own would be okay? Check the API documentation for gnomevfs and find this function: gnome_vfs_mime_get_default_application_for_uri [1] As was pointed out, gconf isn't really anything to do with mime types. gconf is used for storing preferences and things. gnomevfs really is the way to get at mime types (at least AFAIK). Don [1] http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-20-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-application-for-uri On Tue, 2006-06-20 at 14:59 -0300, Augusto Arcoverde da Rocha wrote: > The gnomevfs mime API seems to be deprecated and I'm seeking for a > more self contained tool (without parsing conf files directly) to > avoid distro conflicts or GNOME version changes. > > GConf is a new interface to environment definitions, gconftool > implement a command line access interface to GConf database, but I > don't know to use it. > > I use > > gconftool-2 --dump --recursive-list /schemas | grep mime > > and don't get usefull information. > > > Thanks, > Augusto Arcoverde da Rocha > > On 6/20/06, Don Scorgie <DonScorgie@xxxxxxxxxxxxxxxx> wrote: > > Hi, > > > > Maybe look at > > gnomevfs-info > > it provides all sorts of useful information about a file, one of which > > is "Default app", which specifies a .desktop file (found > > in /usr/share/applications) where the info can be found (provided a > > default app exists). Would need a bit of parsing though. > _______________________________________________ > gnome-list mailing list > gnome-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gnome-list _______________________________________________ gnome-list mailing list gnome-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gnome-list