Short description

I have attempted several times to improve the existing icon set or create a new one. Every time I do it, I'm basically going through images one by one and replacing them with new ones. There is no naming convention that would allow me to do it in more planned way.

The icon naming is a huge mess that have accumulated through years of organic growth. It's very hard to create or modify icon themes because of that. Coming up with icon naming convention could simplify it greatly.

This would be useful mainly for artists who work on the icon themes, although making their work easier would benefit all users.

Icon naming convention

Here is an example of how the rename could be done (based on moin-1.7 and loosely based on xdg icon naming spec):

Old name  -->  New name
alert.png --> emblem-caution.png
angry.png --> face-angry.png
attach.png --> banner-attachment.png
attention.png --> emblem-important.png
biggrin.png --> face-grin.png
checkmark.png --> emblem-default.png
devil.png --> face-devilish.png
draft.png --> background-draft.png
frown.png --> face-crying.png
icon-error.png --> emblem-warning.png
icon-info.png --> emblem-info.png
idea.png --> emblem-tip.png
moin-attach.png --> action-attach.png
moin-bottom.png --> go-bottom.png
moin-conflict.png --> status-conflict.png
moin-deleted.png --> status-deleted.png
moin-diff.png --> action-diff.png
moin-edit.png --> action-edit.png
moin-email.png --> link-email.png
moin-ftp.png --> link-ftp.png
moin-help.png --> action-help.png
moin-home.png --> go-home.png
moin-icon.png --> emblem-unknown.png
moin-info.png --> action-info.png
moin-inter.png --> link-inter.png
moin-new.png --> status-created.png
moin-news.png --> link-nntp.png
moin-parent.png --> go-parent.png
moin-print.png --> action-print.png
moin-raw.png --> action-raw.png
moin-renamed.png --> status-renamed.png
moin-rss.png --> link-rss.png
moin-search.png --> action-search.png
moin-show.png --> action-show.png
moin-subscribe.png --> action-subscribe.png
moin-telnet.png --> link-telnet.png
moin-top.png --> go-top.png
moin-unsubscribe.png --> action-unsubscribe.png
moin-updated.png --> status-updated.png
moin-up.png --> go-up.png
moin-www.png --> link-http.png
moin-xml2.png --> ?
moin-xml.png --> ?
ohwell.png --> face-uncertain.png
prio1.png --> emblem-prio1.png
prio2.png --> emblem-prio2.png
prio3.png --> emblem-prio3.png
PythonPowered.png --> banner-python-powered.png
redface.png --> face-embarassed.png
sad.png --> face-sad.png
smile2.png --> face-cool.png
smile3.png --> face-laugh.png
smile4.png --> face-wink.png
smile.png --> face-smile.png
star_off.png --> emblem-star-off.png
star_on.png --> emblem-star-on.png
thumbs-up.png --> emblem-ok.png
tired.png --> face-tired.png
tongue.png --> face-raspberry.png

Is the new name you suggest commonly used anywhere else? E.g. in some freely available icon sets? Or will one still have to rename everything? -- ThomasWaldmann 2008-05-13 11:22:55

The "face" names are taken from the gnome icon theme, which in turns conforms to the icon naming spec from xdg (http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html). The "emblem" prefix was also taken from that spec. The names from the spec usually don't fit the icons used in MoinMoin, hence I used the original names, except for the icons matching the "admonition" icons recently added to Moin -- where I tried to retain consistency. The "go" names are from the spec. The "link" names use the protocol name where possible. The "action" icons are practically all specific to MoinMoin, so apart from adding a prefix I left the names as they were. We could try and use names like "system-text-editor" for edit, but that's not exactly what this icon means. The "status" icons are all just prefixed, except for the "status-created" name, which I think better describes the icon. Finally, I'd like to mention that I posted this list so that we can come up with good names faster -- I'm not attached to this particular list. -- RadomirDopieralski 2008-05-13 11:56:06

To resume, the "face" and "go" icons are the same as any icon conforming to the icon naming spec -- in practice any modern icon theme for Gnome or KDE (except that you would need to move them from their directories to a single directory). The rest is too specific to MoinMoin to standarize in this way. (Maybe the link icons and some action icons could be made consistent with some popular web application like phpBB?) -- RadomirDopieralski 2008-05-13 12:05:41


CategoryFeatureRequest

MoinMoin: FeatureRequests/SanitizeIconFilenames (last edited 2008-05-13 12:05:41 by RadomirDopieralski)