Of course, I had tried to adjust the font size using the Eclipse Preferences, and actually managed to reduce the size of the editors and view titles (also for dialogs), but not other fonts, such as menu fonts, and, more importantly, the size of tables and trees (e.g., the Java Package Explorer). That's actually due to the fact that under Linux Eclipse relies on Gtk, and thus inherits the preferences of the Gnome Desktop but I'm using KDE :-)
Fortunately, it's quite easy to adjust Gnome font settings even from KDE, by running gnome-control-center from the command line and then set the font size from there. Now, my eclipse shows much more information due to the reduced font size.
And by the way, this reduced the fonts also for other Gtk based applications I'm using, e.g., Thunderbird and Firefox!

Very nice betto ! You're the first one, who gave me a solution for that problem and the reason, that i can now use eclipse under Linux ! Greetings from (a Croat in) Germany.
ReplyDeleteHi there! Glad you liked the solution :-)
ReplyDeleteHowever, this seems to be a temporary one, since each time you restart KDE you should also call the GNOME configurator :-(
This other solution seems better: http://tronprog.blogspot.com/2007/08/eclipse-fonts-in-linux-part-2.html
In Ubuntu you can use the System menu / Preferences / Appearance / Fonts tab to set application and window title fonts size.
ReplyDeleteI have been looking to solve this Eclipse package explorer issue for a long time. Very much appreciated. Thanks
thanks a lot I was being driven crazy on this...
ReplyDeletethank you very much!
ReplyDeleteAnother solution:
ReplyDeletehttp://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/