Ubuntu12.04 Eclipse 提示框背景色修改

I had to edit these files:

/usr/share/themes/Ambiance/gtk-3.0/settings.ini
/usr/share/themes/Ambiance/gtk-3.0/gtk.css
/usr/share/themes/Ambiance/gtk-2.0/gtkrc

(Addition: for Ubuntu 12.04, it seems youjust have to modify the file: /usr/share/themes/Ambiance/gtk-2.0/gtkrc , replacing the tooltip backround and foreground color, with the #000000 and the #f5f5b5 color, respectively)

You require root privileges to edit the files. Usegksudo geditto edit them.

Search fortooltipin these files and you'll find the color definitions for the foreground and the background. I use#000000as foreground and#f5f5b5as background and now the tooltips in all applications are again readable. After changing the color values simply switch to some other theme and then back to Ambiance and the tooltip color is now fixed.

vi /usr/share/themes/Ambiance/gtk-2.0/gtkrc

tooltip_fg_color: #000000

tooltip_bg_color: #f5feb5 或 #f2edbc


Here is the result:




参考推荐:

How to change tooltip background color in Unity?

ubuntu eclipse 更改提示框背景和字体颜色

eclipse在ubuntu(12.04)中的提示面板颜色的修改


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值