Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

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!

like image 954
andi_s Avatar asked Mar 16 '11 14:03

andi_s


People also ask

How to change background color of Eclipse?

To change the color theme in your editor: Go to Window | Preferences | General | Appearance | Color Theme. The list of available Eclipse color themes is displayed.

How do I change colors in Java Eclipse?

Eclipse Color Theme makes it possible to switch color themes conveniently and without side effects. After the installation, go to Window→Preferences→General→Appereance->Color Theme to change the color theme.


2 Answers

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):

enter image description here

And redefine the tooltip background color:

enter image description here

Then enjoy the readable popups:

enter image description here

like image 79
Gábor Lipták Avatar answered Oct 04 '22 08:10

Gábor Lipták


Install gnome-color-chooser and customize the tooltip color as described here:

http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/

like image 31
frankadelic Avatar answered Oct 04 '22 07:10

frankadelic