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.

Thanks to all!