Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

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
share|improve this answer
    
Thank you — exactly what I needed. –  Konstantin Đ. Nov 22 '12 at 0:18
    
What theme should we use if we want our icon to be used in every theme? –  curiousdannii Mar 24 at 3:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.