Sometimes I see pictures of screenshots with people with web applications and nice icons on their launcher, how can I set this up?

link|improve this question

feedback

5 Answers

up vote 32 down vote accepted

There's no real simple way to do this, but it's straightforward to do. The first step is to make a web shortcut of the web application you want to use.

Since these can be time consuming if you use a bunch of webapps I created a "Web Applications" folder that I keep these in because I need a place to hold the icon as well. I sync this folder with Ubuntu One so that on reinstalls or new computers I have my applications all ready to go with the high resolution icons.

In chromium-browser Install chromium-browser or Google Chrome you can do this by going to the website you want to make into an application. Clicking on the Wrench icon and select, tools -> Create Application Shortcuts:

enter image description here

Then select Desktop to create a shortcut on your desktop:

enter image description here

You can also select "Applications Menu" in the create application shortcut, this will put it in the Dash for you, which is handy so you can use the search feature to launch the shortcut, however most web site's favicons don't scale very well so they look ugly. So instead I do this to pretty up the application:

Then move it to this "Web Applications" folder or wherever you want to keep it:

enter image description here

Download a snazzy version of the icon that is good looking. I recommend the Fluid group on Flickr. Download the icon to the folder, and then right click on the shortcut and select properties:

enter image description here

Drag and drop the nicer icon onto the shortcut's icon box, replacing the low resolution icon with the new one:

enter image description here

Drag and drop the new slick icon right onto the Launcher for the final effect:

Drop it on your launcher

And the final effect:

Gmail and Seesmic in all their glory

Caveats and Issues:

link|improve this answer
feedback

I also added the switch --start-maximized so the window will open in maximized mode.

link|improve this answer
feedback

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. This works on 11.04

link|improve this answer
this appears to be broken in Chrome version 14 and above. Web applications are now all grouped under Chrome again, rather than the individual icons. – Adam Oct 19 '11 at 10:22
feedback

If this does't work, do the following.

  1. Make a new profile directory:

mkdir ~/.config/NAME_OF_APP

  1. Right-click on the shortcut to your app on your desktop

  2. Add

--user-data-dir=--user-data-dir=~/.config/NAME_OF_APP

to the command and close

link|improve this answer
feedback

I think it is good practice to make a different chromium profile for every app. Your apps will run faster because the extensions installed in the default profile are not run. Also, you can install extensions specific for your app that won't run in your default chromium instances.

If you want to run your apps with a different profile, do this:

  1. Make a new profile directory:

    mkdir ~/.config/NAME_OF_APP
    
  2. Right-click on the shortcut to your app on your desktop

  3. Add

    --user-data-dir=--user-data-dir=~/.config/NAME_OF_APP
    

    to the command and close

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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