當我在Arch Linux x64上安裝Eclipse Mars時,我很震驚與Luna和以前版本相比,用戶界面是如何變化的。在eclipse mars上獲得經典的用戶界面
如果你想知道什麼我談論看到自己:
火星:
露娜(和以前):
有誰知道如何在Eclipse Mars上重新獲得經典的用戶界面?
在此先感謝!
當我在Arch Linux x64上安裝Eclipse Mars時,我很震驚與Luna和以前版本相比,用戶界面是如何變化的。在eclipse mars上獲得經典的用戶界面
如果你想知道什麼我談論看到自己:
火星:
露娜(和以前):
有誰知道如何在Eclipse Mars上重新獲得經典的用戶界面?
在此先感謝!
這似乎是目前尚未解決的Eclipse錯誤453128。
我一直在使用以下解決方法來獲得可用的接口。您需要在eclipse文件夾中創建兩個文件:gtkrc-2.0和eclipse.sh。第一個包含GTK的設置,第二個包含這些設置的eclipse。下面
內容:
的gtkrc-2.0
style "gtkcompact" {
font_name="Sans 9"
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
GtkExpander::expander_size=10
GtkExpander::expander_spacing=0
GtkTreeView::vertical-separator=0
GtkTreeView::horizontal-separator=0
GtkTreeView::expander-size=8
GtkTreeView::fixed-height-mode=TRUE
GtkWidget::focus_padding=0
}
style "gtkcompactextra" {
xthickness=0
ythickness=0
}
class "GtkWidget" style "gtkcompact"
#class "GtkButton" style "gtkcompactextra"
class "GtkToolbar" style "gtkcompactextra"
class "GtkPaned" style "gtkcompactextra"
eclipse.sh
#!/bin/sh
PWD="$(cd "$(dirname "$0")" && pwd)"
SWT_GTK3=0 GTK2_RC_FILES=${PWD}/gtkrc-2.0 ${PWD}/eclipse & 2>1
謝謝,看起來很有前途,下次我會用我的電腦試試這個。 – Tim
貌似[此](https://bugs.eclipse.org/ bugs/show_bug.cgi?id = 453128)bug –
謝謝,我也使用xfce。所以這將是這個錯誤。如果你把它寫成答案,我可以接受它。 – Tim