红联Linux门户
Linux帮助

修正ubuntu下的Eclipse提示框颜色

发布时间:2015-03-20 16:17:43来源:linux网站作者:linux人

Eclipse提示框颜色正常的是黄底黑色字体,在Ubuntu下无法自定系统配色,所以Eclipse提示框是黑底的,很影响使用啊。


在Ubuntu下修正这个问题:
/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
You require root privileges to edit the files. Use sudo gedit to edit them.

Search for tooltip in these files and you'll find the color definitions for the foreground and the background. I use #000000 as foreground and #f5f5b5 as 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.