Tag Archives: earth

Fix Google Earth 5.0 user interface font on Linux

I installed Google Earth 5.0 and the ugly UI font from the beta is still here.
Based on the comments from Google Earth Help page from here I’ve created the following script wich will fix the user interface font issue.

sudo aptitude -y install libqt4-webkit
ge=`which googleearth`
if [ -n "$ge" ]; then
    ## get the path and check if it is a symlink
    if [ -h "$ge" ]; then
        real_path=`readlink -e $ge`
        dir_path=`dirname $real_path`
        real_path=`dirname $ge`
    ## backup original Qt4 libraries
    for i in `ls $dir_path | grep libQt`; do
		sudo mv -v $dir_path/$i $dir_path/$i"_backup"
	## backup original Qt4 plugins
    for j in `ls $dir_path/plugins/imageformats | grep libq`; do
		sudo mv -v $dir_path/plugins/imageformats/$j $dir_path/plugins/imageformats/$j"_backup"
	## create a new qt.conf file
cat > $HOME/qt.conf << "EOF"
	sudo mv -v $dir_path/qt.conf $dir_path/qt.conf_backup
	sudo mv -v $HOME/qt.conf $dir_path
elif [ -z "$ge" ]; then
		echo -e "You don't have Google Earth installed!\n"
exit 0

Installing Google Earth in Ubuntu (7.10 Gutsy)

If you like Google Earth then you will like it in Ubuntu. Installation is simple, here we go:
1. Open a terminal
Insert this code:
wget http://dl.google.com/earth/client/current/GoogleEarthLinux.bin
2. When the file has finished downloading, insert this code in your terminal to install:
sudo sh GoogleEarthLinux.bin
3. The Google Earth Setup window opens, if the default installation paths are fine to you, click ‘Begin Install’
4. The program installs itself and when it has completed click ‘Start’.

Advanced mode (using Medibuntu repository):
1. Add Medibuntu to your sources.list, as well as its GPG key to your keyring. Make sure to use the correct sources.list that corresponds to your current distribution:
Ubuntu 6.06 “Dapper Drake”:
sudo wget http://www.medibuntu.org/sources.list.d/dapper.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 6.10 “Edgy Eft”:
sudo wget http://www.medibuntu.org/sources.list.d/edgy.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 7.04 “Feisty Fawn”:
sudo wget http://www.medibuntu.org/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list
Ubuntu 7.10 “Gutsy Gibbon”:
sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
Then, add the GPG Key:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
2. Insert this code in your terminal to install:
sudo apt-get install googleearth
3. Enjoy!

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.