linux下的eclipse修改project explorer字体

来源:互联网 发布:2017网络舆情 编辑:程序博客网 时间:2024/05/17 23:55

普通的字体修改:

Preferences -> General -> Appearance -> Colors and Fonts

但是Project Explorer的修改就没这么简单了,以下是好容易找到的一个方法:

编辑~/.gtkrc-2.0,写入如下内容:

style "eclipse" {
font_name = "Arial 8"
    bg[NORMAL] = "#D6D3CE"
    bg[ACTIVE] = "#C7C2BC"
    bg[INSENSITIVE] = "#828282"
    bg[PRELIGHT] = "#3A6EA5"
    fg[NORMAL] = "#000000"
    fg[ACTIVE] = "#000000"
    fg[INSENSITIVE] = "#D4D0C8"
    fg[PRELIGHT] = "#FFFFFF"
}
class "GtkWidget" style "eclipse"

0 0