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



Le mardi 19 octobre 2004 �3:39 +0400, Nickolay V. Shmyrev a �it :
> 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.

It works fine except that I don't get the menu entry.

> 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.

I copied the icon almost everywhere in the /usr/share/icons directory,
but it does not work.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]