xftree4 icons

Robert Serphillips rserphillips at austin.rr.com
Wed Nov 26 04:25:57 CET 2003


Thanks, it looks much better. Here's an observation, correct me if I'm
wrong

When parsing the file to generate the xml key you parse from left to
right splitting the name on "." . Shouldn't you try to generate the
key from right to left in the filename. 

Ex
my_mp3.mp3 generates this entry

  <mime-key key="mp3" type="audio/x-mp3">
    <application command="xmms %s"/>
  </mime-key>

but this file 
bash-doc-2.05b-20.i386.rpm

  <mime-key key="05b" type="application/xffm-05b">
    <application command="xfq %s"/>
  </mime-key>
</mime-info>


In this fashion I would have to most likely generate new file
association foreach rpm or change all the leading "." to something
else.

I have no idea how the code generates this I'm just basing it on
observation of the examples above.


-Rob





On Fri, 21 Nov 2003 19:06:37 -0600
edscott wilson garcia <edscott at lunar-linux.org> wrote:

> On Fri, 2003-11-21 at 18:30, Robert Serphillips wrote:
> > Some of my files don't have any icon associated with it,
> > regardless of what icon set I use. It's  as if they are not being
> > recognized. Mostly*.mp3 and *.sxw (but *.doc *.ppt and *.sxc are
> > ok). How can I associate an icon to these file types.
> 
> You can either edit /usr/local/share/xffm/pixmaps/$(theme)/mime.xml
> by hand, or update to CVS head 4.1 version (both xffm-icons and
> xffm). The 4.1 icon associations are now more complete and there's
> even an gui application (xffm_theme_maker) on the xfce-goodies site
> (www.berlios.de) which allows you to edit/modify icon themes easily.
>  
> > 
> > _______________________________________________
> > Xfce mailing list
> > Xfce at xfce.org
> > http://moongroup.com/mailman/listinfo/xfce
> 
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://moongroup.com/mailman/listinfo/xfce
> 



More information about the Xfce mailing list