Make Google Earth Native in Linux

Earlier today we posted a short guide on fixing Google Earth’s infamous ‘ugly fonts’ issue when running under Ubuntu.

In the comments to that post a reader, Daniele80, pointed us in the direction of a hack that enables Google Earth to look ‘native’ under Ubuntu.

Be warned: the following guide isn’t for the fainthearted or the inexperienced. If things go wrong just reinstall Google Earth using the .Deb installer from Google’s website and start again.

With caution out of the window way, let’s begin…

Open A Root Window

First we need to open up Nautilus as root so that we can edit and delete system files. Hit Alt+F2 (or open a Terminal) and enter the following command:

  • gksu nautilus /opt/google/earth/free

Remove Files

To get Google Earth to look less like a recycled Windows 95 app we need to get it to use libraries on our system rather than those bundled with it.

To do this we you need to delete the following files ONLY:

  • libcurl.so.4
  • libGLU.so.1
  • libnss_mdns4_minimal.so.2
  • libQtCore.so.4
  • libQtGui.so.4
  • libQtNetwork.so.4
  • libQtWebKit.so.4

Edit The Launcher

Next, right click on the file called ‘googleearth‘ and choose ‘Edit/Open in Gedit’.

Add the line:

  • export LD_PRELOAD=libfreeimage.so.3

before the final line in the file and hit ‘Save’.

Gedit

Add Required File

Lastly download the following ‘missing’ file and place it in the /opt/google/earth/free folder.

LINK BROKEN

64bit users will also need to download and place the file below in the /opt/google/earth/free folder.

LINK BROKEN

Native Google Earth on Linux

All that’s left to do is open up Google Earth and marvel at the difference between its stock look and that you’ve enabled.

Troubleshooting

Nothing working afterwards? You probably need a few extra packages. Open a terminal and enter the following: –

  • sudo apt-get install libcurl4-openssl-dev libqtwebkit4

groups.google.com via Daniele80

fixes googleearth