在Linux中的偏好设置中快速修复或Eclipse链接中的Eclipse链接颜色的变化 [英] Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux
问题描述
如果我使用一个黑色的主题,然后链接在Eclipse-快速修复或即Eclipse->首选项 - >通用 - >编辑器(三个看...文件关联|内容类型|外观' - 链接)不可读。
在此图片我正在谈论的链接是青色的灰色:
我找到了一个Windows / XP的解决方案:
悬停使用与系统相同的颜色。在Windows上,
可以通过显示设置>外观>高级:工具提示更改。
链接颜色是您浏览器中使用的颜色(Windows上的IE)。
但是,我需要一个解决方案的Linux(XFCE 4.8.1 / GTK)
我检查/测试了Eclipse的所有设置,我发现这个链接颜色没有设置。它似乎是一个系统设置(GTK),所以我已经尝试添加到gtkrc:
styledefault {
pre>
GtkWidget :: link-color =#ffffff
}
classGtkWidgetstyledefault
但这并没有改变Eclipse中的链接颜色。
希望你能帮助 - 谢谢!
解决方案
GNOME
http://devblog.virtage.com/ 2013/06 / eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks /
KDE
使用颜色菜单(图片中的第一个条目):
并重新定义工具提示背景颜色:
然后享受可读的弹出窗口:
if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you can change that via Display settings > Appearance > Advanced: ToolTip. The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" { GtkWidget::link-color = "#ffffff" } class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
解决方案GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
这篇关于在Linux中的偏好设置中快速修复或Eclipse链接中的Eclipse链接颜色的变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!