Ubuntu 12.04 修改背景色--豆沙绿:
首先安装dconf-editor,安装方法sudo apt-get install dconf-tools 然后打开dconf-editor,然后找:org – gnome -desktop – interface,然后找到 gtk-color-scheme 这一项,默认是空的,需要你自己写进去。
写的格式是: 项目名称:颜色名称;项目名称:颜色名称;
项目名称要在这里找http://live.gnome.org/GnomeArt/Tutorials/GtkThemes/SymbolicColors 其中的Default colors in GNOME fg_color The base for the foreground colors. bg_color Color to generate the background colors from. base_color The base color. text_color The text color in input widgets. selected_bg_color Color for the background of selected text. selected_fg_color Color of selected text. tooltip_bg_color Background color of tooltips. tooltip_fg_color Text color for text in tooltips.
我这里设置是这样的 base_color:#CCE8CF 其中bg_color一般为文件浏览等中的背景,一般为非文本的背景。 base_color 这里为文本编辑区域的背景。
注:设置的时候下面的描述信息可能为A ‘\n’ separated list of “name:color” as defined by the ‘gtk-color-scheme’ setting, 这里需要主要需要使用英文的”;”而不是”\n”