On Thu, Jan 14, 2010 at 11:29 AM, Alexander M. Batishchev <abatishchev@xxxxxxxxxxxxxxxx> 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 _______________________________________________ gnome-list mailing list gnome-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gnome-list