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. Hope this helps Don On Mon, 2006-06-19 at 17:40 -0300, Augusto Arcoverde da Rocha wrote: > Hi all, > > Can you help me to find a command line tool to search the mime > database for the application associated to a mime type? > > The gconftool seems to be this tool, but I didn't find one way to > retrive such information. > > I'm trying to integrate WineTools or Wine itself with mime database, > like CrossOver already does. > > Thanks a lot, > Augusto Arcoverde da Rocha > _______________________________________________ > 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