← Back to team overview

linux-traipu team mailing list archive

[Bug 1174414] Re: Geolocation not working in Chromium

 

Ah, thanks, so it is definitely in the works on the upgrade to 26. Just
a note to anyone else coming across this, the changelog is available
here: http://bazaar.launchpad.net/~cmiller/chromium-browser/ppa-state-
stable-lucid/revision/743 as "* Use Google API keys in Ubuntu, as
approved by Paweł Hajdan @ Google."

As I've needed geolocation working for development purposes right now, I
found a workaround by setting up my own Google API Key, as of this link:
http://www.chromium.org/developers/how-tos/api-keys

Run the following lines (with the keys you get from the above list) or put in and run "source x" from a file:
export GOOGLE_API_KEY=<API key>
export GOOGLE_DEFAULT_CLIENT_ID=<Client Id>
export GOOGLE_DEFAULT_CLIENT_SECRET=<Client secret>

Then shutdown chromium (Use the Menu->Exit command to completely shut it
down) and start it back up, and geolocation will still work.

This should suffice until the update to version 26

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/1174414

Title:
  Geolocation not working in Chromium

Status in Chromium Browser:
  Unknown
Status in “chromium-browser” package in Ubuntu:
  Fix Committed

Bug description:
  navigator.geolocation in Ubuntu's chromium-browser package is not
  working.

  Easiest way to see what's wrong is to go to http://html5demos.com/geo

  According to developers from chromium.org, it's a packaging issue.
  I've linked to the bug report and google group post below. But here's
  the post:

   #7 phajdan.jr@xxxxxxxxxxxx
   This is a packaging issue on Ubuntu side. The Ubuntu packagers should contact me (it's not obvious from their pages whom I should contact) about this.

  According to forum and issues post, this started happening sometime
  after February 20, 2013.


  Release info:
  $ lsb_release -rd
  Description:	Ubuntu 10.04.4 LTS
  Release:	10.04

  $ apt-cache policy chromium-browser
  chromium-browser:
    Installed: 25.0.1364.160-0ubuntu0.10.04.1

  Also seen on a co-worker's Ubuntu 13.04 install.

  
  What is expected: 
  When browsing to http://html5demos.com/geo and allowing the site to see your location, you should get a google map with your location started.
  This is working in Google Chrome 26.0.1410.64 on Windows 7 32-bit, and in Firefox 20.0 in Ubuntu 10.04 and on Firefox in Ubuntu 13.04.

  
  What is happening:
  Getting "failed" on page, with 

  
  Links:

  Test site: http://html5demos.com/geo
  Google Project Issue: https://code.google.com/p/chromium/issues/detail?id=179686
  Google Groups post: https://groups.google.com/a/chromium.org/d/msg/chromium-html5/UCPBx33MW_s/5JtyVMQhklcJ

  I'll attach screenshots later

To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/1174414/+subscriptions