Open killown opened 7 years ago
Could you explain further what the issue is? It is not clear to me.
hi @micheleg thanks for reply, the dash to dock can't recognize the icon from popcorntime.desktop file then it uses /usr/share/popcorntime/src/app/images/icon.png as default
Django cat /usr/share/applications/popcorntime.desktop [Desktop Entry] Type=Application Name=Popcorn Time Comment=Stream movies and TV shows from torrents Icon=popcorntime TryExec=popcorntime Exec=popcorntime %U MimeType=application/x-bittorrent;x-scheme-handler/magnet; Categories=AudioVideo;Video;Player;Network;FileTransfer;P2P
What is the behaviour with the extension disabled? Does the icon show up in the default dash (inside the overview)?
default dash same issue, show wrong icon, so this bug is from gnome
This is therefore an upstream bug. Have you tried modifying the desktop to point to the full path of the desired icon?
@killown Electron & Node-Webkit applications needs a StartupWMClass in order to make it possible to assign a correct desktop file to an executable one see more information here https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
You can use xprop WM_CLASS
and click on a running instance of popcorn time in order to get the correct WMClass and add StartupWMClass=VALUE
with the value the output you've got from xprop which will fix your issue
@micheleg This can be closed:+1:
I had to do the same after installing a custom Firefox executable, confirming what @bil-elmoussaoui reports.
StartupWMClass is only used to group windows with the same class name. You need to look at changing the class with the exec command if the program supports gtk options.
Try running the executable with --class="Popcorn-Time"
. Worked for me.
See also: · https://askubuntu.com/a/809353/545569 · https://github.com/popcorn-official/popcorn-desktop/issues/305 · https://elementaryos.stackexchange.com/a/16088/10290
I am having an issue with popcorntime icon, I tried a few themes then it's not an icon theme issue![screenshot from 2017-04-24 13-47-02](https://cloud.githubusercontent.com/assets/24453/25348422/8ee9fa18-28f4-11e7-9d4c-95089bcd7186.png)
with plank dock it works fine:![screenshot from 2017-04-24 13-49-48](https://cloud.githubusercontent.com/assets/24453/25348639/3e7b03aa-28f5-11e7-872b-7528ba8c4fd0.png)