Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

this is very weird. I open google earth and search for "athens, greece" for example, and even though it will through a pin on top of the correct location, the google earth globe will turn and zoom in towards a location in the sahara desert!

Could this be related to the regional settings on the computer?

nass@stardust:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=el_GR.UTF-8
LC_TIME=el_GR.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=el_GR.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=el_GR.UTF-8
LC_NAME=el_GR.UTF-8
LC_ADDRESS=el_GR.UTF-8
LC_TELEPHONE=el_GR.UTF-8
LC_MEASUREMENT=el_GR.UTF-8
LC_IDENTIFICATION=el_GR.UTF-8
LC_ALL=

What else could it be?

share|improve this question
up vote 3 down vote accepted

I can verify that by changing the regional settings to en_US.UTF-8 the problem vanishes. The obvious difference is that greek uses 'comma' as a decimal separator and that mixes google earth somehow.

I am not sure if this is a bug on google-earth's code (since this error does not show up in,say, windows OS) or in ubuntu. But they should probably be notified.

share|improve this answer

This solution worked for me:

https://bugs.launchpad.net/ubuntu/+source/googleearth-package/+bug/1160289

These are the instructions I followed:

"I created a script and named it "earth.sh" (without the quotes).

  sudo gedit earth.sh

and placed the following lines inside it:

 #!/bin/bash
 LANG=en_US google-earth

Then I placed said script inside /opt/google/earth/free:

 sudo cp earth.sh /opt/google/earth/free

Then I opened /usr/share/applications/google-earth.desktop:

 sudo gedit /usr/share/applications/google-earth.desktop

and changed the "exec" command to "/opt/google/earth/free/earth.sh".

Now google earth opens and the search function works ok even if the language is not US english."

Definitively its an issue with the regional settings.

share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – The Brown One Feb 18 at 17:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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