Re: How to register a application being in Nautilus a 'plain text editor' or 'XML editor'?
- From: Magnus Therning <magnus therning org>
- To: "Alexander M. Batishchev" <abatishchev godfather net ru>
- 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 11:51:02 +0000
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
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]