Theme untuk “Eclipse ku”

Eclipse di Ubuntu, Ubuntu 10.04 tepatnya, memiliki panel dan toolbar yang gemuk-gemuk. Setelah keliling-keliling akhirnya ketemu juga cara merampingkannya.

1. Buat file ini ~/.eclipse/gtkrc-2.0, isinya
style "gtkcompact" {
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
}

style "gtkcompactextra" {
xthickness=0
ythickness=0
}

class "GtkWidget" style "gtkcompact"
class "GtkToolbar" style "gtkcompactextra"
class "GtkPaned" style "gtkcompactextra"

2. Ubah fileĀ /usr/bin/eclipse, tambahkan sebelumĀ exec $ECLIPSE "$@"
if [ -e $HOME/.eclipse/gtkrc-2.0 ]; then
export GTK2_RC_FILES=$HOME/.eclipse/gtkrc-2.0
fi

Ref:

http://farjumper.livejournal.com/3855.html

http://www.mojavelinux.com/wiki/doku.php?id=tips:eclipse

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.