file associations icons--Solution found

António Rodrigues Tomé artome at gmail.com
Wed Aug 6 16:17:22 BST 2008


After reading too many documents in the internet I've found a workable 
solution.  At least for my problem.

putting a banner-mimetype.sgvz on 
 /.kde4/share/icons/ICONTHEMENAME/scalable/mimetypes
directory seems to work quite well.

in my case ICONTHEMENAME was oxigen
the banner_mimetype.sgvz name is better  explained with an example:

the mime type x-fortran  is under the banner text so the icon name is
text-x-fortran.svgz

the mime type msword is under the banner application so the icon name is
application-msword.svgz.

with so many default mime types icons still missing on oxigen it is really 
hard to work with dolfin but if one is able to add two or three of our most 
used mimetypes things are much more smoth.




On Tuesday 05 August 2008 18:56:29 António Rodrigues Tomé wrote:
> On Monday 04 August 2008 22:15:13 Paul Worrall wrote:
> > On Monday 04 Aug 2008, António Rodrigues Tomé wrote:
> >
> > [Snip]
> >
> > > What I would like to know is were the icon information is saved because
> > > there is a lot of file types that have a icon associated with then for
> > > exemple x- chdr, troff, x-csrc, x-csharp just to mention a few under
> > > the text banner.
> >
> > The command:
> >
> > kde-control --path mime
> >
> > gives a list of directories under which are a collection of .desktop
> > files in subdirectories according to the mime type.  I think these are
> > the files that contain the icon information for each file type.
>
> you meant kde-config
>
> but this is not the solution at least fopr kde4.1 because if I put any
> desktop file there the icon only changes the way dolfin, konquer sees the
> desktop file and not the icon that dolfin sees the mimetype files.




___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list