在Linux上的首选项中,在快速修复或Eclipse链接中更改Eclipse链接的颜色 [英] Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

查看:179
本文介绍了在Linux上的首选项中,在快速修复或Eclipse链接中更改Eclipse链接的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用一个黑暗的主题,然后链接在Eclipse-快速修复或在Eclipse->首选项 - >通用 - >编辑器(三个看到...文件关联|内容类型外观 - 链接)不可读。





我发现了一个Windows / XP解决方案:


悬停使用与系统上相同的颜色。在Windows上,
可以通过显示设置>外观>高级:工具提示进行更改。
链接颜色是您的浏览器中使用的(Windows上的IE)。


但是,我需要一个Linux解决方案(XFCE 4.8.1 / GTK)



我检查/测试了Eclipse的所有设置,我发现这个链接颜色没有设置。它似乎是一个系统设置(GTK),所以我已经尝试添加到gtkrc:

  styledefault {
GtkWidget :: link-color =#ffffff
}

classGtkWidgetstyledefault
pre>

但这没有改变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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆