Hallo.
Ich habe festgestellt das es eine neue google earth version gibt, google earth pro
Ich habe die Problemlösung von google.earth (-stable) auf google earth-pro (-stable)übertragen.
Leider ohne Erfolg
gksudo gedit /usr/bin/google-earth-pro
Ist schonmal definitiv die richtige abzuändernde Datei.
In einem Forum habe ich den Befehl gefunden:
env LC_NUMERIC=en_US.UTF8 google-earth
daran habe ich einfach das "pro" angefügt
env LC_NUMERIC=en_US.UTF8 google-earth-pro
Er startet google eart pro und das anfliegen der Orte wird möglich!!!
Danach habe ich:
gksudo gedit /usr/bin/google-earth-pro
geöffnet
Dies passt auch!!!
Beim übertragen der Lösung aus google earth (ohne pro) klappt es allerdings nicht
#!/bin/sh export LD_LIBRARY_PATH=/opt/google/earth-pro/free/:"${LD_LIBRARY_PATH}" export LC_ALL=de_DE.ISO-8859-15 cd /opt/google/earth-pro/free/ exec /opt/google/earth-pro/free/googleearth-bin "$@" Exec=env LC_NUMERIC=en_US.UTF8 google-earth # Always run Google Earth from this shell script and not # Google Earth directly! This script makes sure the app looks # in the right place for libraries that might also be installed # elsewhere on your system. # # Ryan C. Gordon, Thu Jul 20 14:32:33 PDT 2006 # Function to find the real directory a program resides in. FindPath() { fullpath="`echo $1 | grep /`" if [ "$fullpath" = "" ]; then oIFS="$IFS" IFS=: for path in $PATH do if [ -x "$path/$1" ]; then if [ "$path" = "" ]; then path="." fi fullpath="$path/$1" break fi done IFS="$oIFS" fi if [ "$fullpath" = "" ]; then fullpath="$1" fi # Is the sed/ls magic portable? if [ -L "$fullpath" ]; then #fullpath="`ls -l "$fullpath" | awk '{print $11}'`" fullpath=`ls -l "$fullpath" |sed -e 's/.* -> //' |sed -e 's/\*//'` fi dirname $fullpath } script_path=$(FindPath $0); cd $script_path; export LANG="de_DE.ISO-8859-15" export LC_MESSAGES="de_DE.ISO-8859-15" LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
Bearbeitet von XM-Franz:
Codeblöcke eingefügt.