GoogleEarth

Differences between revisions 12 and 21 (spanning 9 versions)
Revision 12 as of 2006-03-18 09:37:31
Size: 3671
Editor: 82
Comment: Vi scares the hell outta some people!
Revision 21 as of 2006-06-15 23:11:44
Size: 1504
Editor: cpe-069-134-168-042
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Google Earth allows you to view the Earth in 3D. Sadly it is Windows only but runs in Wine.

== Installing Wine ==

To install and configure Wine, see ["Wine"]
Google Earth allows you to view the Earth in 3D.
Line 9: Line 5:
    * Install the Microsoft DCOM98 (Distributed Component Object Model (DCOM) for Windows 98). To achieve that, you have to ''set the default windows version to Windows98 through the winecfg utility''. You can then download DCOM98 here like that : 1. Download the linux version of Google Earth from http://earth.google.com/download-earth.html to your desktop.
Line 11: Line 7:
 wget http://download.microsoft.com/download/d/1/3/d13cd456-f0cf-4fb2-a17f-20afc79f8a51/DCOM98.EXE 2. Make the file executable ''chmod +x ~/Desktop/GoogleEarthLinux.bin''
Line 13: Line 9:
and install it : 3. Press Alt + F2 to open the run dialog box.
Line 15: Line 11:
 WINEDLLOVERRIDES="ole32=n" wine DCOM98.EXE 4. Paste the following text into the run dialog: ''gksudo ~/Desktop/GoogleEarthLinux.bin''
Line 17: Line 13:
    * The next step is the installation of Google Earth. You first have to download it from the Google's servers http://earth.google.com/ and then launch the wine installation. To be able to do this, you have to ''set the default windows version to WindowsXP through the same winecfg utility''. You can then launch the installation 5. Continue through the installation choosing the default options each time. ''(When the installation is finished, do '''NOT''' choose to run Google Earth. If you do, you will not be able to run it as a normal user in the future)''
Line 19: Line 15:
 wine GoogleEarth.exe 6. Run the program with ''googleearth''
Line 21: Line 17:
    * With wine 0.9.4 and Google Earth beta (as of 2005/12/28) I had to copy [http://www.dll-files.com/dllindex/dll-files.shtml?psapi psapi.dll] to windows/system32 and launch GoogleEarth.exe as: == Troubleshooting ==
Line 23: Line 19:
 WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine GoogleEarth.exe ''Note: Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to that.''
Line 25: Line 21:
    * Finally you have to launch Google Earth with some WINEDLLOVERRIDES === symlink: Permission denied Error ===
Line 27: Line 23:
 WINEDLLOVERRIDES="ole32,usp10,msvcrt=n" wine PATH_TO_GOOGLEEARTH/GoogleEarth.exe Receiving this error means that you ignored the warning in step 5 of the install instructions. To fix it, do the following:
Line 29: Line 25:
    * You may also wish to make an alias for the above command, something like {{{
sudo chown -R username ~/.googleearth
sudo chown username ~/.local/share/applications/googleearth.desktop
}}}
Line 31: Line 30:
 echo "alias gEarth='WINEDLLOVERRIDES=\"ole32,usp10,msvcrt=n\" wine PATH_TO_GOOGLEEARTH/GoogleEarth.exe'" >> ~/.bashrc Be sure to replace ''username'' with your user name.
Line 33: Line 32:
make sure you change the PATH_TO_GOOGLEEARTH, and launch with gEarth === Google Earth Does not work with Compiz ===
Line 35: Line 34:
    * Enjoy !!!
=== Creating a launcher ===
Write a simple bash script somewhere in your $PATH, i.e.
{{{
sudo vi /usr/local/bin/gEarth
}}}
OR (for novice users/ non vi users)
{{{
sudo gedit /usr/local/bin/gEarth
}}}
Paste in following:
{{{
#/bin/bash
WINEDLLOVERRIDES=\"ole32,usp10,msvcrt=n\"
wine $HOME/.wine/drive_c/Program\ Files/Google/Google\ Earth/GoogleEarth.exe
}}}
And make it executable:
{{{
sudo chmod +x /usr/local/bin/gEarth
}}}
Now you should be able to start Google Earth from command line (if you have not already created an alias as described above).
To create a launcher, rightclick somewhere in unused space of any of your panels, then select "Add to Panel" and then "Custom Application Launcher." Fill in Name and Comment with something at your will if you wish and Command with gEarth. For icon, you can use this one: "http://www.ubuntuforums.org/attachment.php?attachmentid=5638&stc=1&d=1138410584", a nice idea to place it would be /usr/share/icons/crystalsvg/16x16/apps/


=== Problems / Issues ===

    * If Google Earth complains about the initialisation of msvcrt, download it from http://dll-files.com and copy it to the Google Earth directory (basicly ~/.wine/Program Files/Google/GoogleEarth)
    * If you have troubles with the Google Earth menus, you can hide them by hitting Ctrl+1 (remove bottom panel) and Ctrl+2 (remove left panel)
    * If you have troubles with fonts, I have no workaroud (if you have one, please post it) (Microsoft core fonts for the Web could be downloaded here : http://corefonts.sourceforge.net/ ) (City fonts seems to be displayed in wine-0.9.2)
    * If it complains about psapi.dll, download it and put it in .wine/drive_c/windows/system

External links

    * [http://www.winehq.com/ WineHQ website]
    * [http://appdb.winehq.org/ WineHQ Application Database]

Retrieved from "http://gentoo-wiki.com/HOWTO_Install_GoogleEarth_with_wine"
As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636

Google Earth allows you to view the Earth in 3D.

Installing Google Earth

1. Download the linux version of Google Earth from http://earth.google.com/download-earth.html to your desktop.

2. Make the file executable chmod +x ~/Desktop/GoogleEarthLinux.bin

3. Press Alt + F2 to open the run dialog box.

4. Paste the following text into the run dialog: gksudo ~/Desktop/GoogleEarthLinux.bin

5. Continue through the installation choosing the default options each time. (When the installation is finished, do NOT choose to run Google Earth. If you do, you will not be able to run it as a normal user in the future)

6. Run the program with googleearth

Troubleshooting

Note: Google Earth for Linux is still in beta. As such, many problems that you may encounter can be attributed to that.

symlink: Permission denied Error

Receiving this error means that you ignored the warning in step 5 of the install instructions. To fix it, do the following:

sudo chown -R username ~/.googleearth
sudo chown username  ~/.local/share/applications/googleearth.desktop

Be sure to replace username with your user name.

Google Earth Does not work with Compiz

As with all OpenGL apps, Google Earth has issues running with Compiz. To resolve this issue, either run Google Earth in a normal GNOME session, or see this thread: http://www.ubuntuforums.org/showthread.php?t=176636

CategoryDocumentation CategoryCleanup

GoogleEarth (last edited 2008-08-06 16:35:53 by localhost)