RE: How to register a application being in Nautilus a 'plain text editor' or 'XML editor'?
- From: "Alexander M. Batishchev" <abatishchev godfather net ru>
- To: "'Magnus Therning'" <magnus therning org>
- Cc: gnome-list gnome org
- Subject: RE: How to register a application being in Nautilus a 'plain text editor' or 'XML editor'?
- Date: Thu, 14 Jan 2010 16:39:00 +0300
Yea, this is what I'm looking for - not a default application for specific MIME type, but a member of suggested applications list for such type.
As far as I could understand I need this: http://developers.sun.com/solaris/articles/integrating_gnome.html
-----Original Message-----
From: Magnus Therning [mailto:magnus therning org]
Sent: Thursday, January 14, 2010 2:51 PM
To: Alexander M. Batishchev
Cc: gnome-list gnome org
Subject: Re: How to register a application being in Nautilus a 'plain text editor' or 'XML editor'?
On Thu, Jan 14, 2010 at 11:29 AM, Alexander M. Batishchev
<abatishchev godfather net ru> wrote:
> How can I do this programmatically while my application is installing? In make file I guess.
First of all you really, really shouldn't! Choosing the default
application for a file type should be left to the user.
I believe that if you place a .desktop file in a location like
/usr/share/applications/ (probably distro specific) and it includes a
MimeType entry, then your application will be entered into the list of
applications that the user can choose from in the properties dialogue.
/M
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]