Saturday, June 06, 2009

Making Google Earth look better on Kubuntu

Guess google went the windows way and preferred giving standard library files bundled with the software. A fall out of this was that fonts in the application went to pre-antialiased era and looked pretty horrid. On my distribution - Kubuntu 8.10 - I had already done everything necessary to make the QT and GTK applications look decent. But google supplying its own libs just nullified those efforts.

djgera in a post on this page helped me reached this conclusion, and also provided a solution.

"It a better idea removing some libs that are already in the Arch Linux
For example if you remove the libQt*, and use the QT from ArchLinux, fonts are better rendering using antialiased
Also is need to remove the libcrypto.so.0.9.8 because it fails.

Symlinks are not necessary, it works without symlinks, libs are located in the ld-linux paths.

In the package i removed these files (removing this creates some aditional depends, but i prefer to use the libs provided by Arch Linux packages)
opt/google-earth/libcrypto.so.0.9.8 (core/openssl)
opt/google-earth/libQt* (extra/qt)
opt/google-earth/libGLU.so.1 (extra/mesa)
opt/google-earth/libcurl.so.4 (extra/curl)
opt/google-earth/libgcc_s.so.1 (core/gcc-libs)
opt/google-earth/libstdc++.so.6 (core/gcc-libs)
opt/google-earth/libz.so.1 (core/zlib)
"

Because I already have these libs installed, the above solution worked for me too :)

No comments: