ubuntu下eclipse提示框颜色问题
来源:互联网 发布:唐朝乐队 知乎 编辑:程序博客网 时间:2024/04/28 14:00
ubuntu下的eclipse的提示框可能会是黑色背景,而字体很难辨认,严重影响阅读:
在一个国外网站中找到了解决问题的办法:
http://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity
他的问题是:
In a lot of applications the tooltips are just plain ugly (White text on black background, way too much contrast) or even unreadable (black or dark blue text (Hyperlinks) on black background). I want to change the background color of the tooltips to some medium gray or even some yellow or something like that, maybe even something semi-transparent.
Here is a screenshot of Eclipse which displays some source code in a tool tip with black text on black background:
Switching to a different theme (Something other than Ambiance or Radiance) helps but I like Ambiance and I want to keep it. It's just this darn tooltip color which is absolutely unacceptable.
I found several solutions for older Ubuntu versions but they no longer work with Unity in Ubuntu 11.10 because I can't find any function to customize the Ambiance or Radiance theme. So how do I do that in the current Ubuntu version?
这个问题可以通过修改系统的主题解决,但是如果不想修改主题怎么办呢?解决方法如下:
Found it!
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
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.
- ubuntu下eclipse提示框颜色问题
- Ubuntu Eclipse 提示颜色
- ubuntu 下 更改eclipse的提示背景颜色
- ubuntu 下 更改eclipse的提示背景颜色
- ubuntu 下 更改eclipse的提示背景颜色
- ubuntu 下 更改eclipse的提示背景颜色
- ubuntu下更改eclipse提示框的背景颜色(原来为黑色)
- Ubuntu下eclipse中修改悬浮提示框预览窗口中的背景颜色
- eclipse 提示框颜色
- ubuntu中eclipse 悬浮代码提示框背景颜色配置
- ubuntu eclipse 更改提示框背景和字体颜色
- ubuntu eclipse 更改提示框背景和字体颜色
- ubuntu11.10下eclipse自动帮助提示框颜色修改
- ubuntu11.10下eclipse自动帮助提示框颜色修改
- [转]Ubuntu12.04下修改主题系统颜色并修复eclipse提示框背景为黑色的问题
- ubuntu下eclipse提示框背景色更改
- ubuntu下eclipse提示框黑色背景修改
- Ubuntu——修正LibreOffice中文乱码以及eclipse提示框颜色
- dual表
- shutdown abort 的影响
- Oracle 用户管理
- 学习笔记——JSON
- 不同用户下数据棒的导入问题
- ubuntu下eclipse提示框颜色问题
- Linux内核设计与实现——7 中断与中断处理(1)
- AG阅读总结10.1.1——表空间管理*
- Linux内核设计与实现——7 中断与中断处理(2)
- AG阅读总结10.1.2——表空间诊断
- CF的内存管理。
- HTML5新特性(1)<video> 标签
- Linux内核设计与实现——7 中断与中断处理(3)
- Linux内核设计与实现——7 中断与中断处理(4)