Re: Associate an icon and an application to a mime type
- From: "Nickolay V. Shmyrev" <nshmyrev yandex ru>
- To: Jean Bréfort <jean brefort normalesup org>
- Cc: Gnome Development <gnome-devel-list gnome org>
- Subject: Re: Associate an icon and an application to a mime type
- Date: Tue, 19 Oct 2004 23:39:31 +0400
It depends of what support you want to get.
For example, to associate application with the mime type you should add
field
MimeType=application/you-mime-type
to desktop file of your application which is installed
in /usr/share/applications.
To get support older gnome you should also install three files
- .applications, .keys, .mime, but this is gone since gnome 2.4.
To associate icon with mime type you should just install that icon with
default icon theme somewhere in /usr/share/icons/. This is more
complicated work, not many application does it, many just use gnome-
icon-theme, which contains icons.
Anyway there is a lot of examples of how to do it. Try any gnome
program, file-roller for example.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]