meganz / MEGAsync

Easy automated syncing between your computers and your MEGA Cloud Drive
Other
1.63k stars 281 forks source link

Linux: new Symbolic icon option #611

Open andirsun opened 3 years ago

andirsun commented 3 years ago

Im on linux and MEGAsync is the only indicator that is different from all, maybe you can add an option in settings to change red icon to a symbolic ones (white-black version)

Screenshot from 2021-08-02 01-28-48

polmr commented 3 years ago

there are actually some black/white icons installed by MEGAsync In a debian like distro, megasync installs colored icons:

/usr/share/icons/hicolor/scalable/status/megaalert.svg
/usr/share/icons/hicolor/scalable/status/megalogging.svg
/usr/share/icons/hicolor/scalable/status/megapaused.svg
/usr/share/icons/hicolor/scalable/status/megasynching.svg
/usr/share/icons/hicolor/scalable/status/megauptodate.svg
/usr/share/icons/hicolor/scalable/status/megawarning.svg

and b/w icons:

/usr/share/icons/ubuntu-mono-dark/status/24/megaalert.svg
/usr/share/icons/ubuntu-mono-dark/status/24/megalogging.svg
/usr/share/icons/ubuntu-mono-dark/status/24/megapaused.svg
/usr/share/icons/ubuntu-mono-dark/status/24/megasynching.svg
/usr/share/icons/ubuntu-mono-dark/status/24/megauptodate.svg
/usr/share/icons/ubuntu-mono-dark/status/24/megawarning.svg

They thing is that which one depends on your desktop environment/theme hicolor is the usual fallback theme for icons in all desktop environments. You can always replace the hicolor with the mono-dark ones. sudo gtk-update-icon-cache -f -t /usr/share/icons/hicolor may be enough to update it (or better of: restarting)

andirsun commented 3 years ago

Hey @polmr thanks! I did the change and it works. Im a elementary os dev. There is something we can do to set symbolic icons by default ?

abdeoliveira commented 2 years ago

@polmr's solution worked like a charm on Linuxmint 20.3. :-)