Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 9 down vote accepted

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.

share|improve this answer
    
The -b is correct. Thank you! –  Jorge Castro Sep 18 '10 at 13:12
    
Note: This doesn't use app mode, but considering the other solution this is a "good enough" work around. –  Jorge Castro Sep 18 '10 at 13:25
    
It appears the -b flag is missing in 11.04 –  rymo May 2 '11 at 19:12

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]
share|improve this answer
    
Thanks! Now off to file a bug about how convoluted that is and the window matching being weird. –  Jorge Castro Sep 18 '10 at 2:59

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.

share|improve this answer
    
Are you on 11.04? If so can you update this? askubuntu.com/questions/31427/… –  Jorge Castro May 3 '11 at 16:08
    
Yes I'm on 11.04. I have posted. –  asi269 May 7 '11 at 16:02
    
this is now broken again with Chrome 14. –  Adam Oct 18 '11 at 16:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.