So how to make this change in Hardy? These options have been moved to the Nautilus Preferences menu (Edit -> Preferences -> Media tab) but thanks to a change in the way mime types are handled in Gnome you may well find your favourite applications are not listed in the drop down lists provided. For some reason you can't manually specify a program to run (thanks guys) so until the various package applications catch up with Gnome and this is done automatically we'll need to make changes to the application's description file.
So:
- Go to /usr/share/applications (or /usr/share/applications/kde for a kde app)
- sudo vi $application.desktop
- Add the appropriate MIME types. I used this line:
(I was playing with grip in this case and there is almost certainly more than I need here, but I was in a hurry)
- sudo update-desktop-database
- sudo update-mime-database /usr/share/mime
Credits:
The solution came from here, I am merely distilling it to avoid having to hunt through pages of comments