On Mon, 2013-04-08 at 18:00 +0200, Víctor Fernández wrote:
Hello. I'm developing an application for desktop which consist
on
digital treatment of images. The idea is not to open the terminal to
launch the program, but there's a little problem: I don't know how
Nautilus know that .jpg (or .png) files can be opened with my program,
and what can I do to get this.
Install a desktop file for your application, and add a MimeType= line to
it, listing the mimetypes your application can handle.
See
/usr/share/applications/gimp.desktop for inspiration