icon theme directory layout

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Feb 24 09:39:21 CET 2004


Brian J. Tarricone wrote:
> hi all-
> 
> i'm playing with GtkIconTheme a bit more, and there's a bit of a 
> problem.  there's the easy quick-and-dirty non-standard-compliant 
> solution: stick an index.theme file in each directory under 
> /usr/share/xfce4/themes that points to itself.  this, however, is not 
> standards-compliant  
> (http://freedesktop.org/Standards/icon-theme-spec/icon-theme-spec-0.8.html#directory_layout).  
> what we should really do is rearrange it so we have themed dirs that 
> look like this (this will only look right with a fixed-width font):
> 
> /usr/share/xfce4/themes
>  `-- Lush/
>      |-- index.theme
>      |-- scalable/
>      |   `-- apps/
>      |       `-- *.svg
>      |-- 48x48/
>      |   `-- apps/
>      |       |-- *.png (48x48 images)
>      |       `-- *.xpm ( "   " )
>      `-- 24x24/
>          `-- apps/
>              |-- *.png (24x24 images)
>              `-- *.xpm ( "   " )
> 
> the index.theme file is pretty simple:
> 
> [Icon Theme]
> Name=Lush
> Comment=The Lush Theme
> Directories=scalable/apps,48x48/apps,24x24/apps
> [scalable/apps]
> Size=48
> Context=Applications
> Type=Scalable
> [ ... and so on ... ]
> 
> this is the "right way" to do it, and i wouldn't mind doing the tedious 
> work of reorganising everything.  well, ok, i'm not really looking 
> forward to it, but i'll do it anyway.
> 
> so, what do we think?

Well, this is something I wanted to have for a long time! I say: Go on, man.

>    -brian

Benedikt

-- 
NetBSD Operating system:                       http://www.NetBSD.org/
pkgsrc "Work in progress":                  http://pkgsrc-wip.sf.net/
XFce desktop environment:                        http://www.xfce.org/
German Unix-AG Association:                   http://www.unix-ag.org/
os-network:                                 http://www.os-network.de/

OpenPGP Key: http://www.home.unix-ag.org/bmeurer/#gpg





More information about the Xfce4-dev mailing list