Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to change the icon for the filetype *.eml (message/rfc822) within PcManFm (file manager of LXDE) but after severall hours and many lines read and tried, I still cannot find a working solution, neither for PcManFm nor for Nautilus.

I have a 48x48 png file called thunderbird.png which I would like to make the image of the *.eml files

I've tried with:


xdg-icon-resource install --context mimetypes --mode user --size 48 ./thunderbird.png message-rfc822


changed the default icon for the message/rfc822, but it did not changed anything nor in PcManFm nor in Nautilus

and this other solution for Gnome/nautilus

didn't worked also...

Does anyone have a clue/idea of how to solve this?

I'm trying to show a person that everything he does with windows can be done with linux, and he works a lot with email_files.eml that in windows show up with the thunderbird icon...


share|improve this question
up vote 1 down vote accepted

The way of installing icons in Lubuntu is by going to Customize Look and Feel:

enter image description here

And these sets of icons are not file-browser-specific, they would be the same in all file browsers.

As icon sets come as deb files you might try an icon-set that contains the image for your file, extract the deb, replace the file related to what you want with the one you want instead, archive as tar.gz and than replace extension to deb, and install this deb.

But I am afraid I do not know how to do this specifically for the file type you mentioned, because I am not familiar with that file. But you should know more about that.

Also a problem might be the fact that these images in the deb file are svg, not png images.

Instead of trying all this, maybe you should consider that the best way to deal with your friend would be not to show him that Ubuntu can do the same things as Windows, but that it can do a lot more, only differently. For example changing all icons very easily.

Why bother to add single file-type icon when you can get unitary-style icon sets of superior quality?

For example these monochrome ones:

enter image description here


enter image description here


You might find that an icon-set you like will also change the image of the type of file you talk about to something better than you had imagined.

share|improve this answer
Thanks for the answer cipricus - I'll try it when I have another chance in that computer :) Good looking desktop you built for yourself :) – zipizap Oct 15 '12 at 10:46

Your Answer


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.