icon theme directory layout
Brian J. Tarricone
bjt23 at cornell.edu
Tue Feb 24 05:00:10 CET 2004
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? and if i do move them, how should i do it? just
do 8 million cvs removes/adds? of course we lose the cvs history by
doing that... but then again i somewhat doubt that the icons have all
that much history...
-brian
More information about the Xfce4-dev
mailing list