On Thu, May 15, 2003 at 10:04:39AM +0200, mcINEK wrote: > Hello! > > I was wondering how to improve mailcap system to become useful. > First step was to able mc use mailcap. Now, I want to make nautilus to > use mailcap. And I have a few questions. > > 1. Where nautilus (gnome2?) keeps info about mime types? > 2. (more complicated) Does run-mailcap differs x and non x applications?
If you already parsed mailcap into mc's configuration, you should've seen this (picking out a random one): application/vnd.sun.xml.draw; openoffice '%s'; edit=openoffice '%s'; test=test "$DISPLAY" != "" ; description="OpenOffice.org 1.0 Drawing"; nametemplate=%.sxd Take extra care to the 'test' parameter. > Could be posible run ie. links in mc and galeon in nautilus by the same > run-mailcap command? If you can create a test to accomplish that, sure. -- Debian GNU/Linux -- http://www.debian.org Nederlandstalige Linux-documentatie -- http://nl.linux.org "An expert can usually spot the difference between a fake charge and a full one, but there are plenty of dead experts." -- National Geographic Channel, in a documentary about large African beasts.