How do I put web applications in my Unity Launcher?

Ken's answer complicates the subject a bit, I think. Unity has a switch, -b, I think, that allows that. like unity -b http://mail.google.com

I'm not sure if it's really -b, so you better check with unity --help.


Only way I know right now is with gconf. Here is an example, replace the name and path of the desktop file with your's. In my case it is /home/ken/.local/share/applications/chrome-http___mail.google.com_a_vandine.org.desktop

gconftool --type string --set /desktop/unity/launcher/favorites/app-chrome-http___mail.google.com_a_vandine.org.desktop/desktop_file /home/ken/.local/share/applications/chrome-http___mail.google.com_a_vandine.org.desktop 


gconftool --type list --list-type=string --set /desktop/unity/launcher/favorites/favorites_list $(gconftool --get /desktop/unity/launcher/favorites/favorites_list| sed "s/]//g"),app-chrome-http___mail.google.com_a_vandine.org.desktop]

If you use the latest build of Chromium (>11.0.696.57) this now works with Unity. Create the app shorcut from within Chromium then drag it on to the Unity bar. Not sure how long it will be before this makes it in to Chrome.