Ubuntu12.04如何修改窗口背景色为眼睛保护色来保护眼睛,强力推荐!!

设置Eclipse的背景颜色,进入Windows-->Preferences-->General-->Editors-->Text Editors-->Background color,将system default的选项框的勾选去掉,然后点击Colors图标,开始进行颜色设置。



设置好后在文本编辑框的颜色设置好了,但是其他的区域还是白色的,不和谐。然后修改背景色

Ubuntu 12.04 如何修改背景色
之前使用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”


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值