The real "fix" is to NOT use sudo with GUI/KDE/Gnome aplications, use kdesudo/gksudo, this will set up the correct environment for GUI applications.
The real "fix" is to NOT use sudo with GUI/KDE/Gnome aplications, use kdesudo/gksudo, this will set up the correct environment for GUI applications.