bilelmoussaoui / Hardcode-Tray

Fixes Hardcoded tray icons in Linux
Other
861 stars 63 forks source link

Element Desktop and Discord not being detected #683

Closed poperigby closed 3 years ago

poperigby commented 3 years ago

Specifications

Expected behavior and actual behavior

Hardcoded-Tray should detect Element Desktop and Discord and patch the icons, but it doesn't. I think this might be because my Element Desktop and Discord executables are in /usr/bin instead of /opt, but I'm not sure. I tried using the --path argument and pointing it to /usr/bin/element-desktop and /usr/bin/discord, but that didn't work.

Steps to reproduce the problem

  1. Run sudo -E hardcode-tray --conversion-tool RSVGConvert --size 22
varlesh commented 3 years ago

discord fixed, see https://github.com/bilelmoussaoui/Hardcode-Tray/pull/681

varlesh commented 3 years ago

please show me du -a /usr/lib/element

varlesh commented 3 years ago

with this comand tray icon located on /usr/lib/element/img/element.png

poperigby commented 3 years ago

Thanks for the help, using the master branch build fixed everything.

poperigby commented 3 years ago

Actually, it says only 1/3 for Discord, and 2/3 for Element when applying.

please show me du -a /usr/lib/element

42488   /usr/lib/element/app.asar
0   /usr/lib/element/webapp
4   /usr/lib/element/img/element.png
24  /usr/lib/element/img/element.ico
32  /usr/lib/element/img
42524   /usr/lib/element
varlesh commented 3 years ago

Why reopen? What not fixed?

poperigby commented 3 years ago

Oh wait. Does this just mean Discord is the first task, Element is the second, and Steam is the third?

Discord             [############........................] 1/3 33.3% 0.21s
Element Desktop     [########################............] 2/3 66.7% 0.01s
Steam               [####################################] 3/3 100.0% 0.01s
varlesh commented 3 years ago

Yes, it's fixed 3 apps