I confirm that Cip Man's solution works for Ubuntu 19.04 in pt-br.
The following command solved the problem:

LC_NUMERIC=en_EN google-earth-pro

Since updates in Google Earth may change its wrapper script (what would
make the bug reappear), instead of patching the script, I changed the
related .desktop file by:

1. Copying the root version of google-earth-pro.desktop to a local
place:

cp /usr/share/applications/google-earth-pro.desktop
~/.local/share/applications/google-earth-pro.desktop

2. Making the new google-earth-pro.desktop executable:

chmod +x ~/.local/share/applications/google-earth-pro.desktop

3. Opening it in a text editor:

xdg-open ~/.local/share/applications/google-earth-pro.desktop

3.1. Changing the line
Exec=/opt/google/earth/pro/google-earth-pro %f

To
Exec=env LC_NUMERIC=en_EN /opt/google/earth/pro/google-earth-pro %f

3.2 Removing the following line, which seems to be ill-formed:
MultipleArgs=false

4. Registering the new .desktop file:

desktop-file-install --dir=~/.local/share/applications/ --rebuild-mime-
info-cache ~/.local/share/applications/google-earth-pro.desktop

update-desktop-database ~/.local/share/applications/

Now, GNOME Shell should open an instance of Google Earth where this
issue is solved.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1160289

Title:
  Google earth search does not zoom onto a location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/googleearth-package/+bug/1160289/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to