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.

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

share|improve this question
    
You can also add the switch --start-maximized so the window will open in maximized mode. –  batte Apr 29 '11 at 20:21

5 Answers 5

Currently there are two preferred ways to do this. In Ubuntu 12.04 you can use the the preview of the official Ubuntu Webapps by installing it from a PPA (comes by default with 12.10)

sudo add-apt-repository ppa:webapps/preview
sudo apt-get update && sudo apt-get install unity-webapps-preview

This only works for supported websites (currently about 40). When you visit the site with Firefox you will be asked if you want to integrate it into Ubuntu.

The other way is to use Fogger, the silver-prize winner of the Ubuntu App Showdown. Just install the foggerInstall fogger package from software-center.

Both options are better than the regular site-specific-browsing (ssb) features of Firefox Prism and Chrome, because they allow full integration with Ubuntu. This includes the launcher-menu, the HUD, indicators and notifications.

share|improve this answer
    
fogger doesn't seem to be around any more, is there a replacement? –  Josef Ottosson Sep 5 at 7:57
up vote 55 down vote accepted

Ubuntu has this feature built in, see:

You can also use the more traditional webapp integration approach:

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

share|improve this answer
1  
Adding an applet as you described works like a charm. However, upon opening it by clicking on the sidebar symbol, another (again ugly looking) symbol appears. Is this a bug or am I missing something here? –  FuzzyQ Aug 11 '12 at 12:59
    
I get the same behaviour. –  sup Sep 23 '13 at 10:40

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=~/.config/NAME_OF_APP
    

to the command and close.


If this doesn't work, do the following:

  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.

share|improve this answer
    
This is not necessary any more. Chrome opens each app in it's own window (and Chromium, too). –  Syzygy Aug 12 '12 at 4:33

You create a launcher icon (meaning a .desktop file) that says Exec=firefox www.askubuntu.com and drag it to the launcher. So first create an empty file and paste the following content:

[Desktop Entry]
Name=Ask Ubuntu
Comment=Open Ask Ubuntu in firefox
Exec=firefox www.askubuntu.com
Icon=network
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;
OnlyShowIn=GNOME;Unity;
X-GNOME-Keywords=Network;AskUbuntu;
Name[en_US]=AskUbuntu

Then rename the epmty file to somename.desktop in this case "askubuntu.desktop" would be an appropriate name. Now use the mouse to grag it to your launcher and you're good.

This is not necessary but before dragging it to the launcher, you can right-click on it, go to Properties->Permissions->Allow executing file as program so as the icon of the launcher to became visible!

If you delete the *.desktop file the icon will disappear form you launcher. The usual place to store these files is ~/.local/share/applications/.

share|improve this answer
1  
Please improve your answer by telling how to create a launcher or link to corresponding asnwer explain how to do so. –  hakermania Aug 5 '12 at 16:33

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

share|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

protected by Community Jun 25 '12 at 19:35

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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