This question is more related to Unity than Chromium itself. When I make an application shortcut, the .desktop file works but when I move it to another folder like /Documents/webapps, then lock it to the launcher; I'll click it from the launcher and it doesn't properly display the icon on the launcher. It will open under a different icon than the one I clicked; an icon that just appears. This doesn't happen if I keep the actual .desktop file on the desktop. I'm sort of a neat freak and don't like keeping things on my desktop. I'd like to access my Gmail and Google Drive from the launcher but that's kind of pointless if the only place I can keep the shortcut is on the desktop. Sorry if this question is a little wordy if this is a simple problem but I'm new to Ubuntu and I don't know if it really is a simple problem.
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Terminal=false Type=Application Name=Gmail Exec=/usr/bin/chromium-browser --app=https://mail.google.com/mail/u/0 Icon=/home/jake/.gnome/apps/gmail-logo.png StartupWMClass=mail.google.com__mail_u_0 Name[en_US]=Gmail