2

I want to change Mega's panel icon to better fit with my theme but I can't figure out what to name the icons. Has anyone managed to change Mega's icon?

I know how to change specific icons, but I just don't know what what name Mega uses for its panel icons.

Mega looks out of place, doesn't it?

John
  • 917
  • Do you know where the icon is located? – Jacob Vlijm Mar 02 '17 at 05:41
  • I don't. I've tried doing a search in /usr/share/ and I also tried doing a more general search in my entire computer for "mega" to try and find any relevant folders but I couldn't find anything. So I fear it might be a hard-coded icon – John Mar 02 '17 at 05:50
  • 1
    Using the method in this answer http://askubuntu.com/a/865149/72216 I found five icons: /usr/share/icons/hicolor/48x48/apps/mega.png /usr/share/icons/hicolor/16x16/apps/mega.png /usr/share/icons/hicolor/32x32/apps/mega.png /usr/share/icons/hicolor/256x256/apps/mega.png /usr/share/icons/hicolor/128x128/apps/mega.png Which one is exactly used for the panel, you'd have to try. I'll mark it as a dupe, but if it doesn't solve, please leave a comment. – Jacob Vlijm Mar 02 '17 at 05:59
  • Thanks, but those aren't the right icons. Those only change the apps icon in things like the dash, but not the panel. Mega uses at least three different icons in the panel depending on its status. – John Mar 02 '17 at 06:12
  • OK, I'll retract my vote, but I am pretty sure the issue is then the same as described in the section *Exceptional situations* in the linked dupe. These icons are simply all megasync installs. It is a pretty short list. – Jacob Vlijm Mar 02 '17 at 06:15
  • Is there a solution? – bomben Dec 04 '20 at 20:30

3 Answers3

1

After seeing various forums, I finally found out that Mega stores its panel icons in /usr/share/icons/hicolor/scalable/status. I think it is possible to change the icons by copying other images to that directory with the same name.

V 7
  • 11
1

I sent an email to Mega support and they told me the icon is hardcoded and thus cannot be changed.

John
  • 917
  • Exactly. like here: http://askubuntu.com/questions/832568/how-do-i-find-the-icon-files-used-by-non-default-status-menus-aka-indicators/865149#865149 see "Exceptional situations". – Jacob Vlijm Mar 23 '17 at 06:05
0

It appears that Megasync checks ~/.local/share/icons/hicolor/scalable/status before checking /usr/share/icons/hicolor/scalable/status. Thus, if you place files with the following names:

  • megaalert.svg
  • megalogging.svg
  • megapaused.svg
  • megasynching.svg
  • megauptodate.svg
  • megawarning.svg

in this ~/.local[...] path directory, it should load those icons instead.

sofi
  • 1