Re: Question about "Open with..."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

-- 
desktop mailing list
desktop@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/desktop





[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux