Re: Tool for search mime association



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 blueyonder co uk> 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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]