Ubuntu 12.04 如何修改背景色

来源:互联网 发布:天谕豪男捏脸数据 编辑:程序博客网 时间:2024/06/18 15:11


之前使用10.10的时候,设置背景颜色为养眼的绿豆色很容易,最近升级了12.04,发现系统没有提供可视化的修改工具啊,于是开始Google搜索,在Ubuntu论坛网站上找到了解决方法。
首先安装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”

原创粉丝点击