9

Early screenshots of Unity showed web applications on the launcher that would get launched in the browser.

alt text

I heavily use Chrome's "appmode", which makes .desktop files of web applications and runs them as a seperate application. I would like to put these applications on my launcher so that when I click on it it launches gmail in a separate window, like a separate application from my browser.

Am I missing something? Launching the application from the .desktop file from the file manager just opens it my existing browser.

Jorge Castro
  • 71,754

3 Answers3

9

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.

8

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]
Jorge Castro
  • 71,754
Ken VanDine
  • 1,195
1

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.

asi269
  • 73