It has been a long time I haven't used Ubuntu since it has some issues about my laptop driver. Yesterday I decided to format and install Ubuntu 13.04. It seems everything work well with a little bit effort to fix some driver problems.
Therefore I am as Java developer I cannot avoid to use eclipse as my default IDE (personal preference) but after I installed Eclipse Kepler (4.3). There is an ugly theme with weird gradient, let say it looks worse than in Windows, so I search for the solution, eventually I got one solution that
we need to change the theme in eclipse back to "Classic" theme (Window->Preferences->General->Appearance) in my opinion it looks better than in . Another problem is eclipse layout is not compact as in Windows nor as same as former version (3.x).
The solution to fix this is
create a file .gtkrc-2.0 in your home directory with the following content.
style "gtkcompact" {
GtkButton::default_border={0,0,0,0}
GtkButton::default_outside_border={0,0,0,0}
GtkButtonBox::child_min_width=0
GtkButtonBox::child_min_heigth=0
GtkButtonBox::child_internal_pad_x=0
GtkButtonBox::child_internal_pad_y=0
GtkMenu::vertical-padding=1
GtkMenuBar::internal_padding=0
GtkMenuItem::horizontal_padding=4
GtkToolbar::internal-padding=0
GtkToolbar::space-size=0
GtkOptionMenu::indicator_size=0
GtkOptionMenu::indicator_spacing=0
GtkPaned::handle_size=4
GtkRange::trough_border=0
GtkRange::stepper_spacing=0
GtkScale::value_spacing=0
GtkScrolledWindow::scrollbar_spacing=0
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focus_padding=0
}
class "GtkWidget" style "gtkcompact"
|
Before tweak eclipse |
|
After tweak it! |
ความคิดเห็น
แสดงความคิดเห็น