2016-03-16

I'm using Linux Mint 17.2 MATE

I have a problem assigning an icon for custom (newly created) file type.

My task:

To set new double-click action and new icon for *.session files.

My sequence of operations:

No errors have been displayed during these steps.

Finally I've rebooted OS.

My files (used in the above steps):

text-x-session.png

48x48 PNG image file

scite_session.xml

scite_session.desktop

My results:

Everything seems to be OK except icons.

I see proper type "text/x-session" in "properties" page of any *.session file

Double-clicking on any *.session file invokes proper action according to "scite_session.desktop"

But the icon used by caja for *.session files is still the same instead of my new icon.

My question:

How to set new icon for mimetype in Linux Mint?

I've noticed that xdg-icon-resource created a copy of my .png in ~/.local/share/icons/hicolor/48x48/mimetypes

Probably, I should copy it manually somewhere else?

Show more