Utilize shell scripts,linux commands, open source tools,java, to Maximize the Power of Linux.
Focused on working with linux and shell, search engine technology including Chinese segmenter
Any questions please contact me at gmail: david.ullua


Eclipse and gaim font settings under KDE

When I opened gaim under KDE, the menus and dialogs are very ugly. And I have use eclipse day by day under KDE about 2 months. The dialog and menu, and editor fonts are fairly ugly for both English and Chinese. So I decide to change these fonts.

In eclipse Windows -> Preferences, -> General -> Appearance -> Color and Fonts, type "font" as filter , all fonts settings would be shown, dialog font, text editor font, java editor font, console fonts, etc. I change all fonts to WenQuanYi BitMap Song which support Chinese perfectly.

However in eclipse settings it's own menu font cannot be changed. after googled "elipse menu font" and "eclipse 菜单字体", found the solution:
download and install gtk-qt-engine here .

Then under the KDE Control-Center -> Appearence && Themes (外观和主题) , a submenu called "GTK Styles and Fonts" would be available, you can change the gtk Fonts here.

Now gaim also look fine.

The eclipse and gaim font problem's root cause is that :
1.Eclipse use SWT to show its UI; SWT is implemented by windows/gtk/motif
2.Running Eclipse on linux/gtk, need gtk libraries.
3.KDE is based on QT not GTK, so it need gtk-qt-engine to config GTK Style and Fonts. gtk-qt-engine is used to do it.

1 comment:

euler said...

we can use several translator online:

in which altavista and Yahoo is better than others :

About Me

I am a senior developer and a team leader with 3 years development experience in Suzhou, China, focus on mobile web search, linux, Java and machine learning in NLP (natural language processing). My goal is to improve people's life with computer technology.