GoogleEarth

Revision 10 as of 2006-01-28 01:29:19

Clear message

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"]

Installing Google Earth

  • 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 :

and install it :

  • WINEDLLOVERRIDES="ole32=n" wine DCOM98.EXE
    • 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

    wine GoogleEarth.exe

    WINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine GoogleEarth.exe

    • Finally you have to launch Google Earth with some WINEDLLOVERRIDES
    WINEDLLOVERRIDES="ole32,usp10,msvcrt=n" wine PATH_TO_GOOGLEEARTH/GoogleEarth.exe
    • You may also wish to make an alias for the above command, something like

    echo "alias gEarth='WINEDLLOVERRIDES=\"ole32,usp10,msvcrt=n\" wine PATH_TO_GOOGLEEARTH/GoogleEarth.exe'" >> ~/.bashrc

make sure you change the PATH_TO_GOOGLEEARTH, and launch with gEarth

  • Enjoy !!!

Creating a launcher

Write a simple bash script somewhere in your $PATH, i.e.

sudo vi /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

  • WineHQ website
  • WineHQ Application Database

Retrieved from "http://gentoo-wiki.com/HOWTO_Install_GoogleEarth_with_wine"

CategoryDocumentation CategoryCleanup