Linux Icon Naming Conventions

conventionsfilenamesfilesiconslinux

Is there a naming convention in Linux when it comes to application icon filenames? What I'm referring to is the practice of including the icon size in the filename if the application uses multiple icon files (PNGs, for example) for different views (desktop, lists, menus, etc.).

OS X has the icon_16x16, icon_32x32, etc. convention, so I'm wondering if there's a similar practice in Linux.

Best Answer

Yes, but Linux separates different sizes of icons into different directories instead of giving them different names. You'll want to read the Icon Theme Specification, which explains the directory layout, and the Icon Naming Specification, which explains how the filenames should be chosen.

To summarize, Linux application icons would be something like:

/usr/share/icons/<theme-name>/<icon-size>/apps/<program-name>.png
Related Question