Icons for the displayed messages

Asked by Alex Botev on 2017-03-24

So for some reason when I have new messages, the unity-mail have a missing icon there, which I'm not too sure why. Could you clear up where is it loading the icons from in order to sort it out (could be some premission issue).

Image: https://www.dropbox.com/s/ckwsd3hdonxkwtu/unity-mail.png?dl=0

Note that the image is a bit blurred, as it fades away when I do a screen shot.

Question information

Language:
English Edit question
Status:
Answered
For:
Unity Mail Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-24
Last reply:
2017-03-24
Robert Tari (robert-tari) said : #1

The message icon is the stock "mail-unread" icon that should be present in every icon theme. If your current theme is missing this icon for some reason, it is loaded from the "hicolor" set. In any case, "mail-unread" should be present on your system.

Try to do a search in /usr/share/icons/ to see if it is present in your current icon theme or "hicolor".

Alex Botev (botevmg) said : #2

Thanks for the reply, since I have created my own theme I had that one missing.
Is it possible also to change the default hicolor red mail icon that sits on the left of "Unity Mail" option, and the one that appears in the pop up when you get an email?

Robert Tari (robert-tari) said : #3

1. In most Desktop Environments a local icon overrides a system icon:
"/home/you/.local/share/icons/hicolor/scalable/apps/unity-mail.svg" should do it for all themes

2. /home/you/.local/share/icons/yourtheme/scalable/apps/unity-mail.svg" should do it for your theme

3. You can replace the system icon "/usr/share/icons/hicolor/scalable/apps/unity-mail.svg" - it would affect all themes but get overwritten whenever the application is updated

4. You can create a system icon "/usr/share/icons/yourtheme/scalable/apps/unity-mail.svg" - it would affect only your theme but might (or might not?) get overwritten whenever the application is updated

5. If your icon theme gets famous and is used by a lot of people, you can send me the icon to include it in the package (Unity Mail has a different icon for Faenza, for example)

Whenever you change something in an icon theme, update it:
sudo update-icon-caches /usr/share/icons/hicolor
sudo update-icon-caches /usr/share/icons/yourtheme/
update-icon-caches /home/you/.local/share/icons/yourtheme
...and so on.

Can you help with this problem?

Provide an answer of your own, or ask Alex Botev for more information if necessary.

To post a message you must log in.