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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
#!/bin/bash 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` else real_path=`dirname $ge` fi ## backup original Qt4 libraries for i in `ls $dir_path | grep libQt`; do sudo mv -v $dir_path/$i $dir_path/$i"_backup" done ## 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" done ## create a new qt.conf file cat > $HOME/qt.conf << "EOF" [Paths] Documentation=/usr/share/doc Libraries=/usr/lib Plugins=/usr/lib/qt4/plugins Translations=/usr/lib/qt4/translations 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 fi exit 0 |
Thank you for the Script!
Worked like a charm….
do you just copy and paste the above in a terminal
do use this at all #!/bin/bash sorry new to this
Bill
#!/bin/bash at the beginning tells the system which program to use to run the file.
You can skip this and enter each command at a time to your console.