Eclipse Juno looks terrible in Linux Mint 13 with the MATE desktop environment. Here’s an example of part of the screen:
Everything is big and bulky, the tool bar’s style doesn’t really match the theme’s style.
Here are the steps I’ve taken so far to correct this:
- Create a file called gtkrc, I’ve created one in my ~/eclipse directory:1234567891011121314151617181920212223242526272829303132333435363738394041gtk-color-scheme = "selected_text_color:#000000"style "compact"{GtkButton::default_border={0,0,0,0}GtkButton::default_outside_border={0,0,0,0}GtkButtonBox::child_min_width=0GtkButtonBox::child_min_heigth=0GtkButtonBox::child_internal_pad_x=0GtkButtonBox::child_internal_pad_y=0GtkMenu::vertical-padding=1GtkMenuBar::internal_padding=1GtkMenuItem::horizontal_padding=4GtkToolbar::internal-padding=1GtkToolbar::space-size=1GtkOptionMenu::indicator_size=0GtkOptionMenu::indicator_spacing=0GtkPaned::handle_size=4GtkRange::trough_border=0GtkRange::stepper_spacing=0GtkScale::value_spacing=0GtkScrolledWindow::scrollbar_spacing=0GtkExpander::expander_size=10GtkExpander::expander_spacing=0GtkTreeView::vertical-separator=0GtkTreeView::horizontal-separator=0GtkTreeView::expander-size=12GtkTreeView::fixed-height-mode=TRUEGtkWidget::focus_padding=0font_name="Liberation Sans,Sans Regular 8"text[SELECTED] = @selected_text_color}class "GtkWidget" style "compact"style "compact2"{xthickness=1ythickness=1}class "GtkButton" style "compact2"class "GtkToolbar" style "compact2"class "GtkPaned" style "compact2"
- Next, in Eclipse, go to Window -> Preferences -> General -> Appearance, and under Theme, make sure GTK is selected.
- Run eclipse like this:1GTK2_RC_FILES=$GTK2_RC_FILES:~/eclipse/gtkrc ~/eclipse/eclipse
This ought to improve it a bit:
More to come as I figure out how to further improve this.
References:
http://xmemory.tompium.com/2012/01/make-eclipse-look-better-on-ubuntu.html