5

I recently installed Ubuntu 20.04 and now, while Location Services are enabled in the Settings, I do not see the location icon in my top bar, and services requiring my location cannot retrieve it.

See it is enabled in Settings:

pic1

But my top bar does not have the location icon that used to show there:

pic2

And services like Google Maps do not seem to be able to retrieve my location. See below in Firefox, even though I allowed it...

pic3

pic4

Any clue? I use Google maps on my laptop quite frequently, so it is quite important to me...

DaniCee
  • 459
  • 2
  • 8
  • 20

1 Answers1

1

Tha Arch Linux wiki helped me out with this issue. Can you try this?

https://wiki.archlinux.org/index.php/Firefox#Geolocation_does_not_work

TL;DR:

  1. Go to about:config
  2. Search for geo.provider.network.url
  3. Replace with https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%
Ricardo Rodrigues
  • 816
  • 1
  • 9
  • 22
  • 2
    This seems to work! the location isn't super accurate (just across the road so within 50m I guess), but at least I get something now! Thanks – DaniCee Jul 26 '20 at 06:06
  • is it supposed to be the literal %MOZILLA_API_KEY% or an actual key? are there any further steps required to apply this change? – Line Aug 15 '23 at 16:06