Monthly Archives: September 2009

Remove all settings for Evolution

Here is a small script to remove all your Evolution settings:

#!/bin/bash
evolution --force-shutdown
rm -rf $HOME/.evolution
rm -rf $HOME/.gconf/apps/evolution
rm -rf $HOME/.gnome2_private/Evolution
kill -9 `pidof gconfd-2`

Next time you open Evolution, you will be prompted to add a new account.

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.

#!/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

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.

Close