Bug 361442 - Ignore var Icon= in .desktop file
Summary: Ignore var Icon= in .desktop file
Status: RESOLVED DUPLICATE of bug 356609
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) (show other bugs)
Version: 5.6.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-06 06:06 UTC by roman
Modified: 2016-04-06 07:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roman 2016-04-06 06:06:52 UTC
I want use chrome or chromium application ass dekstop application. I wrote custom .desktop file to start web application.
Example .desktop:
---------------
#!/usr/bin/env xdg-open
[Desktop Entry]
Categories=Internet
Version=1.0
Terminal=false
Type=Application
Name=Gmail
Exec=/opt/google/chrome/google-chrome --profile-directory=Default --app-id=pjkljhegncpnkpknbcohdijeoejaedia
Icon=chrome-pjkljhegncpnkpknbcohdijeoejaedia-Default
StartupWMClass=crx_pjkljhegncpnkpknbcohdijeoejaedia
-------------------
or another:
-------------------
[Desktop Entry]
Categories=Internet
Comment[ru_RU]=WhatsApp Client
Comment=WhatsApp Client
Exec=whatsapp --icon=/usr/share/icons/elementary-plus/apps/128/chrome-https___web.whatsapp.com_.svg
GenericName[ru_RU]=WhatsApp Client
GenericName=WhatsApp Client
Icon=/usr/share/icons/elementary-plus/apps/128/chrome-https___web.whatsapp.com_.svg
MimeType=
Name[ru_RU]=WhatsApp
Name=WhatsApp
NoDisplay=false
Path[$e]=
StartupNotify=false
StartupWMClass=WhatsApp
Terminal=0
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
X-KDE-StartupNotify=false
---------------------

But when I start application I see in taskbar chromium icon, not webapp icon(

Reproducible: Always

Steps to Reproduce:
1. Creat custom app launcher with chromium 
2. Start this application
3. See taskbar

Actual Results:  
In taskbar appliaction icon is taken from Exec= variable

Expected Results:  
Application icon is taken from Icon= variable
Example: http://i.stack.imgur.com/yqsH6.png
Comment 1 Kai Uwe Broulik 2016-04-06 07:29:02 UTC

*** This bug has been marked as a duplicate of bug 356609 ***