I use F-Spot Photo Manager for organizing all of my photos, but have noticed that it does not allow the user to open a RAW photograph in GIMP using the “Open With” menu.
Here is a quick how-to I wrote up in order to fix this problem:
This should work for both Nikon and Canon raw images.
1. Add “image/x-nikon-nef;” to MimeType in /usr/share/applications/gimp.desktop (or “image/x-dcraw;” for Canon)
2. Add “image/x-nikon-nef” to mime_types in /usr/share/application-registry/gnome-vfs.applications (again, image/x-dcraw for Canon)
3. In terminal, sudo update-desktop-database /usr/share/applications/
4. Create a file in ~/.local/share/mime/packages called “nikonraw-mimetypes.xml” (canonraw-mimetypes.xml for Canon). This file should have the following content:
For Nikon:
<?xml version=”1.0″?>
<mime-info xmlns=’http://www.freedesktop.org/standards/shared-mime-info’>
<mime-type type=”image/x-nikon-nef”>
<comment>Nikon RAW</comment>
<glob pattern=”*.nef”/>
</mime-type>
</mime-info>
For Canon:
<?xml version=”1.0″?>
<mime-info xmlns=’http://www.freedesktop.org/standards/shared-mime-info’>
<mime-type type=”image/x-canon-cr2″>
<comment>Canon RAW</comment>
<glob pattern=”*.cr2″/>
</mime-type>
</mime-info>
5. May have to restart / re-login for changes to take effect.
Start up F-Spot Photo Manager, and you should be good to go. This was tested using Ubuntu 9.04 64 Bit.