Ubuntu Unity Tooltip-Colors vs. Eclipse

There are a few default color settings in the latest Ubuntu distro (Oneiric, 11.10, Unity desktop) which make using Eclipse really painful.

But, good news, it’s easy to change those colors. Install gnome-color-chooser and search for the colors to change as I did.

Or just create two files in your home directory:

File 1: .gtkrc-2.0

include ".gtkrc-2.0-gnome-color-chooser"

File 2: .gtkrc-2.0-gnome-color-chooser

style "gnome-color-chooser-default"
{
  base[ACTIVE] = "#CECECE"
  text[SELECTED] = "#4C4C4C"
}
class "GtkWidget" style "gnome-color-chooser-default"

style "gnome-color-chooser-tooltips"
{
  bg[NORMAL] = "#FFFFAF"
  fg[NORMAL] = "#4C4C4C"
}
widget "gtk-tooltip*" style "gnome-color-chooser-tooltips"

As yo can see, the first file only includes the second, but this is the way gnome-color-chooser creates the files.