xdg-open opens chrome but does not load the URL

"xdg-open http://www.google.ca" in a command line opens my default browser(google-chrome) but does not load the URL.

If I change my default browser to Firefox the URL loads just fine.

Any ideas?

I'm running 14.04.


It's because the .desktop file that Chrome installs in your home (in ~/.local/share/applications) is bad. Either add a %U to the end of the Exec= line, like so:

Exec=/opt/google/chrome/chrome %U

or remove it and let your system pick up the one Chrome itself ships in /usr/share.