Comment 47 for bug 692462

Revision history for this message
Jeremy (jeremyfrankly) wrote : Re: unity confused with chromium web apps

What's worse:

[Desktop Entry]
Version=4.0
Type=Application
Terminal=false
Icon[en_US]=/usr/share/icons/theme/128x128/apps/gmail.png
Name[en_US]=Gmail
Exec=/usr/bin/chromium-browser --user-data-dir=/home/REDACTED/.webapps/gmail/ --app=http://www.gmail.com
Name=Gmail
Icon=/usr/share/icons/theme/128x128/apps/gmail.png
StartupWMClass=mail.google.com,Chromium-browser

works like a charm when I double click it, but any attempt to run the same command (or try that long trick involving `grep '^Exec' $1 | sed 's/^Exec=//' | sed 's/%.//'` & to run a .desktop from the command line) will have it come up as another browser window