Re: Associate an icon and an application to a mime type

It depends of what support you want to get. 

For example, to associate application with the mime type you should add


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]