[7131] in testers
Re: impoverished MIME handling on 9.4 Solaris.
daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed Jun 15 17:37:39 2005
From: Robert A Basch <rbasch@MIT.EDU>
To: Bill Cattey <wdc@mit.edu>
Cc: testers@mit.edu
In-Reply-To: <1118859252.5605.5.camel@dale.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Wed, 15 Jun 2005 17:37:27 -0400
Message-Id: <1118871447.12517.17.camel@anhedonia.mit.edu>
Mime-Version: 1.0
On Wed, 2005-06-15 at 14:14 -0400, Bill Cattey wrote:
> I got a PDF file in email.
> Evolution properly identified it as a "PDF document attachment"
> But the only option I have with it is to Save the file.
It looks like we need to create a mimeinfo.cache file in
/usr/athena/share/applications; this cache is a quick way to
see what applications are available for a MIME type, without
having to read the entire directory. (nautilus apparently
operates in a mode where it will read the directory when the
cache does not exist, so merely adding our .desktop files to
the directory works for it).
We can fix this by running update-desktop-database, which
builds the cache file; this program is installed on Linux as
part of the desktop-file-utils rpm. Probably it makes sense
to run this at boot time, since multiple packages may add or
remove .desktop files.
> Perhaps this is a solaris only problem?
No, but there we will apparently also need to build the
desktop-file-utils package, as update-desktop-database does
not seem to be provided in any Sun package. I will import
this soon.
Bob